blob: bc37a53c56c7080192b82b61043652bea59b829a [file] [log] [blame]
Ray Milkey5a9f58b2016-03-11 10:16:22 -08001COMPILE_DEPS = [
2 '//lib:CORE_DEPS',
3 '//lib:javax.ws.rs-api',
4 '//lib:jersey-client',
5 '//lib:org.apache.karaf.shell.console',
6 '//utils/rest:onlab-rest',
7 '//cli:onos-cli',
8 '//core/store/serializers:onos-core-serializers',
9]
10
Ray Milkeyf0fb8f82016-04-12 09:47:12 -070011BUNDLES = [
12 ':onos-apps-olt-api',
13 ':onos-apps-olt',
Ray Milkey5a9f58b2016-03-11 10:16:22 -080014]
15
Ray Milkeyf0fb8f82016-04-12 09:47:12 -070016osgi_jar_with_tests (
17 name = 'onos-apps-olt-api',
Ray Milkey5a9f58b2016-03-11 10:16:22 -080018 srcs = glob(['api/' + SRC + '*.java']),
19 deps = COMPILE_DEPS,
20 visibility = ['PUBLIC'],
21)
22
Ray Milkeyf0fb8f82016-04-12 09:47:12 -070023osgi_jar_with_tests (
Ray Milkey5a9f58b2016-03-11 10:16:22 -080024 srcs = glob(['app/' + SRC + '*.java']),
Ray Milkeyf0fb8f82016-04-12 09:47:12 -070025 deps = COMPILE_DEPS + [':onos-apps-olt-api'],
Ray Milkey5a9f58b2016-03-11 10:16:22 -080026 visibility = ['PUBLIC'],
27)
28
Ray Milkeyf0fb8f82016-04-12 09:47:12 -070029onos_app (
30 title = 'ONOS OLT REST API',
31 category = 'Security',
32 url = 'http://onosproject.org',
33 description = 'OLT application for CORD.',
34 included_bundles = BUNDLES,
Ray Milkey5a9f58b2016-03-11 10:16:22 -080035)