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