Jian Li | 753280e | 2018-07-03 02:24:34 +0900 | [diff] [blame] | 1 | include_defs('//apps/openstacknode/openstack4j.bucklet') |
Jian Li | 156c96f | 2018-02-28 11:53:14 +0900 | [diff] [blame] | 2 | |
| 3 | COMPILE_DEPS = [ |
| 4 | '//lib:CORE_DEPS', |
| 5 | '//lib:JACKSON', |
| 6 | '//lib:KRYO', |
| 7 | '//core/store/serializers:onos-core-serializers', |
| 8 | '//lib:org.apache.karaf.shell.console', |
| 9 | '//lib:javax.ws.rs-api', |
| 10 | '//utils/rest:onlab-rest', |
| 11 | '//cli:onos-cli', |
| 12 | '//apps/openstacknode/api:onos-apps-openstacknode-api', |
| 13 | '//apps/openstacknetworking/api:onos-apps-openstacknetworking-api', |
Daniel Park | c4d0640 | 2018-05-28 15:57:37 +0900 | [diff] [blame] | 14 | '//protocols/ovsdb/api:onos-protocols-ovsdb-api', |
| 15 | '//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc', |
Jian Li | 6343020 | 2018-08-30 16:24:09 +0900 | [diff] [blame] | 16 | '//lib:httpclient-osgi', |
| 17 | '//lib:httpcore-osgi', |
| 18 | '//lib:commons-codec', |
Jian Li | 156c96f | 2018-02-28 11:53:14 +0900 | [diff] [blame] | 19 | '//lib:openstack4j-core', |
| 20 | '//lib:openstack4j-http-connector', |
| 21 | '//lib:openstack4j-httpclient', |
| 22 | '//lib:json-patch', |
| 23 | '//lib:jackson-coreutils', |
| 24 | '//lib:btf', |
| 25 | '//lib:msg-simple', |
| 26 | '//lib:snakeyaml', |
| 27 | ] |
| 28 | |
| 29 | TEST_DEPS = [ |
| 30 | '//lib:TEST_ADAPTERS', |
| 31 | '//core/api:onos-api-tests', |
| 32 | '//core/common:onos-core-common-tests', |
| 33 | '//web/api:onos-rest-tests', |
| 34 | '//lib:TEST_REST', |
Jian Li | 5a38ab6 | 2018-07-02 22:34:11 +0900 | [diff] [blame] | 35 | '//apps/openstacknode/api:onos-apps-openstacknode-api-tests', |
Jian Li | 156c96f | 2018-02-28 11:53:14 +0900 | [diff] [blame] | 36 | ] |
| 37 | |
| 38 | osgi_jar_with_tests ( |
| 39 | deps = COMPILE_DEPS, |
| 40 | test_deps = TEST_DEPS, |
| 41 | web_context = '/onos/openstacknetworking', |
| 42 | api_title = 'OpenStack Networking API', |
| 43 | api_version = '1.0', |
| 44 | api_description = 'REST API for OpenStack Networking', |
| 45 | api_package = 'org.onosproject.openstacknetworking.web', |
| 46 | |
| 47 | # dependency embedding |
| 48 | import_packages = INCLUDE_PACKAGES + ',' + EXCLUDE_PACKAGES + ',' + ALL_PACKAGES, |
| 49 | bundle_classpath = get_openstack4j_deps_path() + get_jackson_deps_path() |
| 50 | ) |