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 | |
Jian Li | 40010b5 | 2018-09-17 22:54:49 +0900 | [diff] [blame] | 14 | BUNDLES = [ |
| 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 Milkey | 35ea5bf | 2018-07-17 15:28:44 -0700 | [diff] [blame] | 27 | EXCLUDED_BUNDLES = [ |
| 28 | "@metrics_influxdb//jar", |
| 29 | "@influxdb_java//jar", |
| 30 | "@commons_codec//jar", |
| 31 | "@retrofit//jar", |
| 32 | "@okhttp//jar", |
| 33 | "@logging_interceptor//jar", |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 34 | "@com_google_code_gson_gson//jar", |
Ray Milkey | 35ea5bf | 2018-07-17 15:28:44 -0700 | [diff] [blame] | 35 | "@okio//jar", |
| 36 | "@moshi//jar", |
| 37 | "@converter_moshi//jar", |
| 38 | ] |
| 39 | |
| 40 | osgi_jar_with_tests( |
| 41 | exclude_tests = ["org.onosproject.influxdbmetrics.InfluxDbMetricsReporterTest"], |
| 42 | test_deps = TEST_ADAPTERS, |
| 43 | deps = COMPILE_DEPS, |
| 44 | ) |
| 45 | |
| 46 | onos_app( |
| 47 | category = "Monitoring", |
| 48 | description = "Performance metric service reporter and retriever for influxDB.", |
| 49 | excluded_bundles = EXCLUDED_BUNDLES, |
Jian Li | 40010b5 | 2018-09-17 22:54:49 +0900 | [diff] [blame] | 50 | included_bundles = BUNDLES, |
Ray Milkey | 35ea5bf | 2018-07-17 15:28:44 -0700 | [diff] [blame] | 51 | title = "InfluxDB Report and Query", |
| 52 | url = "http://onosproject.org", |
| 53 | ) |