<!--
/**
 * Copyright (c) Codice Foundation
 *
 * This is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either
 * version 3 of the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public License is distributed along with this program and can be found at
 * <http://www.gnu.org/licenses/lgpl.html>.
 *
 **/
 -->
<features xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          name="apps-2.30.1"
          xmlns="http://karaf.apache.org/xmlns/features/v1.3.0"
          xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 http://karaf.apache.org/xmlns/features/v1.3.0">

    <repository>mvn:ddf.features/kernel/2.30.1/xml/features</repository>
    <repository>mvn:ddf.features/branding/2.30.1/xml/features</repository>
    <repository>mvn:ddf.features/camel-karaf/2.30.1/xml/features</repository>
    <repository>mvn:org.apache.cxf.karaf/apache-cxf/3.6.10/xml/features</repository>
    <repository>mvn:ddf.features/security/2.30.1/xml/features</repository>
    <repository>mvn:ddf.features/solr/2.30.1/xml/features</repository>
    <repository>mvn:ddf.features/utilities/2.30.1/xml/features</repository>
    <repository>mvn:ddf.catalog.solr/catalog-solr-app/2.30.1/xml/features</repository>

    <feature name="ddf-core" version="2.30.1"
             description="Features that will be started on container startup.">
        <feature>kernel</feature>
        <feature>cxf</feature>
        <feature>camel</feature>
        <feature>camel-cxf</feature>
        <feature>security-core-api</feature>
        <feature>war</feature>
        <feature>ddf-branding</feature>
    </feature>

    <feature name="platform-core" version="2.30.1"
             description="Installs the platform boot features which all other applications depend upon.\nPlatform Core features installed by default include Actions, MIME, Security Logger, Error Pages, and UUID generator.">
        <feature>action-core-api</feature>
        <feature>action-core-impl</feature>
        <feature>metrics-core</feature>
        <feature>mime-core</feature>
        <feature>mime-tika-resolver</feature>
        <feature>error-api</feature>
        <feature>error-impl</feature>
        <feature>util-uuidgenerator</feature>
        <feature>solr-core</feature>
    </feature>

    <feature name="branding-app" version="2.30.1">
        <feature>ddf-branding</feature>
        <feature>branding-registry</feature>
    </feature>

    <!-- Start of app features -->

    <repository>mvn:ddf.features/admin/2.30.1/xml/features</repository>
    <repository>mvn:ddf.catalog/catalog-app/2.30.1/xml/features</repository>
    <repository>mvn:ddf.ui/search-ui-app/2.30.1/xml/features</repository>
    <repository>mvn:org.codice.ddf.spatial/spatial-app/2.30.1/xml/features</repository>

    <feature name="ddf-boot-features" version="2.30.1"
             description="Features that will be started on container startup.">
        <feature>ddf-core</feature>
        <feature>security-core-services</feature>
        <feature>oidc-auth</feature>
        <feature>saml-auth</feature>
        <feature>platform-app</feature>
        <feature>admin-app</feature>
    </feature>

    <feature name="platform-app" version="2.30.1"
             description="Installs the platform boot features which all other applications depend upon.\nPlatform features installed by default include Apache CXF, Apache Camel, Action Framework, MIME Framework, Metrics">
        <feature>security-core-services</feature>
        <feature>platform-core</feature>
        <feature>platform-api</feature>
        <feature>platform-solr-app</feature>
        <feature>tika</feature>
        <feature>platform-util</feature>
        <feature>platform-logging</feature>
        <feature>platform-scheduler</feature>
        <feature>platform-commands</feature>
        <feature>platform-configuration</feature>
        <feature>persistence-core</feature>
        <feature>io</feature>
        <feature>parser-xml</feature>
        <feature>landing-page</feature>
        <feature>platform-alerts</feature>
        <feature>resource-bundle-locator</feature>
    </feature>

    <feature name="admin-app" version="2.30.1"
             description="Administration application for installation and management.\nIncludes the Admin UI and the underlying application service that supports the user interface.\nThe Admin UI provides modules allowing the administrator to install/remove applications and their dependencies and to access configuration pages to customize and tailor system services and properties.\nThe application service provides the supporting operations allowing the Admin UI to add, remove, start, stop, and obtain status information about all applications on the system.">
        <feature>admin-core</feature>
        <feature>admin-ui</feature>
        <feature>admin-configurator</feature>
        <feature>admin-config-updater</feature>
        <feature>admin-core-logviewer</feature>
    </feature>

</features>