blob: 601bc8a57a3ad4e82390ec02e45d25830ba816cb [file] [log] [blame]
Jian Li762bc222020-12-19 01:26:57 +09001COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + CLI + REST + [
2 "//core/store/serializers:onos-core-serializers",
3 "//protocols/ovsdb/api:onos-protocols-ovsdb-api",
4 "//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc",
5 "//apps/kubevirt-node/api:onos-apps-kubevirt-node-api",
6 "@k8s_client//jar",
7 "@k8s_model//jar",
8 "@okhttp//jar",
9 "@okio//jar",
10 "@logging_interceptor//jar",
11 "@jackson_dataformat_yaml//jar",
12 "@snakeyaml//jar",
13 "@commons_net//jar",
14]
15
16TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
17 "//core/api:onos-api-tests",
18 "//core/common:onos-core-common-tests",
19 "//web/api:onos-rest-tests",
Jian Li171582e2020-12-21 01:44:05 +090020 "@minimal_json//jar",
Jian Li762bc222020-12-19 01:26:57 +090021]
22
23osgi_jar_with_tests(
24 api_description = "REST API for KubeVirt Node",
25 api_package = "org.onosproject.kubevirtnode.web",
26 api_title = "KubeVirt Node API",
27 api_version = "1.0",
28 karaf_command_packages = ["org.onosproject.kubevirtnode.cli"],
29 test_deps = TEST_DEPS,
30 web_context = "/onos/kubevirtnode",
31 deps = COMPILE_DEPS,
32)