Michael Enrico | 584eebd | 2021-07-22 08:04:13 +0000 | [diff] [blame^] | 1 | COMPILE_DEPS = CORE_DEPS + JACKSON + ONOS_YANG + [ |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 2 | "//models/polatis:onos-models-polatis", |
| 3 | "//drivers/utilities:onos-drivers-utilities", |
| 4 | "//protocols/netconf/api:onos-protocols-netconf-api", |
| 5 | "//apps/optical-model:onos-apps-optical-model", |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 6 | ] |
| 7 | |
| 8 | APPS = [ |
| 9 | "org.onosproject.netconf", |
| 10 | "org.onosproject.models.common", |
| 11 | "org.onosproject.models.polatis", |
| 12 | "org.onosproject.optical-model", |
| 13 | "org.onosproject.faultmanagement", |
| 14 | ] |
| 15 | |
| 16 | TEST_DEPS = TEST_ADAPTERS + [ |
| 17 | "//utils/osgi:onlab-osgi-tests", |
| 18 | ] |
| 19 | |
| 20 | BUNDLES = [ |
| 21 | ":onos-drivers-polatis-netconf", |
| 22 | "//drivers/utilities:onos-drivers-utilities", |
| 23 | ] |
| 24 | |
| 25 | osgi_jar_with_tests( |
| 26 | resources = glob(["src/main/resources/**"]), |
| 27 | resources_root = "src/main/resources", |
| 28 | test_deps = TEST_DEPS, |
| 29 | deps = COMPILE_DEPS, |
| 30 | ) |
| 31 | |
| 32 | onos_app( |
| 33 | app_name = "org.onosproject.drivers.polatis.netconf", |
| 34 | category = "Drivers", |
| 35 | description = "ONOS Polatis Device Drivers application.", |
| 36 | included_bundles = BUNDLES, |
| 37 | required_apps = APPS, |
| 38 | title = "Polatis Device Drivers", |
| 39 | url = "http://www.polatis.com", |
| 40 | ) |