Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 1 | COMPILE_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 Milkey | f9a7697 | 2016-04-12 09:47:12 -0700 | [diff] [blame] | 11 | BUNDLES = [ |
| 12 | ':onos-apps-olt-api', |
| 13 | ':onos-apps-olt', |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 14 | ] |
| 15 | |
Ray Milkey | f9a7697 | 2016-04-12 09:47:12 -0700 | [diff] [blame] | 16 | osgi_jar_with_tests ( |
| 17 | name = 'onos-apps-olt-api', |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 18 | srcs = glob(['api/' + SRC + '*.java']), |
| 19 | deps = COMPILE_DEPS, |
| 20 | visibility = ['PUBLIC'], |
| 21 | ) |
| 22 | |
Ray Milkey | f9a7697 | 2016-04-12 09:47:12 -0700 | [diff] [blame] | 23 | osgi_jar_with_tests ( |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 24 | srcs = glob(['app/' + SRC + '*.java']), |
Ray Milkey | f9a7697 | 2016-04-12 09:47:12 -0700 | [diff] [blame] | 25 | deps = COMPILE_DEPS + [':onos-apps-olt-api'], |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 26 | visibility = ['PUBLIC'], |
| 27 | ) |
| 28 | |
Ray Milkey | f9a7697 | 2016-04-12 09:47:12 -0700 | [diff] [blame] | 29 | onos_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 Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 35 | ) |