blob: 4b5ecd7af36d8dbd44a71c559f8409b337bafe1d [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',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070020 '//lib:guava',
21 '//lib:netty',
22 '//lib:netty-common',
23 '//lib:netty-buffer',
24 '//lib:netty-transport',
25 '//lib:netty-handler',
26 '//lib:netty-codec',
27 '//lib:netty-transport-native-epoll',
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -080028 '//lib:netty-resolver',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070029 '//lib:commons-pool',
30 '//lib:commons-math3',
31 '//lib:joda-time',
32 '//lib:metrics-core',
33 '//lib:metrics-json',
34 '//lib:minimal-json',
35 '//lib:kryo',
36 '//lib:reflectasm',
37 '//lib:asm',
38 '//lib:minlog',
39 '//lib:objenesis',
40 '//lib:jackson-core',
41 '//lib:jackson-annotations',
42 '//lib:jackson-databind',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070043 '//lib:commons-collections',
44 '//lib:typesafe-config',
45 '//lib:concurrent-trees',
46 '//lib:commons-io',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070047 '//lib:jersey-client',
48 '//lib:mapdb',
Holger Schulz092cbbf2017-08-31 17:52:30 +020049 '//lib:bcpkix-jdk15on',
50 '//lib:bcprov-jdk15on',
hiroki0bd58bb2018-05-14 22:18:23 -070051 '//lib:commons-jxpath', # FIXME: move xpath lib dependency to the right place
52 '//lib:commons-beanutils', # jxpath dependency
53 '//lib:jdom', # jxpath dependency
kdarapu97843dc2018-05-10 12:46:32 +053054 '//lib:sigar',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070055 ]
56)
57
58osgi_feature (
59 name="onos-thirdparty-web",
60 title="ONOS 3rd party dependencies for web apps",
61 required_features = [ 'war', 'onos-thirdparty-base' ],
62 included_bundles = [
63 '//lib:jersey-common',
64 '//lib:javax.annotation-api',
65 '//lib:javax.ws.rs-api',
66 '//lib:hk2-api',
67 '//lib:hk2-locator',
68 '//lib:hk2-osgi-resource-locator',
69 '//lib:javax.inject',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070070 '//lib:jersey-server',
Jian Li5d505f242018-02-24 01:45:31 +090071 '//lib:jersey-hk2',
Brian O'Connor807ed4a2016-04-29 17:10:44 -070072 '//lib:aopalliance-repackaged',
73 '//lib:hk2-utils',
74 '//lib:validation-api',
75 '//lib:javassist',
76 '//lib:jersey-container-servlet',
77 '//lib:jersey-container-servlet-core',
78 '//lib:jersey-media-multipart',
79 '//lib:mimepull',
80 ]
81)
82
83osgi_feature (
84 name = 'onos-api',
85 title = 'ONOS services and model API',
86 required_features = ['scr', 'onos-thirdparty-base'],
87 included_bundles =[
88 '//utils/misc:onlab-misc',
89 '//utils/osgi:onlab-osgi',
90 '//core/api:onos-api',
91 '//incubator/api:onos-incubator-api',
92 ]
93)
94
95osgi_feature (
96 name='onos-core',
97 title='ONOS core components',
98 required_features = ['onos-api'],
99 included_bundles = [
100 '//core/net:onos-core-net',
101 '//core/common:onos-core-common',
102 '//core/store/dist:onos-core-dist',
103 '//core/store/primitives:onos-core-primitives',
104 '//core/store/persistence:onos-core-persistence',
105 '//core/store/serializers:onos-core-serializers',
106 ]
107)
108
109osgi_feature (
110 name='onos-incubator',
111 title='ONOS core incubator components',
112 required_features = ['onos-core'],
113 included_bundles = [
114 '//incubator/net:onos-incubator-net',
Brian O'Connor807ed4a2016-04-29 17:10:44 -0700115 '//incubator/store:onos-incubator-store',
116 '//incubator/rpc:onos-incubator-rpc',
117 ]
118)
119
120osgi_feature (
121 name="onos-rest",
122 title="ONOS REST API components",
123 required_features = ['onos-api', 'onos-thirdparty-web'],
124 included_bundles = [
125 '//utils/rest:onlab-rest',
126 '//web/api:onos-rest',
127 ]
128)
129
130osgi_feature (
131 name = 'onos-gui',
132 title = 'ONOS GUI console components',
133 required_features = ['onos-api', 'onos-thirdparty-web'],
134 included_bundles = [
135 '//lib:jetty-websocket',
136 '//utils/rest:onlab-rest',
137 '//web/gui:onos-gui',
138 ]
139)
140
141osgi_feature (
Sean Condon83fc39f2018-04-19 18:56:13 +0100142 name = 'onos-gui2',
143 title = 'ONOS GUI2 console components',
144 required_features = ['onos-api', 'onos-thirdparty-web'],
145 included_bundles = [
146 '//lib:jetty-websocket',
147 '//utils/rest:onlab-rest',
148 '//web/gui2:onos-gui2',
149 ]
150)
151
152osgi_feature (
Brian O'Connor807ed4a2016-04-29 17:10:44 -0700153 name = 'onos-cli',
154 title="ONOS admin command console components",
155 required_features = ['onos-api'],
156 included_bundles = [
157 '//cli:onos-cli',
Brian O'Connor807ed4a2016-04-29 17:10:44 -0700158 ]
159)
160
Heedo Kang611a0652017-09-05 12:26:30 +0900161osgi_feature (
162 name = 'onos-security',
163 title="Security-Mode ONOS",
164 required_features = ['onos-api'],
165 included_bundles = [
166 '//lib:org.apache.felix.framework.security',
167 '//core/security:onos-security',
168 ]
169)
Thomas Vachuskaf25c2482018-06-12 13:18:45 -0700170
171compile_features(
172 name = 'onos-features',
173 features = FEATURES,
174 maven_coords = 'org.onosproject:onos-features:xml:features:' + ONOS_VERSION,
175)