Add modules to Bazel build
cli
core
incubator/rpc
pipelines/basic
protocols/netconf
protocols/openflow
protocols/rest

Change-Id: I165b94a04ba893d97d944e5deb2746f54566503b
diff --git a/protocols/rest/api/BUILD b/protocols/rest/api/BUILD
new file mode 100644
index 0000000..feaa98f
--- /dev/null
+++ b/protocols/rest/api/BUILD
@@ -0,0 +1,19 @@
+COMPILE_DEPS = CORE_DEPS + [
+    "@jersey_client//jar",
+    "@jersey_server//jar",
+    "@jersey_common//jar",
+    "@jersey_security//jar",
+    "@httpclient_osgi//jar",
+    "@httpcore_osgi//jar",
+    "@javax_ws_rs_api//jar",
+    "@hk2_api//jar",
+    "@aopalliance_repackaged//jar",
+    "@javax_inject//jar",
+    "//incubator/api:onos-incubator-api",
+    "//utils/rest:onlab-rest",
+]
+
+osgi_jar_with_tests(
+    visibility = ["//visibility:public"],
+    deps = COMPILE_DEPS,
+)