blob: be1191078ae8889e7f2b96ae3dfba89259d59313 [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",
Ray Milkey257eb6d2018-07-17 09:41:00 -070014]
15
16TEST_DEPS = TEST_ADAPTERS + [
17 "@slf4j_jdk14//jar",
18 "//core/api:onos-api-tests",
19]
20
21BUNDLES = [
22 ":onos-drivers-odtn-driver",
quan PHAM VAN32d70e52018-08-01 17:35:30 -070023 "//drivers/utilities:onos-drivers-utilities",
Ray Milkey257eb6d2018-07-17 09:41:00 -070024]
25
26osgi_jar_with_tests(
27 resources = glob(["src/main/resources/**"]),
28 resources_root = "src/main/resources",
29 test_deps = TEST_DEPS,
30 deps = COMPILE_DEPS,
31)
32
33onos_app(
34 app_name = "org.onosproject.drivers.odtn-driver",
35 category = "Drivers",
36 description = "Drivers related to ODTN",
37 included_bundles = BUNDLES,
38 required_apps = [
Diego Garcia09ab5e22018-12-18 11:47:01 +010039 "org.onosproject.restsb",
Ray Milkey257eb6d2018-07-17 09:41:00 -070040 "org.onosproject.netconf",
quan PHAM VAN32d70e52018-08-01 17:35:30 -070041 "org.onosproject.config",
Ray Milkey257eb6d2018-07-17 09:41:00 -070042 "org.onosproject.odtn-api",
Ramon Casellas03f194f2018-11-15 16:06:02 +010043 "org.onosproject.drivers.netconf",
44 "org.onosproject.drivers.optical",
45 "org.onosproject.optical-model",
Ray Milkey257eb6d2018-07-17 09:41:00 -070046 ],
47 title = "ODTN Driver",
48 url = "https://wiki.onosproject.org/display/ODTN/ODTN",
49)