Laszlo Papp | 5bdd0e4 | 2017-10-27 10:18:21 +0100 | [diff] [blame^] | 1 | COMPILE_DEPS = [ |
| 2 | '//lib:CORE_DEPS', |
| 3 | '//lib:JACKSON', |
| 4 | '//lib:javax.ws.rs-api', |
| 5 | '//utils/rest:onlab-rest', |
| 6 | '//apps/optical-model:onos-apps-optical-model' |
| 7 | ] |
| 8 | |
| 9 | APPS = [ |
| 10 | 'org.onosproject.optical-model', |
| 11 | ] |
| 12 | |
| 13 | TEST_DEPS = [ |
| 14 | '//lib:TEST_REST', |
| 15 | '//utils/osgi:onlab-osgi-tests', |
| 16 | '//web/api:onos-rest-tests', |
| 17 | ] |
| 18 | |
| 19 | osgi_jar_with_tests ( |
| 20 | deps = COMPILE_DEPS, |
| 21 | test_deps = TEST_DEPS, |
| 22 | web_context = '/onos/optical', |
| 23 | api_title = 'Optical Network Model REST API', |
| 24 | api_version = '1.0', |
| 25 | api_description = 'REST API for Optical Model', |
| 26 | api_package = 'org.onosproject.net.optical.rest' |
| 27 | ) |
| 28 | |
| 29 | onos_app ( |
| 30 | title = 'Optical Network Model REST API', |
| 31 | category = 'Optical', |
| 32 | url = 'http://onosproject.org', |
| 33 | description = 'This application provides REST support for optical network model.', |
| 34 | required_apps = APPS |
| 35 | ) |