blob: aa7e75dd7f51d3208304fa9002dfa7a40623eef4 [file] [log] [blame]
Ray Milkey35ea5bf2018-07-17 15:28:44 -07001COMPILE_DEPS = CORE_DEPS + METRICS + CLI + [
2 "@metrics_influxdb//jar",
3 "@influxdb_java//jar",
4 "@commons_codec//jar",
5 "@retrofit//jar",
6 "@okhttp//jar",
7 "@logging_interceptor//jar",
8 "@okio//jar",
9 "@moshi//jar",
10 "@converter_moshi//jar",
Carmelo Cascone72893b72018-08-09 00:59:06 -070011 "@com_google_code_gson_gson//jar",
Ray Milkey35ea5bf2018-07-17 15:28:44 -070012]
13
Jian Li40010b52018-09-17 22:54:49 +090014BUNDLES = [
15 "@metrics_influxdb//jar",
16 "@influxdb_java//jar",
17 "@commons_codec//jar",
18 "@retrofit//jar",
19 "@okhttp//jar",
20 "@logging_interceptor//jar",
21 "@com_google_code_gson_gson//jar",
22 "@okio//jar",
23 "@moshi//jar",
24 "@converter_moshi//jar",
25]
26
Ray Milkey35ea5bf2018-07-17 15:28:44 -070027EXCLUDED_BUNDLES = [
28 "@metrics_influxdb//jar",
29 "@influxdb_java//jar",
30 "@commons_codec//jar",
31 "@retrofit//jar",
32 "@okhttp//jar",
33 "@logging_interceptor//jar",
Carmelo Cascone72893b72018-08-09 00:59:06 -070034 "@com_google_code_gson_gson//jar",
Ray Milkey35ea5bf2018-07-17 15:28:44 -070035 "@okio//jar",
36 "@moshi//jar",
37 "@converter_moshi//jar",
38]
39
40osgi_jar_with_tests(
41 exclude_tests = ["org.onosproject.influxdbmetrics.InfluxDbMetricsReporterTest"],
42 test_deps = TEST_ADAPTERS,
43 deps = COMPILE_DEPS,
44)
45
46onos_app(
47 category = "Monitoring",
48 description = "Performance metric service reporter and retriever for influxDB.",
49 excluded_bundles = EXCLUDED_BUNDLES,
Jian Li40010b52018-09-17 22:54:49 +090050 included_bundles = BUNDLES,
Ray Milkey35ea5bf2018-07-17 15:28:44 -070051 title = "InfluxDB Report and Query",
52 url = "http://onosproject.org",
53)