blob: a227e74e2210b53d08a25c934499d28774d1424b [file] [log] [blame]
Jian Li753280e2018-07-03 02:24:34 +09001include_defs('//apps/openstacknode/openstack4j.bucklet')
Jian Li156c96f2018-02-28 11:53:14 +09002
3COMPILE_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 Parkc4d06402018-05-28 15:57:37 +090014 '//protocols/ovsdb/api:onos-protocols-ovsdb-api',
15 '//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
Jian Li63430202018-08-30 16:24:09 +090016 '//lib:httpclient-osgi',
17 '//lib:httpcore-osgi',
18 '//lib:commons-codec',
Jian Li156c96f2018-02-28 11:53:14 +090019 '//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',
Daniel Parka73c2362018-09-17 17:43:25 +090027 '//lib:sshd-core',
28]
29
30EXCLUDED_BUNDLES = [
31 '//lib:sshd-core',
Jian Li156c96f2018-02-28 11:53:14 +090032]
33
34TEST_DEPS = [
35 '//lib:TEST_ADAPTERS',
36 '//core/api:onos-api-tests',
37 '//core/common:onos-core-common-tests',
38 '//web/api:onos-rest-tests',
39 '//lib:TEST_REST',
Jian Li5a38ab62018-07-02 22:34:11 +090040 '//apps/openstacknode/api:onos-apps-openstacknode-api-tests',
Jian Li156c96f2018-02-28 11:53:14 +090041]
42
43osgi_jar_with_tests (
44 deps = COMPILE_DEPS,
45 test_deps = TEST_DEPS,
46 web_context = '/onos/openstacknetworking',
47 api_title = 'OpenStack Networking API',
48 api_version = '1.0',
49 api_description = 'REST API for OpenStack Networking',
50 api_package = 'org.onosproject.openstacknetworking.web',
51
52 # dependency embedding
53 import_packages = INCLUDE_PACKAGES + ',' + EXCLUDE_PACKAGES + ',' + ALL_PACKAGES,
54 bundle_classpath = get_openstack4j_deps_path() + get_jackson_deps_path()
55)