Additional bazel build files for apps
Change-Id: If3f31139022b5657e4a7b8a33871e4eba0da286e
diff --git a/protocols/restconf/server/BUILD b/protocols/restconf/server/BUILD
new file mode 100644
index 0000000..4f0cd7f
--- /dev/null
+++ b/protocols/restconf/server/BUILD
@@ -0,0 +1,11 @@
+BUNDLES = [
+ "//protocols/restconf/server/rpp:onos-protocols-restconf-server-rpp",
+]
+
+onos_app(
+ app_name = "org.onosproject.protocols.restconfserver",
+ category = "Utility",
+ included_bundles = BUNDLES,
+ title = "RESTCONF Server Module",
+ url = "http://onosproject.org",
+)
diff --git a/protocols/restconf/server/rpp/BUILD b/protocols/restconf/server/rpp/BUILD
new file mode 100644
index 0000000..ebbc59a
--- /dev/null
+++ b/protocols/restconf/server/rpp/BUILD
@@ -0,0 +1,19 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + [
+ "@jersey_server//jar",
+ "@javax_ws_rs_api//jar",
+ "@javax_servlet_api//jar",
+ "@javax_inject//jar",
+ "//utils/rest:onlab-rest",
+ "//apps/restconf/api:onos-apps-restconf-api",
+]
+
+TEST_DEPS = TEST_REST + [
+ "//utils/osgi:onlab-osgi-tests",
+ "//web/api:onos-rest-tests",
+]
+
+osgi_jar_with_tests(
+ test_deps = TEST_DEPS,
+ web_context = "/onos/restconf",
+ deps = COMPILE_DEPS,
+)