<features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0" name="opennms-sampler-1.13.5-PJSM-SNAPSHOT">    
    <!-- OpenNMS features -->
    <repository>mvn:org.opennms.karaf/opennms/1.13.5-PJSM-SNAPSHOT/xml/features</repository>

    <!-- Apache Camel features -->
    <repository>mvn:org.apache.camel.karaf/apache-camel/2.13.2/xml/features</repository>
    
    <!-- Apache ActiveMQ features -->
    <repository>mvn:org.apache.activemq/activemq-karaf/5.9.0/xml/features</repository>

    <!-- Newts features -->
    <repository>mvn:org.opennms.newts/karaf/1.0.0-SNAPSHOT/xml/features</repository>

    <!-- minion features -->
    <repository>mvn:org.opennms.netmgt.sample/karaf/1.13.5-PJSM-SNAPSHOT/xml/minion</repository>

    <!-- CXF features -->
    <!--<repository>mvn:org.apache.cxf.karaf/apache-cxf/2.7.7/xml/features</repository>-->

    <!-- Sampler features -->

    <!-- API feature -->
    <feature name="sample-api" description="Sample Collection and Storage :: API" version="1.13.5-PJSM-SNAPSHOT">
      <feature version="[1.9.0,2.0)">commons-codec</feature>
      <feature>camel-core</feature>
      <feature>opennms-core</feature>
      <feature>opennms-config-jaxb</feature>
      <bundle dependency="true">mvn:commons-codec/commons-codec/1.9</bundle>
      <bundle>mvn:org.opennms.netmgt.sample/sample-api/1.13.5-PJSM-SNAPSHOT</bundle>
    </feature>

    <!-- Config features -->
    <feature name="sampler-config" description="Sample Collection and Storage :: Configuration" version="1.13.5-PJSM-SNAPSHOT">
      <feature>camel-blueprint</feature>
      <feature>camel-http</feature>
      <feature>camel-jaxb</feature>
      <feature>sample-api</feature>
      <bundle>mvn:org.opennms.core/org.opennms.core.camel/1.13.5-PJSM-SNAPSHOT</bundle>
      <bundle>mvn:org.opennms.netmgt.sample/sampler-config/1.13.5-PJSM-SNAPSHOT</bundle>
    </feature>

    <feature name="sampler-config-snmp" description="Sample Collection and Storage :: SNMP Configuration" version="1.13.5-PJSM-SNAPSHOT">
      <feature version="[1.9.0,2.0)">commons-codec</feature>
      <feature>camel-blueprint</feature>
      <feature>camel-jaxb</feature>
      <feature>camel-http</feature>
      <feature>opennms-snmp</feature>
      <feature>sample-api</feature>
      <bundle dependency="true">mvn:commons-codec/commons-codec/1.9</bundle>
      <bundle>mvn:org.opennms.core/org.opennms.core.camel/1.13.5-PJSM-SNAPSHOT</bundle>
      <bundle>mvn:org.opennms.netmgt.sample/sampler-config-snmp/1.13.5-PJSM-SNAPSHOT</bundle>
    </feature>

    <!-- Scheduler -->
    <feature name="sampler-scheduler" description="Sample Collection and Storage :: Scheduler" version="1.13.5-PJSM-SNAPSHOT">
      <feature>camel-blueprint</feature>
      <feature>sample-api</feature>
      <bundle>mvn:org.opennms.netmgt.sample/sampler-scheduler/1.13.5-PJSM-SNAPSHOT</bundle>
    </feature>

    <!-- Sampler -->
    <feature name="sampler-snmp" description="Sample Collection and Storage :: SNMP Collector" version="1.13.5-PJSM-SNAPSHOT">
      <feature>camel-blueprint</feature>
      <feature>opennms-snmp</feature>
      <feature>sample-api</feature>
      <feature>sampler-config-snmp</feature>
      <bundle>mvn:org.opennms.netmgt.sample/sampler-snmp/1.13.5-PJSM-SNAPSHOT</bundle>
    </feature>

    <feature name="sample-graphs" description="Sample Collection and Storage :: Graphing" version="1.13.5-PJSM-SNAPSHOT">
      <feature>sample-api</feature>
      <feature>sample-config-snmp</feature>
      <feature>http-whiteboard</feature>
      <feature>cxf-jaxrs</feature>
      <bundle>mvn:org.opennms.netmgt.sample/sample-graphs/1.13.5-PJSM-SNAPSHOT</bundle>
    </feature>

    <feature name="sample-storage-rrd" description="Sample Collection and Storage :: RRD" version="1.13.5-PJSM-SNAPSHOT">
      <feature>sample-api</feature>
      <feature>opennms-collection-api</feature>
      <feature>opennms-collection-persistence-rrd</feature>
      <feature>opennms-rrd-api</feature>
      <feature>opennms-rrd-jrobin</feature>

      <bundle>mvn:org.opennms.features.collection/org.opennms.features.collection.sampler/1.13.5-PJSM-SNAPSHOT</bundle>
      <bundle>mvn:org.opennms.netmgt.sample/sample-storage-rrd/1.13.5-PJSM-SNAPSHOT</bundle>
    </feature>

    <feature name="sample-storage-newts" description="Sample Collection and Storage :: Newts" version="1.13.5-PJSM-SNAPSHOT">
      <feature>sample-api</feature>
      <feature>newts-api</feature>

      <bundle>mvn:org.opennms.netmgt.sample/sample-storage-newts/1.13.5-PJSM-SNAPSHOT</bundle>
    </feature>

    <!-- File sample storage -->
    <feature name="sample-storage-file" description="Sample Collection and Storage :: File Storage" version="1.13.5-PJSM-SNAPSHOT">
      <configfile override="true" finalname="/etc/blueprint-file-storage.xml">mvn:org.opennms.netmgt.sample/sampler-routes/1.13.5-PJSM-SNAPSHOT/xml/blueprint-file-storage</configfile>
      <feature>sample-api</feature>
      <bundle>blueprint:file:etc/blueprint-file-storage.xml</bundle>
    </feature>

    <!-- XML sample storage -->
    <feature name="sample-storage-xml" description="Sample Collection and Storage :: XML Storage" version="1.13.5-PJSM-SNAPSHOT">
      <configfile override="true" finalname="/etc/blueprint-xml-storage.xml">mvn:org.opennms.netmgt.sample/sampler-routes/1.13.5-PJSM-SNAPSHOT/xml/blueprint-xml-storage</configfile>
      <feature>sample-api</feature>
      <bundle>blueprint:file:etc/blueprint-xml-storage.xml</bundle>
    </feature>

    <!-- ActiveMQ sample dispatcher -->
    <feature name="sample-dispatch-activemq-config" description="Sample Collection and Storage :: ActiveMQ Dispatcher Config" version="1.13.5-PJSM-SNAPSHOT">
      <configfile override="true" finalname="/etc/activemq-dispatch.xml">mvn:org.opennms.netmgt.sample/sampler-routes/1.13.5-PJSM-SNAPSHOT/xml/activemq-dispatch</configfile>
    </feature>

    <feature name="sample-dispatch-activemq" description="Sample Collection and Storage :: ActiveMQ Dispatcher" version="1.13.5-PJSM-SNAPSHOT">
      <configfile override="true" finalname="/etc/blueprint-activemq-dispatch.xml">mvn:org.opennms.netmgt.sample/sampler-routes/1.13.5-PJSM-SNAPSHOT/xml/blueprint-activemq-dispatch</configfile>
      <feature version="[1.9.0,2.0)">commons-codec</feature>
      <feature>sample-api</feature>
      <feature>sample-dispatch-activemq-config</feature>
      <feature>camel-jaxb</feature>
      <feature>activemq-camel</feature>
      <bundle>blueprint:file:etc/blueprint-activemq-dispatch.xml</bundle>
    </feature>

    <!-- ActiveMQ sample receiver -->
    <feature name="sample-receiver-activemq-config" description="Sample Collection and Storage :: ActiveMQ Receiver Config" version="1.13.5-PJSM-SNAPSHOT">
      <configfile override="true" finalname="/etc/activemq-receiver.xml">mvn:org.opennms.netmgt.sample/sampler-routes/1.13.5-PJSM-SNAPSHOT/xml/activemq-receiver</configfile>
    </feature>

    <feature name="sample-receiver-activemq" description="Sample Collection and Storage :: ActiveMQ Receiver" version="1.13.5-PJSM-SNAPSHOT">
      <configfile override="true" finalname="/etc/blueprint-activemq-receiver.xml">mvn:org.opennms.netmgt.sample/sampler-routes/1.13.5-PJSM-SNAPSHOT/xml/blueprint-activemq-receiver</configfile>
      <feature version="[1.9.0,2.0)">commons-codec</feature>
      <feature>sample-api</feature>
      <feature>sample-receiver-activemq-config</feature>
      <feature>camel-jaxb</feature>
      <feature>activemq-camel</feature>
      <bundle>blueprint:file:etc/blueprint-activemq-receiver.xml</bundle>
    </feature>

    <!-- Integration features -->

    <feature name="sampler-with-file-storage" description="Sample Collection and Storage :: Integration :: Sampler with file storage" version="1.13.5-PJSM-SNAPSHOT">
      <feature>camel-blueprint</feature>
      <!-- Pull in the collection configurations -->
      <feature>sampler-config</feature>
      <!-- Provide a scheduler to execute the sampler tasks -->
      <feature>sampler-scheduler</feature>
      <!-- Provide an SNMP sampler implementation -->
      <feature>sampler-snmp</feature>
      <!-- TODO Provide a JMX sampler implementation -->
      <!-- <feature>sampler-jmx</feature> -->
      <!-- Store samples in a file -->
      <feature>sample-storage-file</feature>
    </feature>

    <feature name="sampler-with-xml-storage" description="Sample Collection and Storage :: Integration :: Sampler with XML storage" version="1.13.5-PJSM-SNAPSHOT">
      <feature>camel-blueprint</feature>
      <!-- Pull in the collection configurations -->
      <feature>sampler-config</feature>
      <!-- Provide a scheduler to execute the sampler tasks -->
      <feature>sampler-scheduler</feature>
      <!-- Provide an SNMP sampler implementation -->
      <feature>sampler-snmp</feature>
      <!-- TODO Provide a JMX sampler implementation -->
      <!-- <feature>sampler-jmx</feature> -->
      <!-- Store samples in an XML file -->
      <feature>sample-storage-xml</feature>
    </feature>

    <feature name="sampler-with-rrd-storage" description="Sample Collection and Storage :: Integration :: Sampler with RRD storage" version="1.13.5-PJSM-SNAPSHOT">
      <feature>camel-blueprint</feature>
      <!-- Pull in the collection configurations -->
      <feature>sampler-config</feature>
      <!-- Provide a scheduler to execute the sampler tasks -->
      <feature>sampler-scheduler</feature>
      <!-- Provide an SNMP sampler implementation -->
      <feature>sampler-snmp</feature>
      <!-- TODO Provide a JMX sampler implementation -->
      <!-- <feature>sampler-jmx</feature> -->
      <!-- Store samples in RRD files -->
      <feature>sample-storage-rrd</feature>
    </feature>

    <feature name="sampler-with-activemq-export" description="Sample Collection and Storage :: Integration :: Sampler with ActiveMQ export" version="1.13.5-PJSM-SNAPSHOT">
      <feature>camel-blueprint</feature>
      <!-- Pull in the collection configurations -->
      <feature>sampler-config</feature>
      <!-- Provide a scheduler to execute the sampler tasks -->
      <feature>sampler-scheduler</feature>
      <!-- Provide an SNMP sampler implementation -->
      <feature>sampler-snmp</feature>
      <!-- TODO Provide a JMX sampler implementation -->
      <!-- <feature>sampler-jmx</feature> -->
      <!-- Export samples over ActiveMQ -->
      <feature>sample-dispatch-activemq</feature>
    </feature>

</features>
