blob: d670b42b5cb6438559a0f950a0d2706371de8264 [file] [log] [blame]
Jian Li51b844c2018-05-31 10:59:03 +09001include_defs('//apps/openstacknode/openstack4j.bucklet')
2
sanghof8164112017-07-14 14:33:16 +09003COMPILE_DEPS = [
4 '//lib:CORE_DEPS',
Ray Milkey446f4462017-08-17 15:36:01 -07005 '//lib:JACKSON',
6 '//lib:KRYO',
sanghof8164112017-07-14 14:33:16 +09007 '//lib:org.apache.karaf.shell.console',
8 '//cli:onos-cli',
9 '//lib:javax.ws.rs-api',
10 '//utils/rest:onlab-rest',
11 '//protocols/ovsdb/api:onos-protocols-ovsdb-api',
12 '//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
13 '//core/store/serializers:onos-core-serializers',
14 '//apps/openstacknode/api:onos-apps-openstacknode-api',
Jian Li51b844c2018-05-31 10:59:03 +090015 '//lib:openstack4j-core',
16 '//lib:openstack4j-http-connector',
17 '//lib:openstack4j-httpclient',
18 '//lib:json-patch',
19 '//lib:jackson-coreutils',
20 '//lib:btf',
21 '//lib:msg-simple',
22 '//lib:snakeyaml',
sanghof8164112017-07-14 14:33:16 +090023]
24
25TEST_DEPS = [
26 '//lib:TEST_ADAPTERS',
27 '//core/api:onos-api-tests',
Jian Li5a38ab62018-07-02 22:34:11 +090028 '//apps/openstacknode/api:onos-apps-openstacknode-api-tests',
sanghof8164112017-07-14 14:33:16 +090029 '//core/common:onos-core-common-tests',
Jian Lic84e3f12018-02-13 15:12:18 +090030 '//web/api:onos-rest-tests',
31 '//lib:TEST_REST',
sanghof8164112017-07-14 14:33:16 +090032]
33
34osgi_jar_with_tests (
35 deps = COMPILE_DEPS,
36 test_deps = TEST_DEPS,
37 web_context = '/onos/openstacknode',
Thomas Vachuskab0029682017-08-23 17:55:53 -070038 api_title = 'OpenStack Node API',
sanghof8164112017-07-14 14:33:16 +090039 api_version = '1.0',
Thomas Vachuskab0029682017-08-23 17:55:53 -070040 api_description = 'REST API for OpenStack Node',
sanghof8164112017-07-14 14:33:16 +090041 api_package = 'org.onosproject.openstacknode.web',
Jian Li51b844c2018-05-31 10:59:03 +090042
43 # dependency embedding
44 import_packages = INCLUDE_PACKAGES + ',' + EXCLUDE_PACKAGES + ',' + ALL_PACKAGES,
45 bundle_classpath = get_openstack4j_deps_path() + get_jackson_deps_path()
sanghof8164112017-07-14 14:33:16 +090046)
47