Additional bazel build files for apps

Change-Id: If3f31139022b5657e4a7b8a33871e4eba0da286e
diff --git a/apps/restconf/BUILD b/apps/restconf/BUILD
new file mode 100644
index 0000000..49c1c55
--- /dev/null
+++ b/apps/restconf/BUILD
@@ -0,0 +1,19 @@
+BUNDLES = [
+    "//apps/restconf/api:onos-apps-restconf-api",
+    "//apps/restconf/utils:onos-apps-restconf-utils",
+    "//apps/restconf/restconfmgr:onos-apps-restconf-restconfmgr",
+]
+
+APPS = [
+    "org.onosproject.yang",
+    "org.onosproject.config",
+]
+
+onos_app(
+    app_name = "org.onosproject.restconf",
+    category = "Utility",
+    included_bundles = BUNDLES,
+    required_apps = APPS,
+    title = "RESTCONF Application Module",
+    url = "http://onosproject.org",
+)
diff --git a/apps/restconf/api/BUILD b/apps/restconf/api/BUILD
new file mode 100644
index 0000000..b4f282b
--- /dev/null
+++ b/apps/restconf/api/BUILD
@@ -0,0 +1,9 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + REST + [
+    "@jersey_client//jar",
+    "@jersey_server//jar",
+]
+
+osgi_jar_with_tests(
+    test_deps = TEST_REST,
+    deps = COMPILE_DEPS,
+)
diff --git a/apps/restconf/restconfmgr/BUILD b/apps/restconf/restconfmgr/BUILD
new file mode 100644
index 0000000..0fcae18
--- /dev/null
+++ b/apps/restconf/restconfmgr/BUILD
@@ -0,0 +1,13 @@
+COMPILE_DEPS = CORE_DEPS + ONOS_YANG + JACKSON + [
+    "@jersey_server//jar",
+    "@javax_ws_rs_api//jar",
+    "//incubator/api:onos-incubator-api",
+    "//core/store/serializers:onos-core-serializers",
+    "//apps/restconf/api:onos-apps-restconf-api",
+    "//apps/restconf/utils:onos-apps-restconf-utils",
+    "//apps/config:onos-apps-config",
+]
+
+osgi_jar_with_tests(
+    deps = COMPILE_DEPS,
+)
diff --git a/apps/restconf/utils/BUILD b/apps/restconf/utils/BUILD
new file mode 100644
index 0000000..5a1ddc6
--- /dev/null
+++ b/apps/restconf/utils/BUILD
@@ -0,0 +1,10 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + ONOS_YANG + [
+    "@onos_yang_runtime//jar",
+    "@javax_ws_rs_api//jar",
+    "//utils/rest:onlab-rest",
+    "//apps/restconf/api:onos-apps-restconf-api",
+]
+
+osgi_jar_with_tests(
+    deps = COMPILE_DEPS,
+)