<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (C) 2014 Cohesive Integrations, LLC (info@cohesiveintegrations.com)

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

            http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<features name="cdr-app-1.2.0">

    <feature name="cdr-atom-result-xformer" install="manual" version="1.2.0"
        description="Atom Metacard and Query Response Transformer">
        <feature>cdr-ddf-registry-core</feature>
        <feature>cdr-common</feature>
        <bundle>mvn:net.di2e.ecdr.transformer/cdr-transformer-mapper/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.transformer/cdr-atom-result-xformer/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.transformer/cdr-rss-result-xformer/1.2.0</bundle>
    </feature>

    <feature name="cdr-rest-search-endpoint" install="manual" version="1.2.0" description="CDR REST Search endpoint.">
        <feature>cdr-ddf-registry-core</feature>
        <feature>cxf-rs-security-cors</feature>
        <feature>cdr-common</feature>
        <bundle>mvn:net.di2e.ecdr.transformer/cdr-transformer-mapper/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.endpoint/cdr-endpoint-mappers/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.libs/cdr-libs-result-relevance-normalizer/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.querylanguages/cdr-keyword-querylanguage/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.querylanguages/cdr-cql-querylanguage/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.federation/cdr-federation-strategies/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.security/cdr-cors-filter/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.endpoint/cdr-rest-search-endpoint/1.2.0</bundle>
    </feature>
    
    <feature name="cdr-rest-describe-endpoint" install="manual" version="1.2.0" description="CDR REST Describe endpoint.">
        <feature>cdr-ddf-registry-core</feature>
        <bundle>mvn:net.di2e.ecdr.endpoint/cdr-rest-describe-endpoint/1.2.0</bundle>
    </feature>

    <feature name="cdr-rest-source" install="manual" version="1.2.0" description="CDR REST Source">
        <feature>cdr-atom-result-xformer</feature>
        <feature>cdr-ddf-registry-core</feature>
        <feature>cxf-rs-security-sso-saml</feature>
        <feature>cdr-common</feature>
        <bundle>mvn:net.di2e.ecdr.source/cdr-rest-source/1.2.0</bundle>
    </feature>

    <feature name="cdr-rest-broker-endpoint" install="manual" version="1.2.0" description="CDR REST Search endpoint.">
        <feature>cdr-ddf-registry-core</feature>
        <feature>cxf-rs-security-cors</feature>
        <feature>cdr-common</feature>
        <bundle>mvn:net.di2e.ecdr.transformer/cdr-transformer-mapper/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.endpoint/cdr-endpoint-mappers/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.libs/cdr-libs-result-relevance-normalizer/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.querylanguages/cdr-keyword-querylanguage/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.querylanguages/cdr-cql-querylanguage/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.federation/cdr-federation-strategies/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.security/cdr-cors-filter/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.endpoint/cdr-rest-broker-endpoint/1.2.0</bundle>
    </feature>

    
    <feature name="ddf-compression" install="manual" version="1.2.0"
             description="Installs DDF compression services that can be used for CXF-based endpoints.">
        <bundle start-level="70">mvn:ddf.compression/compression-exi/2.9.1</bundle>
        <bundle start-level="70">mvn:ddf.compression/compression-gzip/2.9.1</bundle>
    </feature>

    <feature name="cdr-ddf-registry-core" install="manual" version="1.2.0" description="Core DDF registry bundles.">
        <bundle>mvn:ddf.registry.core/registry-core-api/0.1.0</bundle>
    </feature>
    
    <feature name="cdr-common" install="manual" version="1.2.0" description="CDR Common bundles.">
        <bundle>mvn:joda-time/joda-time/2.2</bundle>
        <bundle>mvn:org.joda/joda-convert/1.7</bundle>
        <bundle>mvn:net.di2e.ecdr.api/cdr-api/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.libs/cdr-libs-cache/1.2.0</bundle>
        <bundle>mvn:net.di2e.ecdr.libs/cdr-rest-search-commons/1.2.0</bundle>
    </feature>
    
    
    
    <feature name="cdr-app" install="auto" version="1.2.0"
        description="Enterprise CDR (Content Discovery and Retrieval) is used for discovering and exposing data using the CDR Search and/or Brokered Search Interfaces.::Enterprise CDR">
        <feature>catalog-app</feature>
        <feature>cdr-ddf-registry-core</feature>
        <feature>cdr-atom-result-xformer</feature>
        <feature>cdr-rest-search-endpoint</feature>
        <feature>cdr-rest-broker-endpoint</feature>
        <feature>cdr-rest-source</feature>
    </feature>

</features>
