Fix Karaf dependencies and add tests
[lispflowmapping.git] / features / src / main / resources / features.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <features name="odl-lispflowmapping-${lispflowmapping.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
11           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12           xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
13
14     <repository>mvn:org.opendaylight.controller/features-mdsal/${mdsal.version}/xml/features</repository>
15     <repository>mvn:org.opendaylight.controller/features-adsal/${sal.version}/xml/features</repository>
16
17     <feature name="odl-lispflowmapping-all" description="OpenDaylight :: LISP Flow Mapping :: All" version='${lispflowmapping.version}'>
18         <feature version="${lispflowmapping.version}">odl-lispflowmapping-mappingservice</feature>
19         <feature version="${lispflowmapping.version}">odl-lispflowmapping-southbound</feature>
20         <!--
21             TODO : Enable the northbound feature once AD-SAL NSF & northbound feature works in Controller project.
22         <feature version="${lispflowmapping.northbound.version}">odl-lispflowmapping-northbound</feature>
23         -->
24     </feature>
25
26     <feature name="odl-lispflowmapping-mappingservice" description="OpenDaylight :: LISP Flow Mapping :: Mapping Service" version='${lispflowmapping.version}'>
27         <feature version="${mdsal.version}">odl-mdsal-broker</feature>
28         <feature version="${sal.version}">odl-adsal-core</feature>
29         <feature version="${clustering.services.version}">odl-adsal-clustering</feature>
30         <bundle>mvn:com.google.guava/guava/${guava.version}</bundle>
31         <bundle>mvn:org.opendaylight.lispflowmapping/mappingservice.yangmodel/${lispflowmapping.version}</bundle>
32         <bundle>mvn:org.opendaylight.lispflowmapping/mappingservice.api/${lispflowmapping.version}</bundle>
33         <bundle>mvn:org.opendaylight.lispflowmapping/mappingservice.implementation/${lispflowmapping.version}</bundle>
34         <bundle>mvn:org.opendaylight.lispflowmapping/mappingservice.clusterdao/${lispflowmapping.version}</bundle>
35     </feature>
36
37     <feature name="odl-lispflowmapping-southbound" description="OpenDaylight :: LISP Flow Mapping :: Southbound Plugin" version='${lispflowmapping.version}'>
38         <feature version="${lispflowmapping.version}">odl-lispflowmapping-mappingservice</feature>
39         <bundle>mvn:org.opendaylight.lispflowmapping/mappingservice.southbound/${lispflowmapping.version}</bundle>
40     </feature>
41 <!--
42     ADSAL Northbound and NSFs are not broken into Karaf Features yet.
43     Also, the ADSAL Northbound is not modular enough to easily isolate it into bit-sized feature.
44     It has a chain of AD-SAL NSF dependencies and hence the Controller project has not completed the AD-SAL karaf version.
45
46     TODO : Enable the northbound feature once AD-SAL northbound feature is working in Controller project.
47
48     <feature name="odl-lispflowmapping-northbound" description="OpenDaylight :: LISP Flow Mapping :: Northbound" version='${lispflowmapping.version}'>
49         <feature version="${lispflowmapping.version}">odl-lispflowmapping-mappingservice</feature>
50         <bundle>mvn:org.opendaylight.lispflowmapping/mappingservice.northbound/${lispflowmapping.version}</bundle>
51     </feature>
52
53 -->
54 </features>