blob: d670b42b5cb6438559a0f950a0d2706371de8264 [file] [log] [blame]
include_defs('//apps/openstacknode/openstack4j.bucklet')
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:JACKSON',
'//lib:KRYO',
'//lib:org.apache.karaf.shell.console',
'//cli:onos-cli',
'//lib:javax.ws.rs-api',
'//utils/rest:onlab-rest',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
'//core/store/serializers:onos-core-serializers',
'//apps/openstacknode/api:onos-apps-openstacknode-api',
'//lib:openstack4j-core',
'//lib:openstack4j-http-connector',
'//lib:openstack4j-httpclient',
'//lib:json-patch',
'//lib:jackson-coreutils',
'//lib:btf',
'//lib:msg-simple',
'//lib:snakeyaml',
]
TEST_DEPS = [
'//lib:TEST_ADAPTERS',
'//core/api:onos-api-tests',
'//apps/openstacknode/api:onos-apps-openstacknode-api-tests',
'//core/common:onos-core-common-tests',
'//web/api:onos-rest-tests',
'//lib:TEST_REST',
]
osgi_jar_with_tests (
deps = COMPILE_DEPS,
test_deps = TEST_DEPS,
web_context = '/onos/openstacknode',
api_title = 'OpenStack Node API',
api_version = '1.0',
api_description = 'REST API for OpenStack Node',
api_package = 'org.onosproject.openstacknode.web',
# dependency embedding
import_packages = INCLUDE_PACKAGES + ',' + EXCLUDE_PACKAGES + ',' + ALL_PACKAGES,
bundle_classpath = get_openstack4j_deps_path() + get_jackson_deps_path()
)