Ray Milkey
Committed by Gerrit Code Review

Fix up apps that require jar file wrapping

Change-Id: I5a04cfa7b97c51cdedd65bbcaeaec1cb500fd2de
1 +# app builds but is currently non functional. It needs transitive runtime
2 +# dependencies.
3 +
1 COMPILE_DEPS = [ 4 COMPILE_DEPS = [
2 '//lib:CORE_DEPS', 5 '//lib:CORE_DEPS',
3 '//lib:org.apache.karaf.shell.console', 6 '//lib:org.apache.karaf.shell.console',
...@@ -19,10 +22,13 @@ COMPILE_DEPS = [ ...@@ -19,10 +22,13 @@ COMPILE_DEPS = [
19 BUNDLES = [ 22 BUNDLES = [
20 '//apps/openstackinterface/api:onos-apps-openstackinterface-api', 23 '//apps/openstackinterface/api:onos-apps-openstackinterface-api',
21 '//apps/cordvtn:onos-apps-cordvtn', 24 '//apps/cordvtn:onos-apps-cordvtn',
25 + '//lib:openstack4j-core',
26 + '//lib:openstack4j-http-connector',
27 + '//lib:openstack4j-httpclient',
22 ] 28 ]
23 29
24 EXCLUDED_BUNDLES = [ 30 EXCLUDED_BUNDLES = [
25 - '//lib:jsch', # TODO - needs wrap 31 + '//lib:jsch',
26 ] 32 ]
27 33
28 osgi_jar_with_tests ( 34 osgi_jar_with_tests (
...@@ -37,5 +43,5 @@ onos_app ( ...@@ -37,5 +43,5 @@ onos_app (
37 included_bundles = BUNDLES, 43 included_bundles = BUNDLES,
38 excluded_bundles = EXCLUDED_BUNDLES, 44 excluded_bundles = EXCLUDED_BUNDLES,
39 description = 'APIs for interacting with the CORD VTN application.', 45 description = 'APIs for interacting with the CORD VTN application.',
40 - required_apps = [ 'org.onosproject.xosclient' ], 46 + required_apps = [ 'org.onosproject.xosclient', 'org.onosproject.dhcp', 'org.onosproject.ovsdb', 'org.onosproject.openstackinterface' ],
41 ) 47 )
......
...@@ -19,7 +19,7 @@ BUNDLES = [ ...@@ -19,7 +19,7 @@ BUNDLES = [
19 ] 19 ]
20 20
21 EXCLUDED_BUNDLES = [ 21 EXCLUDED_BUNDLES = [
22 - '//lib:rrd4j', # FIXME - needs wrap 22 + '//lib:rrd4j',
23 ] 23 ]
24 24
25 osgi_jar_with_tests ( 25 osgi_jar_with_tests (
......
...@@ -11,6 +11,10 @@ EXCLUDED_BUNDLES = [ ...@@ -11,6 +11,10 @@ EXCLUDED_BUNDLES = [
11 '//lib:influxdb-java', 11 '//lib:influxdb-java',
12 ] 12 ]
13 13
14 +BUNDLES = [
15 + '//lib:commons-codec',
16 +]
17 +
14 TEST_DEPS = [ 18 TEST_DEPS = [
15 '//lib:TEST_ADAPTERS', 19 '//lib:TEST_ADAPTERS',
16 ] 20 ]
...@@ -20,12 +24,11 @@ osgi_jar_with_tests ( ...@@ -20,12 +24,11 @@ osgi_jar_with_tests (
20 test_deps = TEST_DEPS, 24 test_deps = TEST_DEPS,
21 ) 25 )
22 26
23 -# TODO : Currently non-functional, needs the ability to wrap a non-OSGI jar
24 -
25 onos_app ( 27 onos_app (
26 title = 'InfluxDB Report and Query App', 28 title = 'InfluxDB Report and Query App',
27 category = 'Monitoring', 29 category = 'Monitoring',
28 url = 'http://onosproject.org', 30 url = 'http://onosproject.org',
29 description = 'Performance metric service reporter and retriever for influxDB.', 31 description = 'Performance metric service reporter and retriever for influxDB.',
32 + included_bundles = BUNDLES,
30 excluded_bundles = EXCLUDED_BUNDLES, 33 excluded_bundles = EXCLUDED_BUNDLES,
31 ) 34 )
......
...@@ -1727,3 +1727,19 @@ remote_file( ...@@ -1727,3 +1727,19 @@ remote_file(
1727 sha1 = 'd050e21295959a4ce2c07ca193ccbe28d8bfa3c1', 1727 sha1 = 'd050e21295959a4ce2c07ca193ccbe28d8bfa3c1',
1728 ) 1728 )
1729 1729
1730 +prebuilt_jar(
1731 + name = 'commons-codec',
1732 + binary_jar = ':commons-codec-1.10.jar',
1733 + maven_coords = 'commons-codec:commons-codec:1.10',
1734 + visibility = [ 'PUBLIC' ],
1735 +)
1736 +
1737 +remote_file(
1738 + name = 'commons-codec-1.10.jar',
1739 + out = 'commons-codec-1.10.jar',
1740 + url = 'mvn:commons-codec:commons-codec:jar:1.10',
1741 + sha1 = '4b95f4897fa13f2cd904aee711aeafc0c5295cd8',
1742 +)
1743 +
1744 +
1745 +
......
...@@ -97,6 +97,7 @@ ...@@ -97,6 +97,7 @@
97 "catalyst-local": "mvn:io.atomix.catalyst:catalyst-local:1.0.4", 97 "catalyst-local": "mvn:io.atomix.catalyst:catalyst-local:1.0.4",
98 "catalyst-serializer": "mvn:io.atomix.catalyst:catalyst-serializer:1.0.4", 98 "catalyst-serializer": "mvn:io.atomix.catalyst:catalyst-serializer:1.0.4",
99 "catalyst-transport": "mvn:io.atomix.catalyst:catalyst-transport:1.0.4", 99 "catalyst-transport": "mvn:io.atomix.catalyst:catalyst-transport:1.0.4",
100 + "commons-codec": "mvn:commons-codec:commons-codec:1.10",
100 "commons-collections": "mvn:commons-collections:commons-collections:3.2.2", 101 "commons-collections": "mvn:commons-collections:commons-collections:3.2.2",
101 "commons-configuration": "mvn:commons-configuration:commons-configuration:1.10", 102 "commons-configuration": "mvn:commons-configuration:commons-configuration:1.10",
102 "commons-io": "mvn:commons-io:commons-io:2.4", 103 "commons-io": "mvn:commons-io:commons-io:2.4",
...@@ -220,4 +221,4 @@ ...@@ -220,4 +221,4 @@
220 "openstack4j-http-connector": "mvn:org.pacesys.openstack4j.connectors:openstack4j-http-connector:2.11", 221 "openstack4j-http-connector": "mvn:org.pacesys.openstack4j.connectors:openstack4j-http-connector:2.11",
221 "openstack4j-httpclient": "mvn:org.pacesys.openstack4j.connectors:openstack4j-httpclient:2.11" 222 "openstack4j-httpclient": "mvn:org.pacesys.openstack4j.connectors:openstack4j-httpclient:2.11"
222 } 223 }
223 -}
...\ No newline at end of file ...\ No newline at end of file
224 +}
......
...@@ -5,7 +5,7 @@ BUNDLES = [ ...@@ -5,7 +5,7 @@ BUNDLES = [
5 ] 5 ]
6 6
7 EXCLUDED_BUNDLES = [ 7 EXCLUDED_BUNDLES = [
8 - '//lib:ganymed-ssh2', # FIXME - Needs wrap 8 + '//lib:ganymed-ssh2',
9 ] 9 ]
10 10
11 onos_app ( 11 onos_app (
......