Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + ONOS_YANG + [ |
| 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", |
| 6 | "//incubator/api:onos-incubator-api", |
| 7 | ] |
| 8 | |
| 9 | APPS = [ |
| 10 | "org.onosproject.netconf", |
| 11 | "org.onosproject.models.common", |
| 12 | "org.onosproject.models.polatis", |
| 13 | "org.onosproject.optical-model", |
| 14 | "org.onosproject.faultmanagement", |
| 15 | ] |
| 16 | |
| 17 | TEST_DEPS = TEST_ADAPTERS + [ |
| 18 | "//utils/osgi:onlab-osgi-tests", |
| 19 | ] |
| 20 | |
| 21 | BUNDLES = [ |
| 22 | ":onos-drivers-polatis-netconf", |
| 23 | "//drivers/utilities:onos-drivers-utilities", |
| 24 | ] |
| 25 | |
| 26 | osgi_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 | |
| 33 | onos_app( |
| 34 | app_name = "org.onosproject.drivers.polatis.netconf", |
| 35 | category = "Drivers", |
| 36 | description = "ONOS Polatis Device Drivers application.", |
| 37 | included_bundles = BUNDLES, |
| 38 | required_apps = APPS, |
| 39 | title = "Polatis Device Drivers", |
| 40 | url = "http://www.polatis.com", |
| 41 | ) |