blob: 479d4881a82ff4f0ee7d5dc87edca8f3a5a9beee [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',
Brian O'Connor807ed4a2016-04-29 17:10:44 -07007 '//lib:commons-lang',
8 '//lib:commons-lang3',
Yuta HIGUCHI825401e2018-02-27 13:23:25 -08009 '//lib:commons-text',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070010 '//lib:commons-configuration',
11 '//lib:guava',
12 '//lib:netty',
13 '//lib:netty-common',
14 '//lib:netty-buffer',
15 '//lib:netty-transport',
16 '//lib:netty-handler',
17 '//lib:netty-codec',
18 '//lib:netty-transport-native-epoll',
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -080019 '//lib:netty-resolver',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070020 '//lib:commons-pool',
21 '//lib:commons-math3',
22 '//lib:joda-time',
23 '//lib:metrics-core',
24 '//lib:metrics-json',
25 '//lib:minimal-json',
26 '//lib:kryo',
27 '//lib:reflectasm',
28 '//lib:asm',
29 '//lib:minlog',
30 '//lib:objenesis',
31 '//lib:jackson-core',
32 '//lib:jackson-annotations',
33 '//lib:jackson-databind',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070034 '//lib:commons-collections',
35 '//lib:typesafe-config',
36 '//lib:concurrent-trees',
37 '//lib:commons-io',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070038 '//lib:jersey-client',
39 '//lib:mapdb',
Holger Schulz092cbbf2017-08-31 17:52:30 +020040 '//lib:bcpkix-jdk15on',
41 '//lib:bcprov-jdk15on',
hiroki0bd58bb2018-05-14 22:18:23 -070042 '//lib:commons-jxpath', # FIXME: move xpath lib dependency to the right place
43 '//lib:commons-beanutils', # jxpath dependency
44 '//lib:jdom', # jxpath dependency
kdarapu97843dc2018-05-10 12:46:32 +053045 '//lib:sigar',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070046 ]
47)
48
49osgi_feature (
50 name="onos-thirdparty-web",
51 title="ONOS 3rd party dependencies for web apps",
52 required_features = [ 'war', 'onos-thirdparty-base' ],
53 included_bundles = [
54 '//lib:jersey-common',
55 '//lib:javax.annotation-api',
56 '//lib:javax.ws.rs-api',
57 '//lib:hk2-api',
58 '//lib:hk2-locator',
59 '//lib:hk2-osgi-resource-locator',
60 '//lib:javax.inject',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070061 '//lib:jersey-server',
Jian Li5d505f242018-02-24 01:45:31 +090062 '//lib:jersey-hk2',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070063 '//lib:aopalliance-repackaged',
64 '//lib:hk2-utils',
65 '//lib:validation-api',
66 '//lib:javassist',
67 '//lib:jersey-container-servlet',
68 '//lib:jersey-container-servlet-core',
69 '//lib:jersey-media-multipart',
70 '//lib:mimepull',
71 ]
72)
73
74osgi_feature (
75 name = 'onos-api',
76 title = 'ONOS services and model API',
77 required_features = ['scr', 'onos-thirdparty-base'],
78 included_bundles =[
79 '//utils/misc:onlab-misc',
80 '//utils/osgi:onlab-osgi',
81 '//core/api:onos-api',
82 '//incubator/api:onos-incubator-api',
83 ]
84)
85
86osgi_feature (
87 name='onos-core',
88 title='ONOS core components',
89 required_features = ['onos-api'],
90 included_bundles = [
91 '//core/net:onos-core-net',
92 '//core/common:onos-core-common',
93 '//core/store/dist:onos-core-dist',
94 '//core/store/primitives:onos-core-primitives',
95 '//core/store/persistence:onos-core-persistence',
96 '//core/store/serializers:onos-core-serializers',
97 ]
98)
99
100osgi_feature (
101 name='onos-incubator',
102 title='ONOS core incubator components',
103 required_features = ['onos-core'],
104 included_bundles = [
105 '//incubator/net:onos-incubator-net',
Brian O'Connor807ed4a2016-04-29 17:10:44 -0700106 '//incubator/store:onos-incubator-store',
107 '//incubator/rpc:onos-incubator-rpc',
108 ]
109)
110
111osgi_feature (
112 name="onos-rest",
113 title="ONOS REST API components",
114 required_features = ['onos-api', 'onos-thirdparty-web'],
115 included_bundles = [
116 '//utils/rest:onlab-rest',
117 '//web/api:onos-rest',
118 ]
119)
120
121osgi_feature (
122 name = 'onos-gui',
123 title = 'ONOS GUI console components',
124 required_features = ['onos-api', 'onos-thirdparty-web'],
125 included_bundles = [
126 '//lib:jetty-websocket',
127 '//utils/rest:onlab-rest',
128 '//web/gui:onos-gui',
129 ]
130)
131
132osgi_feature (
Sean Condon83fc39f2018-04-19 18:56:13 +0100133 name = 'onos-gui2',
134 title = 'ONOS GUI2 console components',
135 required_features = ['onos-api', 'onos-thirdparty-web'],
136 included_bundles = [
137 '//lib:jetty-websocket',
138 '//utils/rest:onlab-rest',
139 '//web/gui2:onos-gui2',
140 ]
141)
142
143osgi_feature (
Brian O'Connor807ed4a2016-04-29 17:10:44 -0700144 name = 'onos-cli',
145 title="ONOS admin command console components",
146 required_features = ['onos-api'],
147 included_bundles = [
148 '//cli:onos-cli',
Brian O'Connor807ed4a2016-04-29 17:10:44 -0700149 ]
150)
151
Heedo Kang611a0652017-09-05 12:26:30 +0900152osgi_feature (
153 name = 'onos-security',
154 title="Security-Mode ONOS",
155 required_features = ['onos-api'],
156 included_bundles = [
157 '//lib:org.apache.felix.framework.security',
158 '//core/security:onos-security',
159 ]
160)
Thomas Vachuskaf25c2482018-06-12 13:18:45 -0700161
162compile_features(
163 name = 'onos-features',
164 features = FEATURES,
165 maven_coords = 'org.onosproject:onos-features:xml:features:' + ONOS_VERSION,
166)