Ray Milkey | 5a9f58b | 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', |
Thomas Vachuska | b3efa01 | 2016-05-02 11:38:19 -0700 | [diff] [blame] | 9 | '//apps/cordconfig:onos-apps-cordconfig', |
Ray Milkey | 5a9f58b | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 10 | ] |
| 11 | |
Ray Milkey | f0fb8f8 | 2016-04-12 09:47:12 -0700 | [diff] [blame] | 12 | BUNDLES = [ |
| 13 | ':onos-apps-olt-api', |
| 14 | ':onos-apps-olt', |
Ray Milkey | 5a9f58b | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 15 | ] |
| 16 | |
Ray Milkey | f0fb8f8 | 2016-04-12 09:47:12 -0700 | [diff] [blame] | 17 | osgi_jar_with_tests ( |
| 18 | name = 'onos-apps-olt-api', |
Ray Milkey | 5a9f58b | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 19 | srcs = glob(['api/' + SRC + '*.java']), |
| 20 | deps = COMPILE_DEPS, |
| 21 | visibility = ['PUBLIC'], |
| 22 | ) |
| 23 | |
Ray Milkey | f0fb8f8 | 2016-04-12 09:47:12 -0700 | [diff] [blame] | 24 | osgi_jar_with_tests ( |
Ray Milkey | 5a9f58b | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 25 | srcs = glob(['app/' + SRC + '*.java']), |
Ray Milkey | f0fb8f8 | 2016-04-12 09:47:12 -0700 | [diff] [blame] | 26 | deps = COMPILE_DEPS + [':onos-apps-olt-api'], |
Ray Milkey | 5a9f58b | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 27 | visibility = ['PUBLIC'], |
| 28 | ) |
| 29 | |
Ray Milkey | f0fb8f8 | 2016-04-12 09:47:12 -0700 | [diff] [blame] | 30 | onos_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 Milkey | 5a9f58b | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 36 | ) |