blob: 720cd6e40ebadf1786877b480d77511fb348a2fa [file] [log] [blame]
Ray Milkeyb6d64d52018-06-13 09:49:01 -07001COMPILE_DEPS = CORE_DEPS + JACKSON + [
Ray Milkey15053f02018-06-13 10:00:45 -07002 "@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 Milkeyb6d64d52018-06-13 09:49:01 -07007]
8
9TEST_DEPS = TEST_ADAPTERS + [
Ray Milkey15053f02018-06-13 10:00:45 -070010 "//core/api:onos-api-tests",
Ray Milkeyb6d64d52018-06-13 09:49:01 -070011]
12
13BUNDLES = [
Ray Milkey15053f02018-06-13 10:00:45 -070014 ":onos-drivers-arista",
15 "//drivers/utilities:onos-drivers-utilities",
Ray Milkeyb6d64d52018-06-13 09:49:01 -070016]
17
Ray Milkey15053f02018-06-13 10:00:45 -070018osgi_jar_with_tests(
19 resources = glob(["src/main/resources/**"]),
20 resources_root = "src/main/resources",
Ray Milkeyb6d64d52018-06-13 09:49:01 -070021 test_deps = TEST_DEPS,
Ray Milkey15053f02018-06-13 10:00:45 -070022 deps = COMPILE_DEPS,
Ray Milkeyb6d64d52018-06-13 09:49:01 -070023)
24
Ray Milkey15053f02018-06-13 10:00:45 -070025onos_app(
26 app_name = "org.onosproject.drivers.arista",
27 category = "Drivers",
28 description = "Adds support for Arista devices.",
Ray Milkeyb6d64d52018-06-13 09:49:01 -070029 included_bundles = BUNDLES,
Ray Milkey15053f02018-06-13 10:00:45 -070030 required_apps = ["org.onosproject.restsb"],
31 title = "Arista Drivers",
32 url = "http://onosproject.org",
Ray Milkeyb6d64d52018-06-13 09:49:01 -070033)