Jian Li | 8bdc828 | 2018-08-16 21:57:39 +0900 | [diff] [blame] | 1 | load("//tools/build/bazel:osgi_java_library.bzl", "wrapped_osgi_jar") |
| 2 | |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 3 | BUNDLES = [ |
| 4 | "@kafka_clients//jar", |
| 5 | "@influxdb_java//jar", |
| 6 | "@commons_codec//jar", |
| 7 | "@retrofit//jar", |
| 8 | "@okhttp//jar", |
| 9 | "@logging_interceptor//jar", |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 10 | "@okio//jar", |
| 11 | "@moshi//jar", |
| 12 | "@converter_moshi//jar", |
Jian Li | 8bdc828 | 2018-08-16 21:57:39 +0900 | [diff] [blame] | 13 | # gRPC dependencies (with patched core) |
| 14 | ":grpc-core-repkg", |
| 15 | "@runtime_grpc_stub//jar", |
| 16 | "@runtime_grpc_netty//jar", |
| 17 | "@runtime_grpc_auth//jar", |
| 18 | "@runtime_grpc_protobuf//jar", |
| 19 | "@runtime_grpc_protobuf_lite//jar", |
| 20 | "@runtime_protobuf//jar", |
| 21 | "@com_google_api_grpc_proto_google_common_protos//jar", |
| 22 | "@com_google_errorprone_error_prone_annotations//jar", |
| 23 | "@com_google_auth_google_auth_library_credentials//jar", |
| 24 | "@io_opencensus_opencensus_api//jar", |
| 25 | "@io_opencensus_opencensus_contrib_grpc_metrics//jar", |
| 26 | "@com_google_code_gson_gson//jar", |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 27 | "//apps/openstacktelemetry/api:onos-apps-openstacktelemetry-api", |
| 28 | "//apps/openstacktelemetry/app:onos-apps-openstacktelemetry-app", |
| 29 | ] |
| 30 | |
| 31 | onos_app( |
| 32 | category = "Integration", |
| 33 | description = "SONA Openstack Telemetry Application.", |
| 34 | included_bundles = BUNDLES, |
| 35 | required_apps = [ |
| 36 | "org.onosproject.openstacknetworking", |
| 37 | ], |
| 38 | title = "OpenStack Telemetry Application", |
| 39 | url = "https://wiki.onosproject.org/display/ONOS/SONA%3A+DC+Network+Virtualization", |
| 40 | ) |
Jian Li | 8bdc828 | 2018-08-16 21:57:39 +0900 | [diff] [blame] | 41 | |
| 42 | wrapped_osgi_jar( |
| 43 | name = "grpc-core-repkg", |
| 44 | jar = "@io_grpc_grpc_java//core", |
| 45 | visibility = ["//visibility:public"], |
| 46 | deps = ["@io_opencensus_opencensus_api//jar"], |
| 47 | ) |