Ray Milkey | b6d64d5 | 2018-06-13 09:49:01 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + JACKSON + [ |
Ray Milkey | 15053f0 | 2018-06-13 10:00:45 -0700 | [diff] [blame] | 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", |
Ray Milkey | b6d64d5 | 2018-06-13 09:49:01 -0700 | [diff] [blame] | 7 | ] |
| 8 | |
| 9 | TEST_DEPS = TEST_ADAPTERS + [ |
Ray Milkey | 15053f0 | 2018-06-13 10:00:45 -0700 | [diff] [blame] | 10 | "//core/api:onos-api-tests", |
Ray Milkey | b6d64d5 | 2018-06-13 09:49:01 -0700 | [diff] [blame] | 11 | ] |
| 12 | |
| 13 | BUNDLES = [ |
Ray Milkey | 15053f0 | 2018-06-13 10:00:45 -0700 | [diff] [blame] | 14 | ":onos-drivers-arista", |
| 15 | "//drivers/utilities:onos-drivers-utilities", |
Ray Milkey | b6d64d5 | 2018-06-13 09:49:01 -0700 | [diff] [blame] | 16 | ] |
| 17 | |
Ray Milkey | 15053f0 | 2018-06-13 10:00:45 -0700 | [diff] [blame] | 18 | osgi_jar_with_tests( |
| 19 | resources = glob(["src/main/resources/**"]), |
| 20 | resources_root = "src/main/resources", |
Ray Milkey | b6d64d5 | 2018-06-13 09:49:01 -0700 | [diff] [blame] | 21 | test_deps = TEST_DEPS, |
Ray Milkey | 15053f0 | 2018-06-13 10:00:45 -0700 | [diff] [blame] | 22 | deps = COMPILE_DEPS, |
Ray Milkey | b6d64d5 | 2018-06-13 09:49:01 -0700 | [diff] [blame] | 23 | ) |
| 24 | |
Ray Milkey | 15053f0 | 2018-06-13 10:00:45 -0700 | [diff] [blame] | 25 | onos_app( |
| 26 | app_name = "org.onosproject.drivers.arista", |
| 27 | category = "Drivers", |
| 28 | description = "Adds support for Arista devices.", |
Ray Milkey | b6d64d5 | 2018-06-13 09:49:01 -0700 | [diff] [blame] | 29 | included_bundles = BUNDLES, |
Ray Milkey | 15053f0 | 2018-06-13 10:00:45 -0700 | [diff] [blame] | 30 | required_apps = ["org.onosproject.restsb"], |
| 31 | title = "Arista Drivers", |
| 32 | url = "http://onosproject.org", |
Ray Milkey | b6d64d5 | 2018-06-13 09:49:01 -0700 | [diff] [blame] | 33 | ) |