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