<!--
/**
 * 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>.
 *
 **/
 -->

<!--
     NOTE: This features XML file uses the Karaf "install" attribute to specify whether a feature
     is automatically installed when an app's KAR file is hot deployed.
     
     Description of the install attribute from the Karaf features XSD:
     
     "Installation mode. Can be either manual or auto. Specifies whether the feature should be 
     automatically installed when dropped inside the deploy folder. Note: This attribute doesn't 
     affect feature descriptors that are installed from the command line or as part of the 
     org.apache.karaf.features.cfg." 
-->
<features name="catalog-solr-app-2.29.32"
          xmlns="http://karaf.apache.org/xmlns/features/v1.3.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 http://karaf.apache.org/xmlns/features/v1.3.0">

    <feature name="catalog-solr-cache" version="2.29.32"
             description="Catalog Cache to interface with Solr 9.9.0">
        <bundle>mvn:ddf.catalog.solr/catalog-solr-cache/2.29.32</bundle>
        <bundle>mvn:ddf.catalog.solr/catalog-solr-defaultmetacardtagscacheplugin/2.29.32</bundle>
    </feature>

    <feature name="catalog-solr-provider" version="2.29.32"
             description="Catalog Provider to interface with Solr 9.9.0">
        <bundle>mvn:ddf.catalog.solr/catalog-solr-provider/2.29.32</bundle>
    </feature>

    <feature name="catalog-solr-commands" version="2.29.32"
             description="Commands to interface with Solr 9.9.0">
        <bundle>mvn:ddf.catalog.solr/catalog-solr-commands/2.29.32</bundle>
    </feature>

    <feature name="catalog-solr-solrclient" version="2.29.32"
             description="Configure Solr parameters.">
        <bundle>mvn:ddf.catalog.solr/catalog-solr-solrclient/2.29.32</bundle>
    </feature>

    <feature name="catalog-solr-offline-gazetteer" version="2.29.32" description="Offline gazetteer service utilizing a geonames index stored within a unique solr core (not within the catalog)">
        <feature>solr-core</feature>
        <feature>catalog-core</feature>
        <feature>guava</feature>
        <bundle>mvn:ddf.catalog.solr/catalog-solr-offline-gazetteer/2.29.32</bundle>
    </feature>

    <feature name="catalog-solr-app" version="2.29.32"
             description="The Solr Catalog Provider (SCP) is an implementation of the CatalogProvider interface using Apache Solr 9.9.0 as a data store.\nThe SCP supports extensible metacards, fast/simple contextual searching, indexes xml attributes/CDATA sections/XML text elements, contains full XPath support, works with an embedded local Solr Server, and also works with a standalone Solr Server.">
        <feature>solr-factory-api</feature>
        <feature>solr-factory-impl</feature>
        <feature>catalog-solr-provider</feature>
        <feature>catalog-solr-solrclient</feature>
        <feature>catalog-solr-commands</feature>
    </feature>

    <feature name="catalog-solr-all" version="2.29.32"
             description="Installs all catalog solr features">
        <feature>catalog-solr-app</feature>
        <feature>catalog-solr-cache</feature>
        <feature>catalog-solr-offline-gazetteer</feature>
    </feature>

</features>