blob: bb48507280693896baf7e6840b3f42134abad08a [file] [log] [blame]
Ray Milkey257eb6d2018-07-17 09:41:00 -07001COMPILE_DEPS = CORE_DEPS + [
Ray Milkey86ad7bb2018-09-27 12:32:28 -07002 "@commons_jxpath//jar",
Ray Milkey257eb6d2018-07-17 09:41:00 -07003 "//drivers/utilities:onos-drivers-utilities",
4 "//protocols/netconf/api:onos-protocols-netconf-api",
Diego Garcia09ab5e22018-12-18 11:47:01 +01005 "//protocols/rest/api:onos-protocols-rest-api",
Ray Milkey257eb6d2018-07-17 09:41:00 -07006 "//apps/odtn/api:onos-apps-odtn-api",
Diego Garcia09ab5e22018-12-18 11:47:01 +01007 "@jackson_databind//jar",
8 "@javax_ws_rs_api//jar",
Ramon Casellas03f194f2018-11-15 16:06:02 +01009 "//apps/optical-model:onos-apps-optical-model",
10 "//drivers/optical:onos-drivers-optical",
Ray Milkey257eb6d2018-07-17 09:41:00 -070011]
12
13TEST_DEPS = TEST_ADAPTERS + [
14 "@slf4j_jdk14//jar",
15 "//core/api:onos-api-tests",
16]
17
18BUNDLES = [
19 ":onos-drivers-odtn-driver",
quan PHAM VAN32d70e52018-08-01 17:35:30 -070020 "//drivers/utilities:onos-drivers-utilities",
Ray Milkey257eb6d2018-07-17 09:41:00 -070021]
22
23osgi_jar_with_tests(
24 resources = glob(["src/main/resources/**"]),
25 resources_root = "src/main/resources",
26 test_deps = TEST_DEPS,
27 deps = COMPILE_DEPS,
28)
29
30onos_app(
31 app_name = "org.onosproject.drivers.odtn-driver",
32 category = "Drivers",
33 description = "Drivers related to ODTN",
34 included_bundles = BUNDLES,
35 required_apps = [
Diego Garcia09ab5e22018-12-18 11:47:01 +010036 "org.onosproject.restsb",
Ray Milkey257eb6d2018-07-17 09:41:00 -070037 "org.onosproject.netconf",
quan PHAM VAN32d70e52018-08-01 17:35:30 -070038 "org.onosproject.config",
Ray Milkey257eb6d2018-07-17 09:41:00 -070039 "org.onosproject.odtn-api",
Ramon Casellas03f194f2018-11-15 16:06:02 +010040 "org.onosproject.drivers.netconf",
41 "org.onosproject.drivers.optical",
42 "org.onosproject.optical-model",
Ray Milkey257eb6d2018-07-17 09:41:00 -070043 ],
44 title = "ODTN Driver",
45 url = "https://wiki.onosproject.org/display/ODTN/ODTN",
46)