blob: 5bd1683fd6fe36849887ff55bb19dfeb5fe1fa41 [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",
boyoung2a8549d22018-11-23 20:42:37 +09006 "@commons_codec//jar",
Jian Lid486a732018-08-03 00:32:11 +09007 "@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 Li4c615ac2018-10-23 16:02:02 +090013 # prometheus deps
14 "@simpleclient//jar",
15 "@simpleclient_common//jar",
16 "@simpleclient_hotspot//jar",
17 "@simpleclient_servlet//jar",
Jian Li8bdc8282018-08-16 21:57:39 +090018 # gRPC dependencies (with patched core)
19 ":grpc-core-repkg",
20 "@runtime_grpc_stub//jar",
21 "@runtime_grpc_netty//jar",
22 "@runtime_grpc_auth//jar",
23 "@runtime_grpc_protobuf//jar",
24 "@runtime_grpc_protobuf_lite//jar",
25 "@runtime_protobuf//jar",
26 "@com_google_api_grpc_proto_google_common_protos//jar",
27 "@com_google_errorprone_error_prone_annotations//jar",
28 "@com_google_auth_google_auth_library_credentials//jar",
29 "@io_opencensus_opencensus_api//jar",
30 "@io_opencensus_opencensus_contrib_grpc_metrics//jar",
31 "@com_google_code_gson_gson//jar",
Jian Lid486a732018-08-03 00:32:11 +090032 "//apps/openstacktelemetry/api:onos-apps-openstacktelemetry-api",
33 "//apps/openstacktelemetry/app:onos-apps-openstacktelemetry-app",
Jian Li7fe7eaf2018-12-31 17:00:33 +090034 "//apps/openstacktelemetry/web:onos-apps-openstacktelemetry-web",
Jian Lid486a732018-08-03 00:32:11 +090035]
36
37onos_app(
38 category = "Integration",
39 description = "SONA Openstack Telemetry Application.",
40 included_bundles = BUNDLES,
41 required_apps = [
42 "org.onosproject.openstacknetworking",
43 ],
44 title = "OpenStack Telemetry Application",
45 url = "https://wiki.onosproject.org/display/ONOS/SONA%3A+DC+Network+Virtualization",
46)
Jian Li8bdc8282018-08-16 21:57:39 +090047
48wrapped_osgi_jar(
49 name = "grpc-core-repkg",
50 jar = "@io_grpc_grpc_java//core",
51 visibility = ["//visibility:public"],
52 deps = ["@io_opencensus_opencensus_api//jar"],
Ray Milkeya8f48402018-08-16 15:59:03 -070053)