blob: 0c4143996186968904080ebd98daaa43ad2e7e20 [file] [log] [blame]
slowr13fa5b02017-08-08 16:32:31 -07001COMPILE_DEPS = [
2 '//lib:CORE_DEPS',
3 '//lib:COMPILE',
4 '//lib:netty-handler',
5 '//lib:javax.ws.rs-api',
6 '//lib:org.apache.karaf.shell.console',
7 '//lib:netty-buffer',
8 '//utils/rest:onlab-rest',
9 '//core/store/serializers:onos-core-serializers',
10 '//cli:onos-cli',
11 '//lib:netty-transport',
12 '//core/common:onos-core-common',
13 ':netty-transport-sctp',
Dimitrios Mavrommatis96b255a2017-12-06 13:09:25 -080014 '//lib:swagger-annotations',
15 '//lib:JACKSON',
16 '//lib:NETTY'
slowr13fa5b02017-08-08 16:32:31 -070017]
18
19BUNDLES = [
20 '//apps/xran:onos-apps-xran',
21]
22
Dimitrios Mavrommatis96b255a2017-12-06 13:09:25 -080023TEST_DEPS = [
24 '//lib:TEST',
25 '//lib:TEST_ADAPTERS',
slowr13fa5b02017-08-08 16:32:31 -070026]
27
Dimitrios Mavrommatis96b255a2017-12-06 13:09:25 -080028EXCLUDED_BUNDLES = [
29 ':netty-transport-sctp',
30 '//lib:swagger-annotations'
31]
32
33osgi_jar_with_tests (
slowr13fa5b02017-08-08 16:32:31 -070034 deps = COMPILE_DEPS,
Dimitrios Mavrommatis96b255a2017-12-06 13:09:25 -080035 test_deps = TEST_DEPS,
slowr13fa5b02017-08-08 16:32:31 -070036 web_context = '/onos/xran',
37 api_title = 'XRAN REST API',
Dimitrios Mavrommatis96b255a2017-12-06 13:09:25 -080038 api_package = 'org.onosproject.xran.impl.rest',
slowr13fa5b02017-08-08 16:32:31 -070039 api_version = '1.0',
40 api_description = 'XRAN REST API',
41)
42
43onos_app (
44 app_name = 'org.onosproject.xran',
45 title = 'XRAN REST API',
46 category = 'Utilities',
47 url = 'http://onosproject.org',
48 description = 'XRAN REST API.',
49 included_bundles = BUNDLES,
50 excluded_bundles = EXCLUDED_BUNDLES,
51)
52
53remote_jar (
54 name = 'netty-transport-sctp',
55 out = 'netty-transport-sctp-4.1.13.Final.jar',
56 url = 'mvn:io.netty:netty-transport-sctp:jar:4.1.13.Final',
57 sha1 = '41e4ab1dc14cae445f93cef6421ce08f82804c1d',
58 maven_coords = 'io.netty:netty-transport-sctp:4.1.13.Final',
59 visibility = [ 'PUBLIC' ],
60)