Ray Milkey | 5c9e283 | 2018-06-26 18:37:12 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + JACKSON + [ |
| 2 | "@javax_ws_rs_api//jar", |
Ray Milkey | 5c9e283 | 2018-06-26 18:37:12 -0700 | [diff] [blame] | 3 | "//utils/rest:onlab-rest", |
| 4 | "//drivers/utilities:onos-drivers-utilities", |
| 5 | "//protocols/rest/api:onos-protocols-rest-api", |
| 6 | "//apps/optical-model:onos-apps-optical-model", |
| 7 | "//drivers/optical:onos-drivers-optical", |
| 8 | ] |
| 9 | |
| 10 | BUNDLES = [ |
| 11 | ":onos-drivers-ciena-waveserver", |
| 12 | "//drivers/utilities:onos-drivers-utilities", |
| 13 | ] |
| 14 | |
| 15 | REQUIRED_APPS = [ |
| 16 | "org.onosproject.restsb", |
| 17 | "org.onosproject.optical-model", |
| 18 | "org.onosproject.drivers.optical", |
| 19 | ] |
| 20 | |
| 21 | osgi_jar_with_tests( |
| 22 | resources = glob(["src/main/resources/**"]), |
| 23 | resources_root = "src/main/resources", |
| 24 | test_deps = TEST_ADAPTERS, |
| 25 | deps = COMPILE_DEPS, |
| 26 | ) |
| 27 | |
| 28 | onos_app( |
| 29 | app_name = "org.onosproject.drivers.ciena.waveserver", |
| 30 | category = "Drivers", |
| 31 | description = "Adds support for Ciena Waveserver devices.", |
| 32 | included_bundles = BUNDLES, |
| 33 | required_apps = REQUIRED_APPS, |
| 34 | title = "Ciena Waveserver Drivers", |
| 35 | url = "http://onosproject.org", |
| 36 | ) |