blob: aba9b4b3bb2bad0ec178f968229370ddbbbb8721 [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",
32 "@snakeyaml//jar",
Jian Li58b33982020-07-01 19:07:02 +090033 "@commons_net//jar",
Jian Li9e43ec12019-01-21 23:04:23 +090034]
35
Jian Li49109b52019-01-22 00:17:28 +090036TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
Jian Li9e43ec12019-01-21 23:04:23 +090037 "//core/api:onos-api-tests",
38 "//core/common:onos-core-common-tests",
Jian Li49109b52019-01-22 00:17:28 +090039 "//web/api:onos-rest-tests",
Jian Li9e43ec12019-01-21 23:04:23 +090040]
41
42osgi_jar_with_tests(
Jian Lif16e8852019-01-22 22:55:31 +090043 api_description = "REST API for Kubernetes Node",
44 api_package = "org.onosproject.k8snode.web",
45 api_title = "Kubernetes Node API",
46 api_version = "1.0",
Jian Li9e43ec12019-01-21 23:04:23 +090047 karaf_command_packages = ["org.onosproject.k8snode.cli"],
48 test_deps = TEST_DEPS,
Jian Lif16e8852019-01-22 22:55:31 +090049 web_context = "/onos/k8snode",
Jian Li9e43ec12019-01-21 23:04:23 +090050 deps = COMPILE_DEPS,
51)