Jian Li | 51b844c | 2018-05-31 10:59:03 +0900 | [diff] [blame] | 1 | include_defs('//apps/openstacknode/openstack4j.bucklet') |
| 2 | |
sangho | f816411 | 2017-07-14 14:33:16 +0900 | [diff] [blame] | 3 | COMPILE_DEPS = [ |
| 4 | '//lib:CORE_DEPS', |
Ray Milkey | 446f446 | 2017-08-17 15:36:01 -0700 | [diff] [blame] | 5 | '//lib:JACKSON', |
| 6 | '//lib:KRYO', |
sangho | f816411 | 2017-07-14 14:33:16 +0900 | [diff] [blame] | 7 | '//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 Li | 51b844c | 2018-05-31 10:59:03 +0900 | [diff] [blame] | 15 | '//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', |
sangho | f816411 | 2017-07-14 14:33:16 +0900 | [diff] [blame] | 23 | ] |
| 24 | |
| 25 | TEST_DEPS = [ |
| 26 | '//lib:TEST_ADAPTERS', |
| 27 | '//core/api:onos-api-tests', |
Jian Li | 5a38ab6 | 2018-07-02 22:34:11 +0900 | [diff] [blame^] | 28 | '//apps/openstacknode/api:onos-apps-openstacknode-api-tests', |
sangho | f816411 | 2017-07-14 14:33:16 +0900 | [diff] [blame] | 29 | '//core/common:onos-core-common-tests', |
Jian Li | c84e3f1 | 2018-02-13 15:12:18 +0900 | [diff] [blame] | 30 | '//web/api:onos-rest-tests', |
| 31 | '//lib:TEST_REST', |
sangho | f816411 | 2017-07-14 14:33:16 +0900 | [diff] [blame] | 32 | ] |
| 33 | |
| 34 | osgi_jar_with_tests ( |
| 35 | deps = COMPILE_DEPS, |
| 36 | test_deps = TEST_DEPS, |
| 37 | web_context = '/onos/openstacknode', |
Thomas Vachuska | b002968 | 2017-08-23 17:55:53 -0700 | [diff] [blame] | 38 | api_title = 'OpenStack Node API', |
sangho | f816411 | 2017-07-14 14:33:16 +0900 | [diff] [blame] | 39 | api_version = '1.0', |
Thomas Vachuska | b002968 | 2017-08-23 17:55:53 -0700 | [diff] [blame] | 40 | api_description = 'REST API for OpenStack Node', |
sangho | f816411 | 2017-07-14 14:33:16 +0900 | [diff] [blame] | 41 | api_package = 'org.onosproject.openstacknode.web', |
Jian Li | 51b844c | 2018-05-31 10:59:03 +0900 | [diff] [blame] | 42 | |
| 43 | # dependency embedding |
| 44 | import_packages = INCLUDE_PACKAGES + ',' + EXCLUDE_PACKAGES + ',' + ALL_PACKAGES, |
| 45 | bundle_classpath = get_openstack4j_deps_path() + get_jackson_deps_path() |
sangho | f816411 | 2017-07-14 14:33:16 +0900 | [diff] [blame] | 46 | ) |
| 47 | |