Detangling incubator: virtual nets, tunnels, resource labels, oh my
- virtual networking moved to /apps/virtual; with CLI & REST API
- tunnels and labels moved to /apps/tunnel; with CLI & REST API; UI disabled for now
- protobuf/models moved to /core/protobuf/models
- defunct grpc/rpc registry stuff left under /graveyard
- compile dependencies on /incubator moved to respective modules for compilation
- run-time dependencies will need to be re-tested for dependent apps
- /graveyard will be removed in not-too-distant future
Change-Id: I0a0b995c635487edcf95a352f50dd162186b0b39
diff --git a/apps/virtual/app/BUILD b/apps/virtual/app/BUILD
new file mode 100644
index 0000000..15941f8
--- /dev/null
+++ b/apps/virtual/app/BUILD
@@ -0,0 +1,26 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + REST + CLI + [
+ "@metrics_core//jar",
+ "//core/common:onos-core-common",
+ "//core/net:onos-core-net",
+ "//core/store/serializers:onos-core-serializers",
+ "//apps/tunnel/api:onos-apps-tunnel-api",
+ "//apps/virtual/api:onos-apps-virtual-api",
+]
+
+TEST_DEPS = TEST_ADAPTERS + [
+ "@minimal_json//jar",
+ "@jersey_client//jar",
+ "//web/api:onos-rest-tests",
+ "//utils/osgi:onlab-osgi-tests",
+]
+
+osgi_jar_with_tests(
+ api_description = "REST API for Virtual Networks",
+ api_package = "org.onosproject.incubator.net.virtual.rest",
+ api_title = "Virtual Networks",
+ api_version = "1.0",
+ karaf_command_packages = ["org.onosproject.incubator.net.virtual.cli"],
+ test_deps = TEST_DEPS,
+ visibility = ["//visibility:public"],
+ deps = COMPILE_DEPS,
+)