Committed by
Gerrit Code Review
Fix up apps that require jar file wrapping
Change-Id: I5a04cfa7b97c51cdedd65bbcaeaec1cb500fd2de
Showing
6 changed files
with
33 additions
and
7 deletions
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 | ) | ... | ... |
... | @@ -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 | +} | ... | ... |
-
Please register or login to post a comment