blob: 1e2b13867e20c958b7b7396f861d0b529f30b0dd [file] [log] [blame]
Jian Li9e43ec12019-01-21 23:04:23 +09001COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + CLI + REST + [
2 "//core/store/serializers:onos-core-serializers",
Jian Lif16e8852019-01-22 22:55:31 +09003 "//protocols/ovsdb/api:onos-protocols-ovsdb-api",
4 "//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc",
Jian Li9e43ec12019-01-21 23:04:23 +09005 "//apps/k8s-node/api:onos-apps-k8s-node-api",
Jian Li1cee9882019-02-13 11:25:25 +09006 "@k8s_client//jar",
7 "@k8s_model//jar",
Jian Li9ac73952021-01-15 14:53:22 +09008 "@k8s_model_common//jar",
9 "@k8s_model_core//jar",
10 "@k8s_model_rbac//jar",
11 "@k8s_model_apps//jar",
12 "@k8s_model_admissionregistration//jar",
13 "@k8s_model_apiextensions//jar",
14 "@k8s_model_batch//jar",
15 "@k8s_model_certificates//jar",
16 "@k8s_model_coordination//jar",
17 "@k8s_model_discovery//jar",
18 "@k8s_model_metrics//jar",
19 "@k8s_model_scheduling//jar",
20 "@k8s_model_settings//jar",
21 "@k8s_model_storageclass//jar",
22 "@k8s_model_autoscaling//jar",
23 "@k8s_model_events//jar",
24 "@k8s_model_extensions//jar",
25 "@k8s_model_networking//jar",
26 "@k8s_model_node//jar",
27 "@k8s_model_policy//jar",
Jian Li1cee9882019-02-13 11:25:25 +090028 "@okhttp//jar",
29 "@okio//jar",
30 "@logging_interceptor//jar",
31 "@jackson_dataformat_yaml//jar",
Chris Aslanoglou1d72e172021-01-22 13:17:08 +020032 "@jackson_datatype_jsr310//jar",
Jian Li1cee9882019-02-13 11:25:25 +090033 "@snakeyaml//jar",
Jian Li58b33982020-07-01 19:07:02 +090034 "@commons_net//jar",
Jian Li9e43ec12019-01-21 23:04:23 +090035]
36
Jian Li49109b52019-01-22 00:17:28 +090037TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
Jian Li9e43ec12019-01-21 23:04:23 +090038 "//core/api:onos-api-tests",
39 "//core/common:onos-core-common-tests",
Jian Li49109b52019-01-22 00:17:28 +090040 "//web/api:onos-rest-tests",
Jian Li9e43ec12019-01-21 23:04:23 +090041]
42
43osgi_jar_with_tests(
Jian Lif16e8852019-01-22 22:55:31 +090044 api_description = "REST API for Kubernetes Node",
45 api_package = "org.onosproject.k8snode.web",
46 api_title = "Kubernetes Node API",
47 api_version = "1.0",
Jian Li9e43ec12019-01-21 23:04:23 +090048 karaf_command_packages = ["org.onosproject.k8snode.cli"],
49 test_deps = TEST_DEPS,
Jian Lif16e8852019-01-22 22:55:31 +090050 web_context = "/onos/k8snode",
Jian Li9e43ec12019-01-21 23:04:23 +090051 deps = COMPILE_DEPS,
52)