Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [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 | "//core/store/serializers:onos-core-serializers", |
| 7 | "//protocols/gnmi/stub:gnmi_java_grpc", |
| 8 | "//protocols/gnmi/stub:gnmi_java_proto", |
| 9 | "//protocols/grpc/api:onos-protocols-grpc-api", |
Carmelo Cascone | 6a1ae71 | 2018-08-10 12:19:47 -0700 | [diff] [blame^] | 10 | "//protocols/grpc/proto:onos-protocols-grpc-proto", |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 11 | ] |
| 12 | |
| 13 | BUNDLES = [ |
| 14 | ":onos-drivers-gnmi", |
| 15 | ] |
| 16 | |
| 17 | osgi_jar ( |
| 18 | deps = COMPILE_DEPS, |
| 19 | resources = glob(["src/main/resources/**"]), |
| 20 | resources_root = "src/main/resources", |
| 21 | ) |
| 22 | |
| 23 | onos_app ( |
| 24 | app_name = "org.onosproject.drivers.gnmi", |
| 25 | title = "gNMI Drivers", |
| 26 | category = "Drivers", |
| 27 | url = "http://onosproject.org", |
| 28 | description = "Adds support for devices using gNMI protocol based on " + |
| 29 | " openconfig models: http://openconfig.net/ .", |
| 30 | included_bundles = BUNDLES, |
| 31 | required_apps = [ |
| 32 | "org.onosproject.generaldeviceprovider", |
| 33 | "org.onosproject.protocols.grpc", |
| 34 | "org.onosproject.protocols.gnmi" |
| 35 | ], |
| 36 | ) |