Merge "Move the default tokenStore service to aaa-h2 bundle"
[aaa.git] / features / authn / src / main / features / features.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!-- Copyright (c) 2014-2015 Hewlett-Packard Development Company, L.P. and others.
4     All rights reserved. This program and the accompanying materials are made
5     available under the terms of the Eclipse Public License v1.0 which accompanies
6     this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html -->
7 <features name="odl-aaa-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
8           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9           xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
10     <repository>mvn:org.opendaylight.yangtools/features-yangtools/{{VERSION}}/xml/features</repository>
11     <repository>mvn:org.opendaylight.controller/features-config/{{VERSION}}/xml/features</repository>
12     <repository>mvn:org.opendaylight.mdsal/features-mdsal/{{VERSION}}/xml/features</repository>
13     <repository>mvn:org.opendaylight.controller/features-mdsal/{{VERSION}}/xml/features</repository>
14
15     <feature name='odl-aaa-api' description='OpenDaylight :: AAA :: APIs'
16         version='${project.version}'>
17         <bundle>mvn:com.sun.jersey/jersey-server/{{VERSION}}</bundle>
18         <bundle>mvn:com.sun.jersey/jersey-core/{{VERSION}}</bundle>
19         <bundle>mvn:org.opendaylight.aaa/aaa-authn-api/{{VERSION}}</bundle>
20         <feature version='${yangtools.version}'>odl-yangtools-common</feature>
21         <feature version='${mdsal.version}'>odl-mdsal-binding-base</feature>
22     </feature>
23
24     <feature name='odl-aaa-authz' description='OpenDaylight :: AAA :: Authorization'
25         version='${project.version}'>
26         <feature version='${project.version}'>odl-aaa-api</feature>
27         <feature version='${yangtools.version}'>odl-yangtools-common</feature>
28         <feature version='${mdsal.version}'>odl-mdsal-binding-base</feature>
29         <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature>
30         <feature version='${config.version}'>odl-config-core</feature>
31         <bundle>mvn:org.opendaylight.aaa/aaa-authz-model/{{VERSION}}</bundle>
32         <bundle>mvn:org.opendaylight.aaa/aaa-authz-service/{{VERSION}}</bundle>
33         <configfile
34             finalname="/etc/opendaylight/karaf/08-authz-config.xml">mvn:org.opendaylight.aaa/authz-service-config/{{VERSION}}/xml/config</configfile>
35         <configfile
36             finalname="/etc/opendaylight/karaf/09-rest-connector.xml">mvn:org.opendaylight.aaa/authz-restconf-config/{{VERSION}}/xml/config</configfile>
37     </feature>
38
39     <feature name='odl-aaa-authn' description='OpenDaylight :: AAA :: Authentication - NO CLUSTER'
40              version='${project.version}'>
41         <feature version='${project.version}'>odl-aaa-api</feature>
42
43         <!-- MD-SAL -->
44         <feature version='${yangtools.version}'>odl-yangtools-common</feature>
45         <feature version='${mdsal.version}'>odl-mdsal-binding-base</feature>
46         <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature>
47         <feature version='${config.version}'>odl-config-core</feature>
48
49         <!-- REST -->
50         <feature>war</feature>
51         <bundle>mvn:com.sun.jersey/jersey-servlet/{{VERSION}}</bundle>
52         <bundle>mvn:com.sun.jersey/jersey-core/{{VERSION}}</bundle>
53         <bundle>mvn:com.sun.jersey/jersey-server/{{VERSION}}</bundle>
54         <bundle>mvn:com.sun.jersey/jersey-client/{{VERSION}}</bundle>
55
56         <!-- OSGi -->
57         <bundle>mvn:org.apache.felix/org.apache.felix.dependencymanager/{{VERSION}}</bundle>
58         <bundle>mvn:org.apache.felix/org.apache.felix.metatype/{{VERSION}}</bundle>
59
60         <!-- EhCache -->
61         <bundle>mvn:net.sf.ehcache/ehcache/{{VERSION}}</bundle>
62
63         <!-- OAuth -->
64         <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.common/{{VERSION}}</bundle>
65         <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.authzserver/{{VERSION}}</bundle>
66         <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.resourceserver/{{VERSION}}</bundle>
67         <bundle>mvn:commons-codec/commons-codec/{{VERSION}}</bundle>
68         <bundle>wrap:mvn:org.json/json/{{VERSION}}</bundle>
69
70         <!-- commons-lang -->
71         <bundle>wrap:mvn:org.apache.commons/commons-lang3/{{VERSION}}</bundle>
72
73         <!-- AuthN -->
74         <bundle>mvn:org.opendaylight.aaa/aaa-shiro/{{VERSION}}</bundle>
75         <bundle>mvn:org.apache.shiro/shiro-core/{{VERSION}}</bundle>
76         <bundle>mvn:org.apache.shiro/shiro-web/{{VERSION}}</bundle>
77         <bundle>mvn:org.opendaylight.aaa/aaa-authn/{{VERSION}}</bundle>
78         <bundle>mvn:org.opendaylight.aaa/aaa-authn-sts/{{VERSION}}</bundle>
79         <bundle>mvn:org.opendaylight.aaa/aaa-authn-basic/{{VERSION}}</bundle>
80         <bundle>mvn:org.opendaylight.aaa/aaa-filterchain/{{VERSION}}</bundle>
81
82         <!--H2 Store -->
83         <bundle>mvn:org.osgi/org.osgi.enterprise/4.2.0</bundle>
84         <bundle>wrap:mvn:com.h2database/h2/{{VERSION}}</bundle>
85         <bundle>mvn:org.opendaylight.aaa/aaa-h2-store/{{VERSION}}</bundle>
86
87         <!-- IDMLight -->
88         <bundle>mvn:org.opendaylight.aaa/aaa-idmlight/{{VERSION}}</bundle>
89         <configfile finalname="etc/idmtool">mvn:org.opendaylight.aaa/aaa-idmlight/{{VERSION}}/py/config</configfile>
90
91         <bundle>mvn:com.fasterxml.jackson.core/jackson-core/{{VERSION}}</bundle>
92         <bundle>mvn:com.fasterxml.jackson.core/jackson-annotations/{{VERSION}}</bundle>
93         <bundle>mvn:com.fasterxml.jackson.core/jackson-databind/{{VERSION}}</bundle>
94         <bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-json-org/{{VERSION}}</bundle>
95         <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/{{VERSION}}</bundle>
96         <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/{{VERSION}}</bundle>
97         <bundle>mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/{{VERSION}}</bundle>
98
99         <!-- Federation -->
100         <bundle>mvn:org.opendaylight.aaa/aaa-authn-federation/{{VERSION}}</bundle>
101         <bundle>mvn:org.opendaylight.aaa/aaa-authn-idpmapping/{{VERSION}}</bundle>
102         <bundle>mvn:org.glassfish/javax.json/{{VERSION}}</bundle>
103
104         <configfile finalname="/etc/org.opendaylight.aaa.authn.cfg">mvn:org.opendaylight.aaa/aaa-authn/{{VERSION}}/cfg/config</configfile>
105         <configfile finalname="/etc/org.opendaylight.aaa.tokens.cfg">mvn:org.opendaylight.aaa/aaa-h2-store/{{VERSION}}/cfg/config</configfile>
106         <configfile finalname="/etc/org.opendaylight.aaa.federation.cfg">mvn:org.opendaylight.aaa/aaa-authn-federation/{{VERSION}}/cfg/config</configfile>
107         <configfile finalname="/etc/org.opendaylight.aaa.filterchain.cfg">mvn:org.opendaylight.aaa/aaa-filterchain/{{VERSION}}/cfg/config</configfile>
108     </feature>
109
110     <feature name='odl-aaa-authn-mdsal-cluster' description='OpenDaylight :: AAA :: Authentication :: MD-SAL'
111              version='${project.version}'>
112
113         <!-- MD-SAL -->
114         <feature version='${yangtools.version}'>odl-yangtools-common</feature>
115         <feature version='${mdsal.version}'>odl-mdsal-binding-base</feature>
116         <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature>
117         <feature version='${config.version}'>odl-config-core</feature>
118
119
120         <!-- OSGi -->
121         <bundle>mvn:org.apache.felix/org.apache.felix.dependencymanager/{{VERSION}}</bundle>
122         <bundle>mvn:org.apache.felix/org.apache.felix.metatype/{{VERSION}}</bundle>
123
124         <!-- OAuth -->
125         <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.common/{{VERSION}}</bundle>
126         <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.authzserver/{{VERSION}}</bundle>
127         <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.resourceserver/{{VERSION}}</bundle>
128         <bundle>mvn:commons-codec/commons-codec/1.8</bundle>
129         <bundle>wrap:mvn:org.json/json/{{VERSION}}</bundle>
130
131         <!-- AuthN -->
132         <bundle>mvn:org.opendaylight.aaa/aaa-shiro/{{VERSION}}</bundle>
133         <bundle>mvn:org.apache.shiro/shiro-core/{{VERSION}}</bundle>
134         <bundle>mvn:org.apache.shiro/shiro-web/{{VERSION}}</bundle>
135         <bundle>mvn:org.opendaylight.aaa/aaa-authn-api/{{VERSION}}</bundle>
136         <bundle>mvn:org.opendaylight.aaa/aaa-authn/{{VERSION}}</bundle>
137         <bundle>mvn:org.opendaylight.aaa/aaa-authn-sts/{{VERSION}}</bundle>
138         <bundle>mvn:org.opendaylight.aaa/aaa-authn-mdsal-api/{{VERSION}}</bundle>
139         <bundle>mvn:org.opendaylight.aaa/aaa-authn-mdsal-store-impl/{{VERSION}}</bundle>
140         <bundle>mvn:org.opendaylight.aaa/aaa-authn-basic/{{VERSION}}</bundle>
141         <bundle>mvn:org.opendaylight.aaa/aaa-filterchain/{{VERSION}}</bundle>
142         <feature version='${project.version}'>odl-aaa-encryption-service</feature>
143
144         <!-- IDMLight -->
145         <bundle>mvn:org.opendaylight.aaa/aaa-idmlight/{{VERSION}}</bundle>
146         <bundle>mvn:com.fasterxml.jackson.core/jackson-core/{{VERSION}}</bundle>
147         <bundle>mvn:com.fasterxml.jackson.core/jackson-annotations/{{VERSION}}</bundle>
148         <bundle>mvn:com.fasterxml.jackson.core/jackson-databind/{{VERSION}}</bundle>
149         <bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-json-org/{{VERSION}}</bundle>
150         <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/{{VERSION}}</bundle>
151         <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/{{VERSION}}</bundle>
152         <bundle>mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/{{VERSION}}</bundle>
153         <bundle>wrap:mvn:com.h2database/h2/{{VERSION}}</bundle>
154
155         <!-- Federation -->
156         <bundle>mvn:org.opendaylight.aaa/aaa-authn-federation/{{VERSION}}</bundle>
157         <bundle>mvn:org.opendaylight.aaa/aaa-authn-idpmapping/{{VERSION}}</bundle>
158         <bundle>mvn:org.glassfish/javax.json/1.0.4</bundle>
159
160         <!-- REST -->
161         <feature>war</feature>
162         <bundle>mvn:com.sun.jersey/jersey-servlet/{{VERSION}}</bundle>
163         <bundle>mvn:com.sun.jersey/jersey-core/{{VERSION}}</bundle>
164         <bundle>mvn:com.sun.jersey/jersey-server/{{VERSION}}</bundle>
165         <bundle>mvn:com.sun.jersey/jersey-client/{{VERSION}}</bundle>
166
167         <configfile finalname="/etc/org.opendaylight.aaa.authn.cfg">mvn:org.opendaylight.aaa/aaa-authn/{{VERSION}}/cfg/config</configfile>
168         <configfile finalname="/etc/org.opendaylight.aaa.federation.cfg">mvn:org.opendaylight.aaa/aaa-authn-federation/{{VERSION}}/cfg/config</configfile>
169         <configfile finalname="/etc/org.opendaylight.aaa.filterchain.cfg">mvn:org.opendaylight.aaa/aaa-filterchain/{{VERSION}}/cfg/config</configfile>
170     </feature>
171
172     <feature name='odl-aaa-sssd-plugin' description='OpenDaylight :: AAA :: SSSD Federation Plugin'
173              version='${project.version}'>
174         <feature version='${project.version}'>odl-aaa-authn</feature>
175         <bundle>mvn:org.opendaylight.aaa/aaa-authn-sssd/{{VERSION}}</bundle>
176     </feature>
177
178     <feature name='odl-aaa-authn-cassandra-cluster' description='OpenDaylight :: AAA :: Authentication - Cassandra'
179              version='${project.version}'>
180         <feature version='${project.version}'>odl-aaa-api</feature>
181
182         <!-- MD-SAL -->
183         <feature version='${yangtools.version}'>odl-yangtools-common</feature>
184         <feature version='${mdsal.version}'>odl-mdsal-binding-base</feature>
185         <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature>
186         <feature version='${config.version}'>odl-config-core</feature>
187
188         <!-- REST -->
189         <feature>war</feature>
190         <bundle>mvn:com.sun.jersey/jersey-client/{{VERSION}}</bundle>
191         <bundle>mvn:com.sun.jersey/jersey-servlet/{{VERSION}}</bundle>
192         <bundle>mvn:com.sun.jersey/jersey-core/{{VERSION}}</bundle>
193         <bundle>mvn:com.sun.jersey/jersey-server/{{VERSION}}</bundle>
194
195         <!-- OSGi -->
196         <bundle>mvn:org.apache.felix/org.apache.felix.dependencymanager/{{VERSION}}</bundle>
197         <bundle>mvn:org.apache.felix/org.apache.felix.metatype/{{VERSION}}</bundle>
198
199         <!-- OAuth -->
200         <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.common/{{VERSION}}</bundle>
201         <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.authzserver/{{VERSION}}</bundle>
202         <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.resourceserver/{{VERSION}}</bundle>
203         <bundle>mvn:commons-codec/commons-codec/{{VERSION}}</bundle>
204         <bundle>wrap:mvn:org.json/json/{{VERSION}}</bundle>
205
206         <!-- commons-lang -->
207         <bundle>wrap:mvn:org.apache.commons/commons-lang3/{{VERSION}}</bundle>
208
209         <!-- AuthN -->
210         <bundle>mvn:org.opendaylight.aaa/aaa-shiro/{{VERSION}}</bundle>
211         <bundle>mvn:org.apache.shiro/shiro-core/{{VERSION}}</bundle>
212         <bundle>mvn:org.apache.shiro/shiro-web/{{VERSION}}</bundle>
213         <bundle>mvn:org.opendaylight.aaa/aaa-authn/{{VERSION}}</bundle>
214         <bundle>mvn:org.opendaylight.aaa/aaa-authn-sts/{{VERSION}}</bundle>
215         <bundle>mvn:org.opendaylight.aaa/aaa-authn-basic/{{VERSION}}</bundle>
216         <bundle>mvn:org.opendaylight.aaa/aaa-filterchain/{{VERSION}}</bundle>
217
218         <!--Cassandra Store -->
219         <bundle>mvn:io.netty/netty-transport/{{VERSION}}</bundle>
220         <bundle>mvn:io.netty/netty-codec/{{VERSION}}</bundle>
221         <bundle>mvn:io.netty/netty-common/{{VERSION}}</bundle>
222         <bundle>mvn:io.netty/netty-buffer/{{VERSION}}</bundle>
223         <bundle>mvn:io.netty/netty-handler/{{VERSION}}</bundle>
224         <bundle>mvn:io.dropwizard.metrics/metrics-core/{{VERSION}}</bundle>
225         <bundle>mvn:com.datastax.cassandra/cassandra-driver-core/{{VERSION}}</bundle>
226         <bundle>mvn:org.opendaylight.aaa/aaa-cassandra-store/{{VERSION}}</bundle>
227         <configfile finalname="etc/opendaylight/karaf/08-aaa-cassandra-store-config.xml">mvn:org.opendaylight.aaa/aaa-cassandra-store/{{VERSION}}/xml/config</configfile>
228         <configfile finalname="etc/aaacassandra.cfg">mvn:org.opendaylight.aaa/aaa-cassandra-store/{{VERSION}}/cfg/config-1</configfile>
229
230         <!-- IDMLight -->
231         <bundle>mvn:org.opendaylight.aaa/aaa-idmlight/{{VERSION}}</bundle>
232         <configfile finalname="etc/idmtool">mvn:org.opendaylight.aaa/aaa-idmlight/{{VERSION}}/py/config</configfile>
233
234         <bundle>mvn:com.fasterxml.jackson.core/jackson-core/{{VERSION}}</bundle>
235         <bundle>mvn:com.fasterxml.jackson.core/jackson-annotations/{{VERSION}}</bundle>
236         <bundle>mvn:com.fasterxml.jackson.core/jackson-databind/{{VERSION}}</bundle>
237         <bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-json-org/{{VERSION}}</bundle>
238         <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/{{VERSION}}</bundle>
239         <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/{{VERSION}}</bundle>
240         <bundle>mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/{{VERSION}}</bundle>
241
242         <!-- Federation -->
243         <bundle>mvn:org.opendaylight.aaa/aaa-authn-federation/{{VERSION}}</bundle>
244         <bundle>mvn:org.opendaylight.aaa/aaa-authn-idpmapping/{{VERSION}}</bundle>
245         <bundle>mvn:org.glassfish/javax.json/{{VERSION}}</bundle>
246
247         <configfile finalname="/etc/org.opendaylight.aaa.authn.cfg">mvn:org.opendaylight.aaa/aaa-authn/{{VERSION}}/cfg/config</configfile>
248         <configfile finalname="/etc/org.opendaylight.aaa.tokens.cfg">mvn:org.opendaylight.aaa/aaa-h2-store/{{VERSION}}/cfg/config</configfile>
249         <configfile finalname="/etc/org.opendaylight.aaa.federation.cfg">mvn:org.opendaylight.aaa/aaa-authn-federation/{{VERSION}}/cfg/config</configfile>
250         <configfile finalname="/etc/org.opendaylight.aaa.filterchain.cfg">mvn:org.opendaylight.aaa/aaa-filterchain/{{VERSION}}/cfg/config</configfile>
251     </feature>
252
253     <feature name='odl-aaa-encryption-service' description='OpenDaylight :: AAA :: Encryption Service'
254              version='${project.version}'>
255         <!-- MD-SAL -->
256         <feature version='${yangtools.version}'>odl-yangtools-common</feature>
257         <feature version='${mdsal.version}'>odl-mdsal-binding-base</feature>
258         <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature>
259         <feature version='${config.version}'>odl-config-core</feature>
260
261         <bundle>mvn:org.opendaylight.aaa/aaa-encrypt-service/{{VERSION}}</bundle>
262         <configfile finalname="etc/opendaylight/datastore/initial/config/aaa-encrypt-service-config.xml">mvn:org.opendaylight.aaa/aaa-encrypt-service/{{VERSION}}/xml/config</configfile>
263     </feature>
264
265     <feature name='odl-aaa-cert' description='OpenDaylight :: AAA :: aaa opendaylight certificate Plugin'
266              version='${project.version}'>
267         <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature>
268         <feature version='${project.version}'>odl-aaa-encryption-service</feature>
269
270         <bundle>mvn:org.bouncycastle/bcprov-jdk15on/{{VERSION}}</bundle>
271         <bundle>mvn:commons-codec/commons-codec/{{VERSION}}</bundle>
272         <configfile finalname="etc/opendaylight/datastore/initial/config/aaa-cert-config.xml">mvn:org.opendaylight.aaa/aaa-cert/{{VERSION}}/xml/config</configfile>
273         <bundle>mvn:org.opendaylight.aaa/aaa-cert/{{VERSION}}</bundle>
274     </feature>
275
276     <feature name='odl-aaa-cli' description='OpenDaylight :: AAA :: aaa opendaylight command line'
277              version='${project.version}'>
278         <feature version="${project.version}">odl-aaa-cert</feature>
279         <feature version='${project.version}'>odl-aaa-api</feature>
280         <bundle>mvn:org.opendaylight.aaa/aaa-cli/{{VERSION}}</bundle>
281     </feature>
282 </features>