Additional bazel build files for apps
Change-Id: If3f31139022b5657e4a7b8a33871e4eba0da286e
diff --git a/apps/influxdbmetrics/BUILD b/apps/influxdbmetrics/BUILD
new file mode 100644
index 0000000..278e4cf
--- /dev/null
+++ b/apps/influxdbmetrics/BUILD
@@ -0,0 +1,39 @@
+COMPILE_DEPS = CORE_DEPS + METRICS + CLI + [
+ "@metrics_influxdb//jar",
+ "@influxdb_java//jar",
+ "@commons_codec//jar",
+ "@retrofit//jar",
+ "@okhttp//jar",
+ "@logging_interceptor//jar",
+ "@okio//jar",
+ "@moshi//jar",
+ "@converter_moshi//jar",
+ "@gson//jar",
+]
+
+EXCLUDED_BUNDLES = [
+ "@metrics_influxdb//jar",
+ "@influxdb_java//jar",
+ "@commons_codec//jar",
+ "@retrofit//jar",
+ "@okhttp//jar",
+ "@logging_interceptor//jar",
+ "@gson//jar",
+ "@okio//jar",
+ "@moshi//jar",
+ "@converter_moshi//jar",
+]
+
+osgi_jar_with_tests(
+ exclude_tests = ["org.onosproject.influxdbmetrics.InfluxDbMetricsReporterTest"],
+ test_deps = TEST_ADAPTERS,
+ deps = COMPILE_DEPS,
+)
+
+onos_app(
+ category = "Monitoring",
+ description = "Performance metric service reporter and retriever for influxDB.",
+ excluded_bundles = EXCLUDED_BUNDLES,
+ title = "InfluxDB Report and Query",
+ url = "http://onosproject.org",
+)