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