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", |
| 11 | "@gson//jar", |
| 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", |
| 21 | "@gson//jar", |
| 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 | ) |