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