blob: b886139a1606aa1c5c62cfb4d64928d7e4c2d541 [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 Lie2a04ce2020-07-01 19:07:02 +090013 "@commons_net//jar",
Jian Li9e43ec12019-01-21 23:04:23 +090014]
15
Jian Li49109b52019-01-22 00:17:28 +090016TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
Jian Li9e43ec12019-01-21 23:04:23 +090017 "//core/api:onos-api-tests",
18 "//core/common:onos-core-common-tests",
Jian Li49109b52019-01-22 00:17:28 +090019 "//web/api:onos-rest-tests",
Jian Li9e43ec12019-01-21 23:04:23 +090020]
21
22osgi_jar_with_tests(
Jian Lif16e8852019-01-22 22:55:31 +090023 api_description = "REST API for Kubernetes Node",
24 api_package = "org.onosproject.k8snode.web",
25 api_title = "Kubernetes Node API",
26 api_version = "1.0",
Jian Li9e43ec12019-01-21 23:04:23 +090027 karaf_command_packages = ["org.onosproject.k8snode.cli"],
28 test_deps = TEST_DEPS,
Jian Lif16e8852019-01-22 22:55:31 +090029 web_context = "/onos/k8snode",
Jian Li9e43ec12019-01-21 23:04:23 +090030 deps = COMPILE_DEPS,
31)