blob: 0a3705b80e34b192021c638cfc85711897b97a93 [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",
Andrea Campanella775e5f82022-06-09 08:11:25 -07006 "@minimal_json//jar",
Jian Lie2a53cb2020-12-19 01:26:57 +09007 "@k8s_client//jar",
8 "@k8s_model//jar",
Jian Li9ac73952021-01-15 14:53:22 +09009 "@k8s_model_common//jar",
10 "@k8s_model_core//jar",
11 "@k8s_model_rbac//jar",
12 "@k8s_model_apps//jar",
13 "@k8s_model_admissionregistration//jar",
14 "@k8s_model_apiextensions//jar",
15 "@k8s_model_batch//jar",
16 "@k8s_model_certificates//jar",
17 "@k8s_model_coordination//jar",
18 "@k8s_model_discovery//jar",
Jian Li93ba7592022-01-22 00:19:00 +090019 "@k8s_model_flowcontrol//jar",
Jian Li9ac73952021-01-15 14:53:22 +090020 "@k8s_model_metrics//jar",
21 "@k8s_model_scheduling//jar",
Jian Li9ac73952021-01-15 14:53:22 +090022 "@k8s_model_storageclass//jar",
23 "@k8s_model_autoscaling//jar",
24 "@k8s_model_events//jar",
25 "@k8s_model_extensions//jar",
26 "@k8s_model_networking//jar",
27 "@k8s_model_node//jar",
28 "@k8s_model_policy//jar",
Jian Lie2a53cb2020-12-19 01:26:57 +090029 "@okhttp//jar",
30 "@okio//jar",
31 "@logging_interceptor//jar",
32 "@jackson_dataformat_yaml//jar",
Jian Li9ac73952021-01-15 14:53:22 +090033 "@jackson_datatype_jsr310//jar",
Jian Lie2a53cb2020-12-19 01:26:57 +090034 "@snakeyaml//jar",
35 "@commons_net//jar",
Jian Li94b6d162021-04-15 17:09:11 +090036 "@dns_java//jar",
Jian Lie2a53cb2020-12-19 01:26:57 +090037]
38
39TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
Jian Lib230e07c2020-12-21 11:25:12 +090040 "//apps/kubevirt-node/api:onos-apps-kubevirt-node-api-tests",
Jian Lie2a53cb2020-12-19 01:26:57 +090041 "//core/api:onos-api-tests",
42 "//core/common:onos-core-common-tests",
43 "//web/api:onos-rest-tests",
Jian Licc01e452020-12-21 01:44:05 +090044 "@minimal_json//jar",
Jian Lie2a53cb2020-12-19 01:26:57 +090045]
46
47osgi_jar_with_tests(
48 api_description = "REST API for KubeVirt Node",
49 api_package = "org.onosproject.kubevirtnode.web",
50 api_title = "KubeVirt Node API",
51 api_version = "1.0",
52 karaf_command_packages = ["org.onosproject.kubevirtnode.cli"],
53 test_deps = TEST_DEPS,
54 web_context = "/onos/kubevirtnode",
55 deps = COMPILE_DEPS,
56)