blob: bcba0ed7f105f54b04184f5fb6f3afabd149702f [file] [log] [blame]
Andrea Campanella2bdf2042019-01-28 13:47:11 +01001COMPILE_DEPS = CORE_DEPS + JACKSON + [
Ray Milkey86ad7bb2018-09-27 12:32:28 -07002 "@commons_jxpath//jar",
Andrea Campanella2bdf2042019-01-28 13:47:11 +01003 "@javax_ws_rs_api//jar",
4 "@httpcore_osgi//jar",
Andrea Campanellabb66e092019-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 Garcia09ab5e22018-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",
Eroshkin Ivan85f21c82019-12-12 15:20:34 +010012 "//apps/faultmanagement/fmcli:onos-apps-faultmanagement-fmcli", # Enabling Alarm stuff
13 "//apps/faultmanagement/fmmgr:onos-apps-faultmanagement-fmmgr-native",
Yi Tseng9619d802020-03-19 23:28:31 +080014 "//drivers/gnmi:onos-drivers-gnmi",
15 "//protocols/gnmi/stub:onos-protocols-gnmi-stub",
16 "//protocols/gnmi/api:onos-protocols-gnmi-api",
17 "//protocols/grpc/utils:onos-protocols-grpc-utils",
Ray Milkey257eb6d2018-07-17 09:41:00 -070018]
19
20TEST_DEPS = TEST_ADAPTERS + [
21 "@slf4j_jdk14//jar",
22 "//core/api:onos-api-tests",
23]
24
25BUNDLES = [
26 ":onos-drivers-odtn-driver",
quan PHAM VAN32d70e52018-08-01 17:35:30 -070027 "//drivers/utilities:onos-drivers-utilities",
Ray Milkey257eb6d2018-07-17 09:41:00 -070028]
29
30osgi_jar_with_tests(
31 resources = glob(["src/main/resources/**"]),
32 resources_root = "src/main/resources",
33 test_deps = TEST_DEPS,
34 deps = COMPILE_DEPS,
35)
36
37onos_app(
38 app_name = "org.onosproject.drivers.odtn-driver",
39 category = "Drivers",
40 description = "Drivers related to ODTN",
41 included_bundles = BUNDLES,
42 required_apps = [
Diego Garcia09ab5e22018-12-18 11:47:01 +010043 "org.onosproject.restsb",
Ray Milkey257eb6d2018-07-17 09:41:00 -070044 "org.onosproject.netconf",
quan PHAM VAN32d70e52018-08-01 17:35:30 -070045 "org.onosproject.config",
Ray Milkey257eb6d2018-07-17 09:41:00 -070046 "org.onosproject.odtn-api",
Ramon Casellas03f194f2018-11-15 16:06:02 +010047 "org.onosproject.drivers.netconf",
48 "org.onosproject.drivers.optical",
49 "org.onosproject.optical-model",
Yi Tseng9619d802020-03-19 23:28:31 +080050 "org.onosproject.drivers.gnmi",
Ray Milkey257eb6d2018-07-17 09:41:00 -070051 ],
52 title = "ODTN Driver",
53 url = "https://wiki.onosproject.org/display/ODTN/ODTN",
54)