oleksandr.yashchuk@plvision.eu | 3dbcaaf | 2019-03-13 14:44:46 +0200 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + KRYO + [ |
| 2 | "@com_google_protobuf//:protobuf_java", |
| 3 | "@io_grpc_grpc_java//core", |
| 4 | "@io_grpc_grpc_java//netty", |
| 5 | "@io_grpc_grpc_java//stub", |
| 6 | "//protocols/gnoi/stub:onos-protocols-gnoi-stub", |
| 7 | "//protocols/gnoi/api:onos-protocols-gnoi-api", |
| 8 | "//protocols/grpc/api:onos-protocols-grpc-api", |
| 9 | ] |
| 10 | |
| 11 | BUNDLES = [ |
| 12 | ":onos-drivers-gnoi", |
| 13 | ] |
| 14 | |
| 15 | osgi_jar( |
| 16 | resources = glob(["src/main/resources/**"]), |
| 17 | resources_root = "src/main/resources", |
| 18 | deps = COMPILE_DEPS, |
| 19 | ) |
| 20 | |
| 21 | onos_app( |
| 22 | app_name = "org.onosproject.drivers.gnoi", |
| 23 | category = "Drivers", |
| 24 | description = "Adds support for devices using gNOI protocol based on " + |
| 25 | " openconfig proto definitions: https://github.com/openconfig/gnoi/ .", |
| 26 | included_bundles = BUNDLES, |
| 27 | required_apps = [ |
| 28 | "org.onosproject.generaldeviceprovider", |
| 29 | "org.onosproject.protocols.gnoi", |
| 30 | ], |
| 31 | title = "gNOI Drivers", |
| 32 | url = "https://github.com/openconfig/gnoi/", |
| 33 | ) |