Ray Milkey | 35ea5bf | 2018-07-17 15:28:44 -0700 | [diff] [blame] | 1 | COMPILE_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 Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 11 | "@com_google_code_gson_gson//jar", |
Ray Milkey | 35ea5bf | 2018-07-17 15:28:44 -0700 | [diff] [blame] | 12 | ] |
| 13 | |
| 14 | EXCLUDED_BUNDLES = [ |
| 15 | "@metrics_influxdb//jar", |
| 16 | "@influxdb_java//jar", |
| 17 | "@commons_codec//jar", |
| 18 | "@retrofit//jar", |
| 19 | "@okhttp//jar", |
| 20 | "@logging_interceptor//jar", |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 21 | "@com_google_code_gson_gson//jar", |
Ray Milkey | 35ea5bf | 2018-07-17 15:28:44 -0700 | [diff] [blame] | 22 | "@okio//jar", |
| 23 | "@moshi//jar", |
| 24 | "@converter_moshi//jar", |
| 25 | ] |
| 26 | |
| 27 | osgi_jar_with_tests( |
| 28 | exclude_tests = ["org.onosproject.influxdbmetrics.InfluxDbMetricsReporterTest"], |
| 29 | test_deps = TEST_ADAPTERS, |
| 30 | deps = COMPILE_DEPS, |
| 31 | ) |
| 32 | |
| 33 | onos_app( |
| 34 | category = "Monitoring", |
| 35 | description = "Performance metric service reporter and retriever for influxDB.", |
| 36 | excluded_bundles = EXCLUDED_BUNDLES, |
| 37 | title = "InfluxDB Report and Query", |
| 38 | url = "http://onosproject.org", |
| 39 | ) |