blob: 8bbf94aebb37e90e8de4d89a5a43e43c29adbe3a [file] [log] [blame]
Brian O'Connor807ed4a2016-04-29 17:10:44 -07001osgi_feature (
2 name="onos-thirdparty-base",
3 title="ONOS 3rd party dependencies",
4 required_features = [],
5 included_bundles = [
Madan Jampani630e7ac2016-05-31 11:34:05 -07006 '//lib:atomix',
Jordan Halterman00e92da2018-05-22 23:05:52 -07007 '//lib:atomix-cluster',
8 '//lib:atomix-gossip',
9 '//lib:atomix-primary-backup',
10 '//lib:atomix-primitive',
11 '//lib:atomix-raft',
12 '//lib:atomix-storage',
13 '//lib:atomix-utils',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070014 '//lib:commons-lang',
15 '//lib:commons-lang3',
Yuta HIGUCHI825401e2018-02-27 13:23:25 -080016 '//lib:commons-text',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070017 '//lib:commons-configuration',
Jordan Halterman00e92da2018-05-22 23:05:52 -070018 '//lib:fast-classpath-scanner',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070019 '//lib:guava',
20 '//lib:netty',
21 '//lib:netty-common',
22 '//lib:netty-buffer',
23 '//lib:netty-transport',
24 '//lib:netty-handler',
25 '//lib:netty-codec',
26 '//lib:netty-transport-native-epoll',
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -080027 '//lib:netty-resolver',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070028 '//lib:commons-pool',
29 '//lib:commons-math3',
30 '//lib:joda-time',
31 '//lib:metrics-core',
32 '//lib:metrics-json',
33 '//lib:minimal-json',
34 '//lib:kryo',
35 '//lib:reflectasm',
36 '//lib:asm',
37 '//lib:minlog',
38 '//lib:objenesis',
39 '//lib:jackson-core',
40 '//lib:jackson-annotations',
41 '//lib:jackson-databind',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070042 '//lib:commons-collections',
43 '//lib:typesafe-config',
44 '//lib:concurrent-trees',
45 '//lib:commons-io',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070046 '//lib:jersey-client',
47 '//lib:mapdb',
Holger Schulz092cbbf2017-08-31 17:52:30 +020048 '//lib:bcpkix-jdk15on',
49 '//lib:bcprov-jdk15on',
hiroki0bd58bb2018-05-14 22:18:23 -070050 '//lib:commons-jxpath', # FIXME: move xpath lib dependency to the right place
51 '//lib:commons-beanutils', # jxpath dependency
52 '//lib:jdom', # jxpath dependency
kdarapu97843dc2018-05-10 12:46:32 +053053 '//lib:sigar',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070054 ]
55)
56
57osgi_feature (
58 name="onos-thirdparty-web",
59 title="ONOS 3rd party dependencies for web apps",
60 required_features = [ 'war', 'onos-thirdparty-base' ],
61 included_bundles = [
62 '//lib:jersey-common',
63 '//lib:javax.annotation-api',
64 '//lib:javax.ws.rs-api',
65 '//lib:hk2-api',
66 '//lib:hk2-locator',
67 '//lib:hk2-osgi-resource-locator',
68 '//lib:javax.inject',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070069 '//lib:jersey-server',
Jian Li5d505f242018-02-24 01:45:31 +090070 '//lib:jersey-hk2',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070071 '//lib:aopalliance-repackaged',
72 '//lib:hk2-utils',
73 '//lib:validation-api',
74 '//lib:javassist',
75 '//lib:jersey-container-servlet',
76 '//lib:jersey-container-servlet-core',
77 '//lib:jersey-media-multipart',
78 '//lib:mimepull',
79 ]
80)
81
82osgi_feature (
83 name = 'onos-api',
84 title = 'ONOS services and model API',
85 required_features = ['scr', 'onos-thirdparty-base'],
86 included_bundles =[
87 '//utils/misc:onlab-misc',
88 '//utils/osgi:onlab-osgi',
89 '//core/api:onos-api',
90 '//incubator/api:onos-incubator-api',
91 ]
92)
93
94osgi_feature (
95 name='onos-core',
96 title='ONOS core components',
97 required_features = ['onos-api'],
98 included_bundles = [
99 '//core/net:onos-core-net',
100 '//core/common:onos-core-common',
101 '//core/store/dist:onos-core-dist',
102 '//core/store/primitives:onos-core-primitives',
103 '//core/store/persistence:onos-core-persistence',
104 '//core/store/serializers:onos-core-serializers',
105 ]
106)
107
108osgi_feature (
109 name='onos-incubator',
110 title='ONOS core incubator components',
111 required_features = ['onos-core'],
112 included_bundles = [
113 '//incubator/net:onos-incubator-net',
Brian O'Connor807ed4a2016-04-29 17:10:44 -0700114 '//incubator/store:onos-incubator-store',
115 '//incubator/rpc:onos-incubator-rpc',
116 ]
117)
118
119osgi_feature (
120 name="onos-rest",
121 title="ONOS REST API components",
122 required_features = ['onos-api', 'onos-thirdparty-web'],
123 included_bundles = [
124 '//utils/rest:onlab-rest',
125 '//web/api:onos-rest',
126 ]
127)
128
129osgi_feature (
130 name = 'onos-gui',
131 title = 'ONOS GUI console components',
132 required_features = ['onos-api', 'onos-thirdparty-web'],
133 included_bundles = [
134 '//lib:jetty-websocket',
135 '//utils/rest:onlab-rest',
136 '//web/gui:onos-gui',
137 ]
138)
139
140osgi_feature (
Sean Condon83fc39f2018-04-19 18:56:13 +0100141 name = 'onos-gui2',
142 title = 'ONOS GUI2 console components',
143 required_features = ['onos-api', 'onos-thirdparty-web'],
144 included_bundles = [
145 '//lib:jetty-websocket',
146 '//utils/rest:onlab-rest',
147 '//web/gui2:onos-gui2',
148 ]
149)
150
151osgi_feature (
Brian O'Connor807ed4a2016-04-29 17:10:44 -0700152 name = 'onos-cli',
153 title="ONOS admin command console components",
154 required_features = ['onos-api'],
155 included_bundles = [
156 '//cli:onos-cli',
Brian O'Connor807ed4a2016-04-29 17:10:44 -0700157 ]
158)
159
Heedo Kang611a0652017-09-05 12:26:30 +0900160osgi_feature (
161 name = 'onos-security',
162 title="Security-Mode ONOS",
163 required_features = ['onos-api'],
164 included_bundles = [
165 '//lib:org.apache.felix.framework.security',
166 '//core/security:onos-security',
167 ]
168)
Thomas Vachuskaf25c2482018-06-12 13:18:45 -0700169
170compile_features(
171 name = 'onos-features',
172 features = FEATURES,
173 maven_coords = 'org.onosproject:onos-features:xml:features:' + ONOS_VERSION,
174)