blob: 7ff65fe5c52393561fb0e56d667e7264d0ef553f [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',
Thomas Vachuskab3efa012016-05-02 11:38:19 -07009 '//apps/cordconfig:onos-apps-cordconfig',
Ray Milkey5a9f58b2016-03-11 10:16:22 -080010]
11
Ray Milkeyf0fb8f82016-04-12 09:47:12 -070012BUNDLES = [
13 ':onos-apps-olt-api',
14 ':onos-apps-olt',
Ray Milkey5a9f58b2016-03-11 10:16:22 -080015]
16
Ray Milkeyf0fb8f82016-04-12 09:47:12 -070017osgi_jar_with_tests (
18 name = 'onos-apps-olt-api',
Ray Milkey5a9f58b2016-03-11 10:16:22 -080019 srcs = glob(['api/' + SRC + '*.java']),
20 deps = COMPILE_DEPS,
21 visibility = ['PUBLIC'],
22)
23
Ray Milkeyf0fb8f82016-04-12 09:47:12 -070024osgi_jar_with_tests (
Ray Milkey5a9f58b2016-03-11 10:16:22 -080025 srcs = glob(['app/' + SRC + '*.java']),
Ray Milkeyf0fb8f82016-04-12 09:47:12 -070026 deps = COMPILE_DEPS + [':onos-apps-olt-api'],
Ray Milkey5a9f58b2016-03-11 10:16:22 -080027 visibility = ['PUBLIC'],
28)
29
Ray Milkeyf0fb8f82016-04-12 09:47:12 -070030onos_app (
31 title = 'ONOS OLT REST API',
32 category = 'Security',
33 url = 'http://onosproject.org',
34 description = 'OLT application for CORD.',
35 included_bundles = BUNDLES,
Ray Milkey5a9f58b2016-03-11 10:16:22 -080036)