Implement bazel support for web context
- add web context to OSGI rules
- build ACL app
- build DHCP app
Change-Id: I03687d109eb44621458ad7269a435e03eec47495
diff --git a/apps/acl/BUILD b/apps/acl/BUILD
new file mode 100644
index 0000000..58e48ae
--- /dev/null
+++ b/apps/acl/BUILD
@@ -0,0 +1,22 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + [
+ "@javax_ws_rs_api//jar",
+ "//utils/rest:onlab-rest",
+ "//core/store/serializers:onos-core-serializers",
+]
+
+TEST_DEPS = TEST_REST + [
+ "@jersey_server//jar",
+]
+
+osgi_jar_with_tests(
+ test_deps = TEST_DEPS,
+ web_context = "/onos/v1/acl",
+ deps = COMPILE_DEPS,
+)
+
+onos_app(
+ category = "Security",
+ description = "ONOS ACL application.",
+ title = "Access Control Lists",
+ url = "http://onosproject.org",
+)