blob: 5c65159748d2dc47de4fc748a429be101633970e [file] [log] [blame]
Andrea Campanellacb7e4ec2019-01-28 13:47:11 +01001COMPILE_DEPS = CORE_DEPS + JACKSON + [
Ray Milkey86ad7bb2018-09-27 12:32:28 -07002 "@commons_jxpath//jar",
Andrea Campanellacb7e4ec2019-01-28 13:47:11 +01003 "@javax_ws_rs_api//jar",
4 "@httpcore_osgi//jar",
Andrea Campanella027a1d92019-01-28 13:50:06 +01005 "//core/store/serializers:onos-core-serializers",
Ray Milkey257eb6d2018-07-17 09:41:00 -07006 "//drivers/utilities:onos-drivers-utilities",
7 "//protocols/netconf/api:onos-protocols-netconf-api",
Diego Garcia3c4d98b2018-12-18 11:47:01 +01008 "//protocols/rest/api:onos-protocols-rest-api",
Ray Milkey257eb6d2018-07-17 09:41:00 -07009 "//apps/odtn/api:onos-apps-odtn-api",
Ramon Casellas03f194f2018-11-15 16:06:02 +010010 "//apps/optical-model:onos-apps-optical-model",
11 "//drivers/optical:onos-drivers-optical",
Ray Milkey257eb6d2018-07-17 09:41:00 -070012]
13
14TEST_DEPS = TEST_ADAPTERS + [
15 "@slf4j_jdk14//jar",
16 "//core/api:onos-api-tests",
17]
18
19BUNDLES = [
20 ":onos-drivers-odtn-driver",
quan PHAM VAN32d70e52018-08-01 17:35:30 -070021 "//drivers/utilities:onos-drivers-utilities",
Ray Milkey257eb6d2018-07-17 09:41:00 -070022]
23
24osgi_jar_with_tests(
25 resources = glob(["src/main/resources/**"]),
26 resources_root = "src/main/resources",
27 test_deps = TEST_DEPS,
28 deps = COMPILE_DEPS,
29)
30
31onos_app(
32 app_name = "org.onosproject.drivers.odtn-driver",
33 category = "Drivers",
34 description = "Drivers related to ODTN",
35 included_bundles = BUNDLES,
36 required_apps = [
Diego Garcia3c4d98b2018-12-18 11:47:01 +010037 "org.onosproject.restsb",
Ray Milkey257eb6d2018-07-17 09:41:00 -070038 "org.onosproject.netconf",
quan PHAM VAN32d70e52018-08-01 17:35:30 -070039 "org.onosproject.config",
Ray Milkey257eb6d2018-07-17 09:41:00 -070040 "org.onosproject.odtn-api",
Ramon Casellas03f194f2018-11-15 16:06:02 +010041 "org.onosproject.drivers.netconf",
42 "org.onosproject.drivers.optical",
43 "org.onosproject.optical-model",
Ray Milkey257eb6d2018-07-17 09:41:00 -070044 ],
45 title = "ODTN Driver",
46 url = "https://wiki.onosproject.org/display/ODTN/ODTN",
47)