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", |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 6 | "@retrofit//jar", |
| 7 | "@okhttp//jar", |
| 8 | "@logging_interceptor//jar", |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 9 | "@okio//jar", |
| 10 | "@moshi//jar", |
| 11 | "@converter_moshi//jar", |
Jian Li | 4c615ac | 2018-10-23 16:02:02 +0900 | [diff] [blame] | 12 | # prometheus deps |
| 13 | "@simpleclient//jar", |
| 14 | "@simpleclient_common//jar", |
| 15 | "@simpleclient_hotspot//jar", |
| 16 | "@simpleclient_servlet//jar", |
| 17 | "@jetty_servlet//jar", |
| 18 | "@jetty_http//jar", |
| 19 | "@jetty_server//jar", |
| 20 | "@jetty_util//jar", |
| 21 | "@jetty_security//jar", |
| 22 | "@jetty_io//jar", |
| 23 | "@jetty_websocket//jar", |
| 24 | "@servlet_api//jar", |
Jian Li | 8bdc828 | 2018-08-16 21:57:39 +0900 | [diff] [blame] | 25 | # gRPC dependencies (with patched core) |
| 26 | ":grpc-core-repkg", |
| 27 | "@runtime_grpc_stub//jar", |
| 28 | "@runtime_grpc_netty//jar", |
| 29 | "@runtime_grpc_auth//jar", |
| 30 | "@runtime_grpc_protobuf//jar", |
| 31 | "@runtime_grpc_protobuf_lite//jar", |
| 32 | "@runtime_protobuf//jar", |
| 33 | "@com_google_api_grpc_proto_google_common_protos//jar", |
| 34 | "@com_google_errorprone_error_prone_annotations//jar", |
| 35 | "@com_google_auth_google_auth_library_credentials//jar", |
| 36 | "@io_opencensus_opencensus_api//jar", |
| 37 | "@io_opencensus_opencensus_contrib_grpc_metrics//jar", |
| 38 | "@com_google_code_gson_gson//jar", |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 39 | "//apps/openstacktelemetry/api:onos-apps-openstacktelemetry-api", |
| 40 | "//apps/openstacktelemetry/app:onos-apps-openstacktelemetry-app", |
| 41 | ] |
| 42 | |
| 43 | onos_app( |
| 44 | category = "Integration", |
| 45 | description = "SONA Openstack Telemetry Application.", |
| 46 | included_bundles = BUNDLES, |
| 47 | required_apps = [ |
| 48 | "org.onosproject.openstacknetworking", |
| 49 | ], |
| 50 | title = "OpenStack Telemetry Application", |
| 51 | url = "https://wiki.onosproject.org/display/ONOS/SONA%3A+DC+Network+Virtualization", |
| 52 | ) |
Jian Li | 8bdc828 | 2018-08-16 21:57:39 +0900 | [diff] [blame] | 53 | |
| 54 | wrapped_osgi_jar( |
| 55 | name = "grpc-core-repkg", |
| 56 | jar = "@io_grpc_grpc_java//core", |
| 57 | visibility = ["//visibility:public"], |
| 58 | deps = ["@io_opencensus_opencensus_api//jar"], |
Ray Milkey | a8f4840 | 2018-08-16 15:59:03 -0700 | [diff] [blame] | 59 | ) |