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