Jian Li | 156c96f | 2018-02-28 11:53:14 +0900 | [diff] [blame] | 1 | include_defs('//apps/openstacknetworking/openstack4j.bucklet') |
| 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', |
| 14 | '//lib:openstack4j-core', |
| 15 | '//lib:openstack4j-http-connector', |
| 16 | '//lib:openstack4j-httpclient', |
| 17 | '//lib:json-patch', |
| 18 | '//lib:jackson-coreutils', |
| 19 | '//lib:btf', |
| 20 | '//lib:msg-simple', |
| 21 | '//lib:snakeyaml', |
| 22 | ] |
| 23 | |
| 24 | TEST_DEPS = [ |
| 25 | '//lib:TEST_ADAPTERS', |
| 26 | '//core/api:onos-api-tests', |
| 27 | '//core/common:onos-core-common-tests', |
| 28 | '//web/api:onos-rest-tests', |
| 29 | '//lib:TEST_REST', |
Jian Li | 1064e4f | 2018-05-29 16:16:53 +0900 | [diff] [blame] | 30 | '//apps/openstacknode/app:onos-apps-openstacknode-app-tests', |
Jian Li | 156c96f | 2018-02-28 11:53:14 +0900 | [diff] [blame] | 31 | ] |
| 32 | |
| 33 | osgi_jar_with_tests ( |
| 34 | deps = COMPILE_DEPS, |
| 35 | test_deps = TEST_DEPS, |
| 36 | web_context = '/onos/openstacknetworking', |
| 37 | api_title = 'OpenStack Networking API', |
| 38 | api_version = '1.0', |
| 39 | api_description = 'REST API for OpenStack Networking', |
| 40 | api_package = 'org.onosproject.openstacknetworking.web', |
| 41 | |
| 42 | # dependency embedding |
| 43 | import_packages = INCLUDE_PACKAGES + ',' + EXCLUDE_PACKAGES + ',' + ALL_PACKAGES, |
| 44 | bundle_classpath = get_openstack4j_deps_path() + get_jackson_deps_path() |
| 45 | ) |