Brian O'Connor

Adding Buck features definitions

Change-Id: Ib0312408c728b5fb90f08bf5fb924a02b1914d1d
1 +osgi_feature (
2 + name="onos-thirdparty-base",
3 + title="ONOS 3rd party dependencies",
4 + required_features = [],
5 + included_bundles = [
6 + '//lib:commons-lang',
7 + '//lib:commons-lang3',
8 + '//lib:commons-configuration',
9 + '//lib:guava',
10 + '//lib:netty',
11 + '//lib:netty-common',
12 + '//lib:netty-buffer',
13 + '//lib:netty-transport',
14 + '//lib:netty-handler',
15 + '//lib:netty-codec',
16 + '//lib:netty-transport-native-epoll',
17 + '//lib:commons-pool',
18 + '//lib:commons-math3',
19 + '//lib:joda-time',
20 + '//lib:metrics-core',
21 + '//lib:metrics-json',
22 + '//lib:minimal-json',
23 + '//lib:kryo',
24 + '//lib:reflectasm',
25 + '//lib:asm',
26 + '//lib:minlog',
27 + '//lib:objenesis',
28 + '//lib:jackson-core',
29 + '//lib:jackson-annotations',
30 + '//lib:jackson-databind',
31 + '//lib:commons-configuration',
32 + '//lib:commons-collections',
33 + '//lib:typesafe-config',
34 + '//lib:concurrent-trees',
35 + '//lib:commons-io',
36 + '//lib:onos-atomix',
37 + '//lib:jersey-client',
38 + '//lib:mapdb',
39 + ]
40 +)
41 +
42 +osgi_feature (
43 + name="onos-thirdparty-web",
44 + title="ONOS 3rd party dependencies for web apps",
45 + required_features = [ 'war', 'onos-thirdparty-base' ],
46 + included_bundles = [
47 + '//lib:jersey-common',
48 + '//lib:javax.annotation-api',
49 + '//lib:javax.ws.rs-api',
50 + '//lib:hk2-api',
51 + '//lib:hk2-locator',
52 + '//lib:hk2-osgi-resource-locator',
53 + '//lib:javax.inject',
54 + '//lib:jersey-guava',
55 + '//lib:jersey-server',
56 + '//lib:aopalliance-repackaged',
57 + '//lib:hk2-utils',
58 + '//lib:validation-api',
59 + '//lib:javassist',
60 + '//lib:jersey-container-servlet',
61 + '//lib:jersey-container-servlet-core',
62 + '//lib:jersey-media-multipart',
63 + '//lib:mimepull',
64 + ]
65 +)
66 +
67 +osgi_feature (
68 + name = 'onos-api',
69 + title = 'ONOS services and model API',
70 + required_features = ['scr', 'onos-thirdparty-base'],
71 + included_bundles =[
72 + '//utils/misc:onlab-misc',
73 + '//utils/osgi:onlab-osgi',
74 + '//core/api:onos-api',
75 + '//incubator/api:onos-incubator-api',
76 + ]
77 +)
78 +
79 +osgi_feature (
80 + name='onos-core',
81 + title='ONOS core components',
82 + required_features = ['onos-api'],
83 + included_bundles = [
84 + '//core/net:onos-core-net',
85 + '//core/common:onos-core-common',
86 + '//core/store/dist:onos-core-dist',
87 + '//core/store/primitives:onos-core-primitives',
88 + '//core/store/persistence:onos-core-persistence',
89 + '//core/store/serializers:onos-core-serializers',
90 + ]
91 +)
92 +
93 +osgi_feature (
94 + name='onos-incubator',
95 + title='ONOS core incubator components',
96 + required_features = ['onos-core'],
97 + included_bundles = [
98 + '//incubator/net:onos-incubator-net',
99 + '//incubator/core:onos-incubator-core',
100 + '//incubator/store:onos-incubator-store',
101 + '//incubator/rpc:onos-incubator-rpc',
102 + ]
103 +)
104 +
105 +osgi_feature (
106 + name="onos-rest",
107 + title="ONOS REST API components",
108 + required_features = ['onos-api', 'onos-thirdparty-web'],
109 + included_bundles = [
110 + '//utils/rest:onlab-rest',
111 + '//web/api:onos-rest',
112 + ]
113 +)
114 +
115 +osgi_feature (
116 + name = 'onos-gui',
117 + title = 'ONOS GUI console components',
118 + required_features = ['onos-api', 'onos-thirdparty-web'],
119 + included_bundles = [
120 + '//lib:jetty-websocket',
121 + '//utils/rest:onlab-rest',
122 + '//web/gui:onos-gui',
123 + ]
124 +)
125 +
126 +osgi_feature (
127 + name = 'onos-cli',
128 + title="ONOS admin command console components",
129 + required_features = ['onos-api'],
130 + included_bundles = [
131 + '//cli:onos-cli',
132 + ]
133 +)
134 +
135 +#FIXME
136 +# osgi_feature (
137 +# name = 'onos-security',
138 +# title="Security-Mode ONOS",
139 +# required_features = ['onos-api'],
140 +# included_bundles = [
141 +# 'org.onosproject/org.apache.felix.framework.security/2.2.0.onos',
142 +# 'org.onosproject/onos-security/@ONOS-VERSION',
143 +# ]
144 +# )
145 +