blob: 76ccbfa149098e4c55d658f37f4fdba693cb7a9c [file] [log] [blame]
Jian Lie2a53cb2020-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 "//apps/kubevirt-networking/api:onos-apps-kubevirt-networking-api",
7 "@commons_net//jar",
8 "@jersey_client//jar",
9 "@json//jar",
10 "@k8s_client//jar",
11 "@k8s_model//jar",
Jian Li9ac73952021-01-15 14:53:22 +090012 "@k8s_model_common//jar",
13 "@k8s_model_core//jar",
14 "@k8s_model_rbac//jar",
15 "@k8s_model_apps//jar",
16 "@k8s_model_admissionregistration//jar",
17 "@k8s_model_apiextensions//jar",
18 "@k8s_model_batch//jar",
19 "@k8s_model_certificates//jar",
20 "@k8s_model_coordination//jar",
21 "@k8s_model_discovery//jar",
Jian Lia63a2942022-01-22 00:19:00 +090022 "@k8s_model_flowcontrol//jar",
Jian Li9ac73952021-01-15 14:53:22 +090023 "@k8s_model_metrics//jar",
24 "@k8s_model_scheduling//jar",
Jian Li9ac73952021-01-15 14:53:22 +090025 "@k8s_model_storageclass//jar",
26 "@k8s_model_autoscaling//jar",
27 "@k8s_model_events//jar",
28 "@k8s_model_extensions//jar",
29 "@k8s_model_networking//jar",
30 "@k8s_model_node//jar",
31 "@k8s_model_policy//jar",
Jian Lie2a53cb2020-12-19 01:26:57 +090032 "@okhttp//jar",
33 "@okio//jar",
34 "@logging_interceptor//jar",
35 "@jackson_dataformat_yaml//jar",
Jian Li9ac73952021-01-15 14:53:22 +090036 "@jackson_datatype_jsr310//jar",
Jian Lie2a53cb2020-12-19 01:26:57 +090037 "@snakeyaml//jar",
38 "@zjsonpatch//jar",
39 "@validation_api//jar",
Jian Li94b6d162021-04-15 17:09:11 +090040 "@dns_java//jar",
Jian Lie2a53cb2020-12-19 01:26:57 +090041]
42
43TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
44 "//core/api:onos-api-tests",
45 "//core/common:onos-core-common-tests",
46 "//web/api:onos-rest-tests",
Jian Lifc0b8902021-01-12 16:34:49 +090047 "@minimal_json//jar",
Jian Lie2a53cb2020-12-19 01:26:57 +090048]
49
50osgi_jar_with_tests(
51 api_description = "REST API for KubeVirt Networking",
52 api_package = "org.onosproject.kubevirtnetworking.web",
53 api_title = "KubeVirt Networking API",
54 api_version = "1.0",
55 karaf_command_packages = ["org.onosproject.kubevirtnetworking.cli"],
56 test_deps = TEST_DEPS,
57 web_context = "/onos/kubevirtnetworking",
58 deps = COMPILE_DEPS,
59)