Bazel build files for protocols
Change-Id: I12a9cfe2d135d10c640a51d9b3438bcd92f8e37f
diff --git a/protocols/restconf/client/api/BUILD b/protocols/restconf/client/api/BUILD
new file mode 100644
index 0000000..de08614
--- /dev/null
+++ b/protocols/restconf/client/api/BUILD
@@ -0,0 +1,9 @@
+COMPILE_DEPS = CORE_DEPS + [
+ "//incubator/api:onos-incubator-api",
+ "//utils/rest:onlab-rest",
+ "//protocols/rest/api:onos-protocols-rest-api",
+]
+
+osgi_jar_with_tests(
+ deps = COMPILE_DEPS,
+)
diff --git a/protocols/restconf/client/ctl/BUILD b/protocols/restconf/client/ctl/BUILD
new file mode 100644
index 0000000..e772dda
--- /dev/null
+++ b/protocols/restconf/client/ctl/BUILD
@@ -0,0 +1,16 @@
+COMPILE_DEPS = CORE_DEPS + [
+ "@jersey_client//jar",
+ "@jersey_common//jar",
+ "@httpclient_osgi//jar",
+ "@httpcore_osgi//jar",
+ "@javax_ws_rs_api//jar",
+ "@hk2_api//jar",
+ "@aopalliance_repackaged//jar",
+ "@javax_inject//jar",
+ "//protocols/restconf/client/api:onos-protocols-restconf-client-api",
+ "//protocols/rest/api:onos-protocols-rest-api",
+]
+
+osgi_jar_with_tests(
+ deps = COMPILE_DEPS,
+)