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 | ] |
| 7 | |
| 8 | BUNDLES = [ |
| 9 | ":onos-drivers-cisco-rest", |
| 10 | "//drivers/utilities:onos-drivers-utilities", |
| 11 | ] |
| 12 | |
| 13 | osgi_jar_with_tests( |
| 14 | resources = glob(["src/main/resources/**"]), |
| 15 | resources_root = "src/main/resources", |
| 16 | test_deps = TEST_ADAPTERS, |
| 17 | deps = COMPILE_DEPS, |
| 18 | ) |
| 19 | |
| 20 | onos_app( |
| 21 | app_name = "org.onosproject.drivers.cisco.rest", |
| 22 | category = "Drivers", |
| 23 | description = "Adds support for Cisco devices using REST.", |
| 24 | included_bundles = BUNDLES, |
| 25 | required_apps = ["org.onosproject.restsb"], |
| 26 | title = "Cisco REST Drivers", |
| 27 | url = "http://onosproject.org", |
| 28 | ) |