blob: 61481ae97a57466e85aef90c521eb4389be9acdd [file] [log] [blame]
Jian Li8bdc8282018-08-16 21:57:39 +09001load("//tools/build/bazel:osgi_java_library.bzl", "wrapped_osgi_jar")
2
Jian Lid486a732018-08-03 00:32:11 +09003BUNDLES = [
4 "@kafka_clients//jar",
5 "@influxdb_java//jar",
6 "@commons_codec//jar",
7 "@retrofit//jar",
8 "@okhttp//jar",
9 "@logging_interceptor//jar",
Jian Lid486a732018-08-03 00:32:11 +090010 "@okio//jar",
11 "@moshi//jar",
12 "@converter_moshi//jar",
Jian Li8bdc8282018-08-16 21:57:39 +090013 # 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 Lid486a732018-08-03 00:32:11 +090027 "//apps/openstacktelemetry/api:onos-apps-openstacktelemetry-api",
28 "//apps/openstacktelemetry/app:onos-apps-openstacktelemetry-app",
29]
30
31onos_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 Li8bdc8282018-08-16 21:57:39 +090041
42wrapped_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"],
Ray Milkeya8f48402018-08-16 15:59:03 -070047)