blob: 009527b3f9854b7456983c29bf598199d6915a1c [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",
Ray Milkey15053f02018-06-13 10:00:45 -07003 "//utils/rest:onlab-rest",
4 "//drivers/utilities:onos-drivers-utilities",
5 "//protocols/rest/api:onos-protocols-rest-api",
Ray Milkeyb6d64d52018-06-13 09:49:01 -07006]
7
8TEST_DEPS = TEST_ADAPTERS + [
Ray Milkey15053f02018-06-13 10:00:45 -07009 "//core/api:onos-api-tests",
Ray Milkeyb6d64d52018-06-13 09:49:01 -070010]
11
12BUNDLES = [
Ray Milkey15053f02018-06-13 10:00:45 -070013 ":onos-drivers-arista",
14 "//drivers/utilities:onos-drivers-utilities",
Ray Milkeyb6d64d52018-06-13 09:49:01 -070015]
16
Ray Milkey15053f02018-06-13 10:00:45 -070017osgi_jar_with_tests(
18 resources = glob(["src/main/resources/**"]),
19 resources_root = "src/main/resources",
Ray Milkeyb6d64d52018-06-13 09:49:01 -070020 test_deps = TEST_DEPS,
Ray Milkey15053f02018-06-13 10:00:45 -070021 deps = COMPILE_DEPS,
Ray Milkeyb6d64d52018-06-13 09:49:01 -070022)
23
Ray Milkey15053f02018-06-13 10:00:45 -070024onos_app(
25 app_name = "org.onosproject.drivers.arista",
26 category = "Drivers",
27 description = "Adds support for Arista devices.",
Ray Milkeyb6d64d52018-06-13 09:49:01 -070028 included_bundles = BUNDLES,
Ray Milkey15053f02018-06-13 10:00:45 -070029 required_apps = ["org.onosproject.restsb"],
30 title = "Arista Drivers",
31 url = "http://onosproject.org",
Ray Milkeyb6d64d52018-06-13 09:49:01 -070032)