blob: 372831de691aa89bd5d0275b57431bff2349f976 [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 + [
Jian Li7c4a8822020-12-21 11:25:12 +090017 "//apps/kubevirt-node/api:onos-apps-kubevirt-node-api-tests",
Jian Li762bc222020-12-19 01:26:57 +090018 "//core/api:onos-api-tests",
19 "//core/common:onos-core-common-tests",
20 "//web/api:onos-rest-tests",
Jian Li171582e2020-12-21 01:44:05 +090021 "@minimal_json//jar",
Jian Li762bc222020-12-19 01:26:57 +090022]
23
24osgi_jar_with_tests(
25 api_description = "REST API for KubeVirt Node",
26 api_package = "org.onosproject.kubevirtnode.web",
27 api_title = "KubeVirt Node API",
28 api_version = "1.0",
29 karaf_command_packages = ["org.onosproject.kubevirtnode.cli"],
30 test_deps = TEST_DEPS,
31 web_context = "/onos/kubevirtnode",
32 deps = COMPILE_DEPS,
33)