<?xml version="1.0" encoding="UTF-8"?>
<!-- vi: set et smarttab sw=4 tabstop=4: -->
<!-- Copyright (c) 2014-2015 Hewlett-Packard Development Company, L.P. and others.
	All rights reserved. This program and the accompanying materials are made
	available under the terms of the Eclipse Public License v1.0 which accompanies
	this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html -->
<features name="odl-aaa-0.2.0-Lithium" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
    <repository>mvn:org.opendaylight.controller/features-netconf/0.3.0-Lithium/xml/features</repository>
    <repository>mvn:org.opendaylight.aaa/features-aaa-api/0.2.0-Lithium/xml/features</repository>
    <repository>mvn:org.opendaylight.yangtools/features-yangtools/0.7.0-Lithium/xml/features</repository>
    <repository>mvn:org.opendaylight.controller/features-config/0.3.0-Lithium/xml/features</repository>
    <repository>mvn:org.opendaylight.controller/features-mdsal/1.2.0-Lithium/xml/features</repository>

    <feature name='odl-aaa-authn-no-cluster' description='OpenDaylight :: AAA :: Authentication - NO CLUSTER'
             version='0.2.0-Lithium'>
        <feature version='0.2.0-Lithium'>odl-aaa-api</feature>

        <!-- REST -->
        <feature>war</feature>
        <bundle>mvn:com.sun.jersey/jersey-servlet/1.17</bundle>
        <bundle>mvn:com.sun.jersey/jersey-core/1.17</bundle>
        <bundle>mvn:com.sun.jersey/jersey-server/1.17</bundle>

        <!-- OSGi -->
        <bundle>mvn:org.apache.felix/org.apache.felix.dependencymanager/3.1.0</bundle>
        <bundle>mvn:org.apache.felix/org.apache.felix.metatype/1.0.10</bundle>

        <!-- EhCache -->
        <bundle>mvn:net.sf.ehcache/ehcache/2.8.3</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>

        <!-- OAuth -->
        <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.common/1.0.0</bundle>
        <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.authzserver/1.0.0</bundle>
        <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.resourceserver/1.0.0</bundle>
        <bundle>mvn:commons-codec/commons-codec/1.8</bundle>
        <bundle>wrap:mvn:org.json/json/20131018</bundle>

        <!-- AuthN -->
        <bundle>mvn:org.opendaylight.aaa/aaa-authn/0.2.0-Lithium</bundle>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-sts/0.2.0-Lithium</bundle>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-store/0.2.0-Lithium</bundle>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-basic/0.2.0-Lithium</bundle>
        <bundle>mvn:com.google.guava/guava/18.0</bundle>


        <!-- IDMLight -->
        <bundle>mvn:org.opendaylight.aaa/aaa-idmlight/0.2.0-Lithium</bundle>
        <bundle>mvn:com.fasterxml.jackson.core/jackson-core/2.3.2</bundle>
        <bundle>mvn:com.fasterxml.jackson.core/jackson-annotations/2.3.2</bundle>
        <bundle>mvn:com.fasterxml.jackson.core/jackson-databind/2.3.2</bundle>
        <bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-json-org/2.3.2</bundle>
        <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/2.3.2</bundle>
        <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/2.3.2</bundle>
        <bundle>mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/2.3.2</bundle>

        <!--	<bundle>wrap:mvn:org.xerial/sqlite-jdbc/${sqlite.jdbc.version}</bundle> -->
        <bundle>wrap:mvn:com.h2database/h2/1.4.185</bundle>

        <!-- Federation -->
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-federation/0.2.0-Lithium</bundle>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-idpmapping/0.2.0-Lithium</bundle>
        <bundle>mvn:org.glassfish/javax.json/1.0.4</bundle>

        <configfile finalname="/etc/org.opendaylight.aaa.authn.cfg">mvn:org.opendaylight.aaa/aaa-authn/0.2.0-Lithium/cfg/config</configfile>
        <configfile finalname="/etc/org.opendaylight.aaa.tokens.cfg">mvn:org.opendaylight.aaa/aaa-authn-store/0.2.0-Lithium/cfg/config</configfile>
        <configfile finalname="/etc/org.opendaylight.aaa.federation.cfg">mvn:org.opendaylight.aaa/aaa-authn-federation/0.2.0-Lithium/cfg/config</configfile>
    </feature>

    <feature name='odl-aaa-authn' description='OpenDaylight :: AAA :: Authentication :: MD-SAL'
             version='0.2.0-Lithium'>
        <!-- REST -->
        <feature>war</feature>
        <bundle>mvn:com.sun.jersey/jersey-servlet/1.17</bundle>
        <bundle>mvn:com.sun.jersey/jersey-core/1.17</bundle>
        <bundle>mvn:com.sun.jersey/jersey-server/1.17</bundle>

        <!-- OSGi -->
        <bundle>mvn:org.apache.felix/org.apache.felix.dependencymanager/3.1.0</bundle>
        <bundle>mvn:org.apache.felix/org.apache.felix.metatype/1.0.10</bundle>

        <!-- OAuth -->
        <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.common/1.0.0</bundle>
        <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.authzserver/1.0.0</bundle>
        <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.resourceserver/1.0.0</bundle>
        <bundle>mvn:commons-codec/commons-codec/1.8</bundle>
        <bundle>wrap:mvn:org.json/json/20131018</bundle>

        <!-- AuthN -->
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-api/0.2.0-Lithium</bundle>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn/0.2.0-Lithium</bundle>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-sts/0.2.0-Lithium</bundle>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-mdsal-api/0.2.0-Lithium</bundle>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-mdsal-store-impl/0.2.0-Lithium</bundle>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-basic/0.2.0-Lithium</bundle>
        <bundle>mvn:com.google.guava/guava/18.0</bundle>

        <!-- IDMLight -->
        <bundle>mvn:org.opendaylight.aaa/aaa-idmlight/0.2.0-Lithium</bundle>
        <bundle>mvn:com.fasterxml.jackson.core/jackson-core/2.3.2</bundle>
        <bundle>mvn:com.fasterxml.jackson.core/jackson-annotations/2.3.2</bundle>
        <bundle>mvn:com.fasterxml.jackson.core/jackson-databind/2.3.2</bundle>
        <bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-json-org/2.3.2</bundle>
        <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/2.3.2</bundle>
        <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/2.3.2</bundle>
        <bundle>mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/2.3.2</bundle>
        <bundle>wrap:mvn:com.h2database/h2/1.4.185</bundle>

        <!-- Federation -->
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-federation/0.2.0-Lithium</bundle>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-idpmapping/0.2.0-Lithium</bundle>
        <bundle>mvn:org.glassfish/javax.json/1.0.4</bundle>

        <!-- MD-SAL -->
        <feature version='0.7.0-Lithium'>odl-yangtools-common</feature>
        <feature version='0.7.0-Lithium'>odl-yangtools-binding</feature>
        <feature version='1.2.0-Lithium'>odl-mdsal-broker</feature>
        <feature version='0.3.0-Lithium'>odl-config-core</feature>

        <configfile finalname="etc/opendaylight/karaf/08-authn-config.xml">mvn:org.opendaylight.aaa/aaa-authn-mdsal-config/0.2.0-Lithium/xml/config</configfile>
        <configfile finalname="/etc/org.opendaylight.aaa.authn.cfg">mvn:org.opendaylight.aaa/aaa-authn/0.2.0-Lithium/cfg/config</configfile>
        <configfile finalname="/etc/org.opendaylight.aaa.federation.cfg">mvn:org.opendaylight.aaa/aaa-authn-federation/0.2.0-Lithium/cfg/config</configfile>

    </feature>

    <feature name='odl-aaa-keystone-plugin' description='OpenDaylight :: AAA :: Keystone Plugin - NO CLUSTER'
             version='0.2.0-Lithium'>
        <feature version='0.2.0-Lithium'>odl-aaa-authn</feature>
        <bundle>mvn:org.apache.httpcomponents/httpclient-osgi/4.4</bundle>
        <bundle>mvn:org.apache.httpcomponents/httpcore-osgi/4.4</bundle>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-keystone/0.2.0-Lithium</bundle>
    </feature>

    <feature name='odl-aaa-sssd-plugin' description='OpenDaylight :: AAA :: SSSD Federation Plugin'
             version='0.2.0-Lithium'>
        <feature version='0.2.0-Lithium'>odl-aaa-authn</feature>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-sssd/0.2.0-Lithium</bundle>
    </feature>

    <feature name='odl-aaa-authn-sssd-no-cluster' description='OpenDaylight :: AAA :: SSSD Federation - NO CLUSTER'
             version='0.2.0-Lithium'>
        <feature version='0.2.0-Lithium'>odl-aaa-authn-no-cluster</feature>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-sssd/0.2.0-Lithium</bundle>
    </feature>

    <feature name='odl-aaa-netconf-plugin' description='OpenDaylight :: AAA :: ODL NETCONF Plugin'
             version='0.2.0-Lithium'>
        <feature version='0.3.0-Lithium'>odl-netconf-api</feature>
        <feature version='0.2.0-Lithium'>odl-aaa-authn</feature>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-odl-plugin/0.2.0-Lithium</bundle>
    </feature>

    <feature name='odl-aaa-netconf-plugin-no-cluster'
             description='OpenDaylight :: AAA :: ODL NETCONF Plugin - NO CLUSTER'
             version='0.2.0-Lithium'>
        <feature version='0.3.0-Lithium'>odl-netconf-api</feature>
        <feature version='0.2.0-Lithium'>odl-aaa-authn-no-cluster</feature>
        <bundle>mvn:org.opendaylight.aaa/aaa-authn-odl-plugin/0.2.0-Lithium</bundle>
    </feature>

</features>
