blob: ca5b850f749465feaf2aa68db88c4cc71bad5aa0 [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",
8 "@okhttp//jar",
9 "@okio//jar",
10 "@logging_interceptor//jar",
11 "@jackson_dataformat_yaml//jar",
12 "@snakeyaml//jar",
Jian Li9e43ec12019-01-21 23:04:23 +090013]
14
Jian Li49109b52019-01-22 00:17:28 +090015TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
Jian Li9e43ec12019-01-21 23:04:23 +090016 "//core/api:onos-api-tests",
17 "//core/common:onos-core-common-tests",
Jian Li49109b52019-01-22 00:17:28 +090018 "//web/api:onos-rest-tests",
Jian Li9e43ec12019-01-21 23:04:23 +090019]
20
21osgi_jar_with_tests(
Jian Lif16e8852019-01-22 22:55:31 +090022 api_description = "REST API for Kubernetes Node",
23 api_package = "org.onosproject.k8snode.web",
24 api_title = "Kubernetes Node API",
25 api_version = "1.0",
Jian Li9e43ec12019-01-21 23:04:23 +090026 karaf_command_packages = ["org.onosproject.k8snode.cli"],
27 test_deps = TEST_DEPS,
Jian Lif16e8852019-01-22 22:55:31 +090028 web_context = "/onos/k8snode",
Jian Li9e43ec12019-01-21 23:04:23 +090029 deps = COMPILE_DEPS,
30)