blob: d740f68f270a4faf3fcf0f7b4f7e548ac0fefda6 [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",
6]
7
Jian Li49109b52019-01-22 00:17:28 +09008TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
Jian Li9e43ec12019-01-21 23:04:23 +09009 "//core/api:onos-api-tests",
10 "//core/common:onos-core-common-tests",
Jian Li49109b52019-01-22 00:17:28 +090011 "//web/api:onos-rest-tests",
Jian Li9e43ec12019-01-21 23:04:23 +090012]
13
14osgi_jar_with_tests(
Jian Lif16e8852019-01-22 22:55:31 +090015 api_description = "REST API for Kubernetes Node",
16 api_package = "org.onosproject.k8snode.web",
17 api_title = "Kubernetes Node API",
18 api_version = "1.0",
Jian Li9e43ec12019-01-21 23:04:23 +090019 karaf_command_packages = ["org.onosproject.k8snode.cli"],
20 test_deps = TEST_DEPS,
Jian Lif16e8852019-01-22 22:55:31 +090021 web_context = "/onos/k8snode",
Jian Li9e43ec12019-01-21 23:04:23 +090022 deps = COMPILE_DEPS,
23)