Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + [ |
Ray Milkey | 86ad7bb | 2018-09-27 12:32:28 -0700 | [diff] [blame] | 2 | "@commons_jxpath//jar", |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 3 | "//drivers/utilities:onos-drivers-utilities", |
| 4 | "//protocols/netconf/api:onos-protocols-netconf-api", |
Diego Garcia | 09ab5e2 | 2018-12-18 11:47:01 +0100 | [diff] [blame] | 5 | "//protocols/rest/api:onos-protocols-rest-api", |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 6 | "//apps/odtn/api:onos-apps-odtn-api", |
Diego Garcia | 09ab5e2 | 2018-12-18 11:47:01 +0100 | [diff] [blame] | 7 | "@jackson_databind//jar", |
| 8 | "@javax_ws_rs_api//jar", |
Ramon Casellas | 03f194f | 2018-11-15 16:06:02 +0100 | [diff] [blame] | 9 | "//apps/optical-model:onos-apps-optical-model", |
| 10 | "//drivers/optical:onos-drivers-optical", |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 11 | ] |
| 12 | |
| 13 | TEST_DEPS = TEST_ADAPTERS + [ |
| 14 | "@slf4j_jdk14//jar", |
| 15 | "//core/api:onos-api-tests", |
| 16 | ] |
| 17 | |
| 18 | BUNDLES = [ |
| 19 | ":onos-drivers-odtn-driver", |
quan PHAM VAN | 32d70e5 | 2018-08-01 17:35:30 -0700 | [diff] [blame] | 20 | "//drivers/utilities:onos-drivers-utilities", |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 21 | ] |
| 22 | |
| 23 | osgi_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 | |
| 30 | onos_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 Garcia | 09ab5e2 | 2018-12-18 11:47:01 +0100 | [diff] [blame] | 36 | "org.onosproject.restsb", |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 37 | "org.onosproject.netconf", |
quan PHAM VAN | 32d70e5 | 2018-08-01 17:35:30 -0700 | [diff] [blame] | 38 | "org.onosproject.config", |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 39 | "org.onosproject.odtn-api", |
Ramon Casellas | 03f194f | 2018-11-15 16:06:02 +0100 | [diff] [blame] | 40 | "org.onosproject.drivers.netconf", |
| 41 | "org.onosproject.drivers.optical", |
| 42 | "org.onosproject.optical-model", |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 43 | ], |
| 44 | title = "ODTN Driver", |
| 45 | url = "https://wiki.onosproject.org/display/ODTN/ODTN", |
| 46 | ) |