blob: 3744cc4f5244929ca5ee1d5e4cf4c32ebbeb5e7e [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',
Jordan Halterman6aca84c2018-07-31 13:33:13 -070014 '//lib:classgraph',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070015 '//lib:commons-lang',
16 '//lib:commons-lang3',
Yuta HIGUCHI825401e2018-02-27 13:23:25 -080017 '//lib:commons-text',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070018 '//lib:commons-configuration',
Jordan Halterman00e92da2018-05-22 23:05:52 -070019 '//lib:fast-classpath-scanner',
Carmelo Cascone72893b72018-08-09 00:59:06 -070020 '//lib:com_google_guava_guava',
21 '//lib:io_netty_netty',
22 '//lib:io_netty_netty_common',
23 '//lib:io_netty_netty_buffer',
24 '//lib:io_netty_netty_transport',
25 '//lib:io_netty_netty_handler',
26 '//lib:io_netty_netty_codec',
Thomas Vachuska6771f4f2018-08-15 09:28:15 -070027 '//lib:io_netty_netty_transport_native_unix_common',
Carmelo Cascone72893b72018-08-09 00:59:06 -070028 '//lib:io_netty_netty_transport-native-epoll',
29 '//lib:io_netty_netty_resolver',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070030 '//lib:commons-pool',
31 '//lib:commons-math3',
32 '//lib:joda-time',
33 '//lib:metrics-core',
34 '//lib:metrics-json',
35 '//lib:minimal-json',
36 '//lib:kryo',
37 '//lib:reflectasm',
38 '//lib:asm',
39 '//lib:minlog',
40 '//lib:objenesis',
41 '//lib:jackson-core',
42 '//lib:jackson-annotations',
43 '//lib:jackson-databind',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070044 '//lib:commons-collections',
45 '//lib:typesafe-config',
46 '//lib:concurrent-trees',
47 '//lib:commons-io',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070048 '//lib:jersey-client',
49 '//lib:mapdb',
Holger Schulz092cbbf2017-08-31 17:52:30 +020050 '//lib:bcpkix-jdk15on',
51 '//lib:bcprov-jdk15on',
hiroki0bd58bb2018-05-14 22:18:23 -070052 '//lib:commons-jxpath', # FIXME: move xpath lib dependency to the right place
53 '//lib:commons-beanutils', # jxpath dependency
54 '//lib:jdom', # jxpath dependency
kdarapu97843dc2018-05-10 12:46:32 +053055 '//lib:sigar',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070056 ]
57)
58
59osgi_feature (
60 name="onos-thirdparty-web",
61 title="ONOS 3rd party dependencies for web apps",
62 required_features = [ 'war', 'onos-thirdparty-base' ],
63 included_bundles = [
64 '//lib:jersey-common',
Carmelo Cascone72893b72018-08-09 00:59:06 -070065 '//lib:javax.annotation-api-mvn',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070066 '//lib:javax.ws.rs-api',
67 '//lib:hk2-api',
68 '//lib:hk2-locator',
69 '//lib:hk2-osgi-resource-locator',
70 '//lib:javax.inject',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070071 '//lib:jersey-server',
Jian Li5d505f242018-02-24 01:45:31 +090072 '//lib:jersey-hk2',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070073 '//lib:aopalliance-repackaged',
74 '//lib:hk2-utils',
75 '//lib:validation-api',
76 '//lib:javassist',
77 '//lib:jersey-container-servlet',
78 '//lib:jersey-container-servlet-core',
79 '//lib:jersey-media-multipart',
80 '//lib:mimepull',
81 ]
82)
83
84osgi_feature (
85 name = 'onos-api',
86 title = 'ONOS services and model API',
87 required_features = ['scr', 'onos-thirdparty-base'],
88 included_bundles =[
89 '//utils/misc:onlab-misc',
90 '//utils/osgi:onlab-osgi',
91 '//core/api:onos-api',
92 '//incubator/api:onos-incubator-api',
93 ]
94)
95
96osgi_feature (
97 name='onos-core',
98 title='ONOS core components',
99 required_features = ['onos-api'],
100 included_bundles = [
101 '//core/net:onos-core-net',
102 '//core/common:onos-core-common',
103 '//core/store/dist:onos-core-dist',
104 '//core/store/primitives:onos-core-primitives',
105 '//core/store/persistence:onos-core-persistence',
106 '//core/store/serializers:onos-core-serializers',
107 ]
108)
109
110osgi_feature (
111 name='onos-incubator',
112 title='ONOS core incubator components',
113 required_features = ['onos-core'],
114 included_bundles = [
115 '//incubator/net:onos-incubator-net',
Brian O'Connor807ed4a2016-04-29 17:10:44 -0700116 '//incubator/store:onos-incubator-store',
117 '//incubator/rpc:onos-incubator-rpc',
118 ]
119)
120
121osgi_feature (
122 name="onos-rest",
123 title="ONOS REST API components",
124 required_features = ['onos-api', 'onos-thirdparty-web'],
125 included_bundles = [
126 '//utils/rest:onlab-rest',
127 '//web/api:onos-rest',
128 ]
129)
130
131osgi_feature (
132 name = 'onos-gui',
133 title = 'ONOS GUI console components',
134 required_features = ['onos-api', 'onos-thirdparty-web'],
135 included_bundles = [
136 '//lib:jetty-websocket',
137 '//utils/rest:onlab-rest',
138 '//web/gui:onos-gui',
139 ]
140)
141
142osgi_feature (
Sean Condon83fc39f2018-04-19 18:56:13 +0100143 name = 'onos-gui2',
144 title = 'ONOS GUI2 console components',
145 required_features = ['onos-api', 'onos-thirdparty-web'],
146 included_bundles = [
147 '//lib:jetty-websocket',
148 '//utils/rest:onlab-rest',
149 '//web/gui2:onos-gui2',
150 ]
151)
152
153osgi_feature (
Brian O'Connor807ed4a2016-04-29 17:10:44 -0700154 name = 'onos-cli',
155 title="ONOS admin command console components",
156 required_features = ['onos-api'],
157 included_bundles = [
158 '//cli:onos-cli',
Brian O'Connor807ed4a2016-04-29 17:10:44 -0700159 ]
160)
161
Heedo Kang611a0652017-09-05 12:26:30 +0900162osgi_feature (
163 name = 'onos-security',
164 title="Security-Mode ONOS",
165 required_features = ['onos-api'],
166 included_bundles = [
167 '//lib:org.apache.felix.framework.security',
168 '//core/security:onos-security',
169 ]
170)
Thomas Vachuskaf25c2482018-06-12 13:18:45 -0700171
172compile_features(
173 name = 'onos-features',
174 features = FEATURES,
175 maven_coords = 'org.onosproject:onos-features:xml:features:' + ONOS_VERSION,
176)