Fix up apps that require jar file wrapping
Change-Id: I5a04cfa7b97c51cdedd65bbcaeaec1cb500fd2de
diff --git a/apps/cordvtn/BUCK b/apps/cordvtn/BUCK
index cd0e8cb..a9e548e 100644
--- a/apps/cordvtn/BUCK
+++ b/apps/cordvtn/BUCK
@@ -1,3 +1,6 @@
+# app builds but is currently non functional. It needs transitive runtime
+# dependencies.
+
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:org.apache.karaf.shell.console',
@@ -19,10 +22,13 @@
BUNDLES = [
'//apps/openstackinterface/api:onos-apps-openstackinterface-api',
'//apps/cordvtn:onos-apps-cordvtn',
+ '//lib:openstack4j-core',
+ '//lib:openstack4j-http-connector',
+ '//lib:openstack4j-httpclient',
]
EXCLUDED_BUNDLES = [
- '//lib:jsch', # TODO - needs wrap
+ '//lib:jsch',
]
osgi_jar_with_tests (
@@ -37,5 +43,5 @@
included_bundles = BUNDLES,
excluded_bundles = EXCLUDED_BUNDLES,
description = 'APIs for interacting with the CORD VTN application.',
- required_apps = [ 'org.onosproject.xosclient' ],
+ required_apps = [ 'org.onosproject.xosclient', 'org.onosproject.dhcp', 'org.onosproject.ovsdb', 'org.onosproject.openstackinterface' ],
)
diff --git a/apps/cpman/app/BUCK b/apps/cpman/app/BUCK
index 4dbe55a..8ceba0e 100644
--- a/apps/cpman/app/BUCK
+++ b/apps/cpman/app/BUCK
@@ -19,7 +19,7 @@
]
EXCLUDED_BUNDLES = [
- '//lib:rrd4j', # FIXME - needs wrap
+ '//lib:rrd4j',
]
osgi_jar_with_tests (
diff --git a/apps/influxdbmetrics/BUCK b/apps/influxdbmetrics/BUCK
index 9df1a24..017443e 100644
--- a/apps/influxdbmetrics/BUCK
+++ b/apps/influxdbmetrics/BUCK
@@ -11,6 +11,10 @@
'//lib:influxdb-java',
]
+BUNDLES = [
+ '//lib:commons-codec',
+]
+
TEST_DEPS = [
'//lib:TEST_ADAPTERS',
]
@@ -20,12 +24,11 @@
test_deps = TEST_DEPS,
)
-# TODO : Currently non-functional, needs the ability to wrap a non-OSGI jar
-
onos_app (
title = 'InfluxDB Report and Query App',
category = 'Monitoring',
url = 'http://onosproject.org',
description = 'Performance metric service reporter and retriever for influxDB.',
+ included_bundles = BUNDLES,
excluded_bundles = EXCLUDED_BUNDLES,
)