Extract web and codec into a separated web pkg in kubevirt-net app
Change-Id: If15fe4391009a09a79e60965d90fac26d5bad7fe
diff --git a/apps/kubevirt-networking/app/BUILD b/apps/kubevirt-networking/app/BUILD
index 76ccbfa..0358e6e 100644
--- a/apps/kubevirt-networking/app/BUILD
+++ b/apps/kubevirt-networking/app/BUILD
@@ -5,7 +5,6 @@
"//apps/kubevirt-node/api:onos-apps-kubevirt-node-api",
"//apps/kubevirt-networking/api:onos-apps-kubevirt-networking-api",
"@commons_net//jar",
- "@jersey_client//jar",
"@json//jar",
"@k8s_client//jar",
"@k8s_model//jar",
@@ -40,20 +39,13 @@
"@dns_java//jar",
]
-TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
+TEST_DEPS = TEST_ADAPTERS + [
"//core/api:onos-api-tests",
"//core/common:onos-core-common-tests",
- "//web/api:onos-rest-tests",
- "@minimal_json//jar",
]
osgi_jar_with_tests(
- api_description = "REST API for KubeVirt Networking",
- api_package = "org.onosproject.kubevirtnetworking.web",
- api_title = "KubeVirt Networking API",
- api_version = "1.0",
karaf_command_packages = ["org.onosproject.kubevirtnetworking.cli"],
test_deps = TEST_DEPS,
- web_context = "/onos/kubevirtnetworking",
deps = COMPILE_DEPS,
)