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", |
| 5 | "//apps/odtn/api:onos-apps-odtn-api", |
Ramon Casellas | 03f194f | 2018-11-15 16:06:02 +0100 | [diff] [blame] | 6 | "//apps/optical-model:onos-apps-optical-model", |
| 7 | "//drivers/optical:onos-drivers-optical", |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 8 | ] |
| 9 | |
| 10 | TEST_DEPS = TEST_ADAPTERS + [ |
| 11 | "@slf4j_jdk14//jar", |
| 12 | "//core/api:onos-api-tests", |
| 13 | ] |
| 14 | |
| 15 | BUNDLES = [ |
| 16 | ":onos-drivers-odtn-driver", |
quan PHAM VAN | 32d70e5 | 2018-08-01 17:35:30 -0700 | [diff] [blame] | 17 | "//drivers/utilities:onos-drivers-utilities", |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 18 | ] |
| 19 | |
| 20 | osgi_jar_with_tests( |
| 21 | resources = glob(["src/main/resources/**"]), |
| 22 | resources_root = "src/main/resources", |
| 23 | test_deps = TEST_DEPS, |
| 24 | deps = COMPILE_DEPS, |
| 25 | ) |
| 26 | |
| 27 | onos_app( |
| 28 | app_name = "org.onosproject.drivers.odtn-driver", |
| 29 | category = "Drivers", |
| 30 | description = "Drivers related to ODTN", |
| 31 | included_bundles = BUNDLES, |
| 32 | required_apps = [ |
| 33 | "org.onosproject.netconf", |
quan PHAM VAN | 32d70e5 | 2018-08-01 17:35:30 -0700 | [diff] [blame] | 34 | "org.onosproject.config", |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 35 | "org.onosproject.odtn-api", |
Ramon Casellas | 03f194f | 2018-11-15 16:06:02 +0100 | [diff] [blame] | 36 | "org.onosproject.drivers.netconf", |
| 37 | "org.onosproject.drivers.optical", |
| 38 | "org.onosproject.optical-model", |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 39 | ], |
| 40 | title = "ODTN Driver", |
| 41 | url = "https://wiki.onosproject.org/display/ODTN/ODTN", |
| 42 | ) |