Bugfix: fix InfluxdbMetrics activation issue due to incorrect deps
Change-Id: I1e14119eb753e93d419f006c953f170ff6473965
diff --git a/apps/influxdbmetrics/BUCK b/apps/influxdbmetrics/BUCK
index 017443e..2f27aa1 100644
--- a/apps/influxdbmetrics/BUCK
+++ b/apps/influxdbmetrics/BUCK
@@ -3,16 +3,22 @@
'//lib:org.apache.karaf.shell.console',
'//lib:metrics-influxdb',
'//lib:influxdb-java',
+ '//lib:commons-codec',
+ '//lib:retrofit',
+ '//lib:okhttp',
+ '//lib:okio',
+ '//lib:gson',
'//cli:onos-cli',
]
EXCLUDED_BUNDLES = [
'//lib:metrics-influxdb',
'//lib:influxdb-java',
-]
-
-BUNDLES = [
'//lib:commons-codec',
+ '//lib:retrofit',
+ '//lib:okhttp',
+ '//lib:gson',
+ '//lib:okio',
]
TEST_DEPS = [
@@ -29,6 +35,5 @@
category = 'Monitoring',
url = 'http://onosproject.org',
description = 'Performance metric service reporter and retriever for influxDB.',
- included_bundles = BUNDLES,
excluded_bundles = EXCLUDED_BUNDLES,
)
diff --git a/lib/BUCK b/lib/BUCK
index 3868ba1..8dba5c5 100644
--- a/lib/BUCK
+++ b/lib/BUCK
@@ -1,4 +1,4 @@
-# ***** This file was auto-generated at Fri Feb 03 11:48:32 KST 2017. Do not edit this file manually. *****
+# ***** This file was auto-generated at Wed Feb 15 21:56:24 KST 2017. Do not edit this file manually. *****
# ***** Use onos-lib-gen *****
pass_thru_pom(
@@ -415,6 +415,33 @@
)
remote_jar (
+ name = 'retrofit',
+ out = 'retrofit-1.9.0.jar',
+ url = 'mvn:com.squareup.retrofit:retrofit:jar:1.9.0',
+ sha1 = 'a681c044244d9fc375198588297a39ba78028423',
+ maven_coords = 'com.squareup.retrofit:retrofit:jar:NON-OSGI:1.9.0',
+ visibility = [ 'PUBLIC' ],
+)
+
+remote_jar (
+ name = 'okhttp',
+ out = 'okhttp-2.4.0.jar',
+ url = 'mvn:com.squareup.okhttp:okhttp:jar:2.4.0',
+ sha1 = '40340c0748190fe897baf7bffbc1b282734294e5',
+ maven_coords = 'com.squareup.okhttp:okhttp:jar:NON-OSGI:2.4.0',
+ visibility = [ 'PUBLIC' ],
+)
+
+remote_jar (
+ name = 'okio',
+ out = 'okio-1.4.0.jar',
+ url = 'mvn:com.squareup.okio:okio:jar:1.4.0',
+ sha1 = '5b72bf48563ea8410e650de14aa33ff69a3e8c35',
+ maven_coords = 'com.squareup.okio:okio:jar:NON-OSGI:1.4.0',
+ visibility = [ 'PUBLIC' ],
+)
+
+remote_jar (
name = 'jackson-annotations',
out = 'jackson-annotations-2.8.6.jar',
url = 'mvn:com.fasterxml.jackson.core:jackson-annotations:jar:2.8.6',
diff --git a/lib/deps.json b/lib/deps.json
index 8d73a3b..571e6b9 100644
--- a/lib/deps.json
+++ b/lib/deps.json
@@ -120,6 +120,9 @@
"httpclient-osgi": "mvn:org.apache.httpcomponents:httpclient-osgi:4.5.1",
"httpcore-osgi": "mvn:org.apache.httpcomponents:httpcore-osgi:4.4.4",
"influxdb-java": "mvn:org.influxdb:influxdb-java:2.2",
+ "retrofit": "mvn:com.squareup.retrofit:retrofit:1.9.0",
+ "okhttp": "mvn:com.squareup.okhttp:okhttp:2.4.0",
+ "okio": "mvn:com.squareup.okio:okio:1.4.0",
"jackson-annotations": "mvn:com.fasterxml.jackson.core:jackson-annotations:2.8.6",
"jackson-core": "mvn:com.fasterxml.jackson.core:jackson-core:2.8.6",
"jackson-databind": "mvn:com.fasterxml.jackson.core:jackson-databind:2.8.6",