Build providers using bazel
Change-Id: I7d4ebcfb1d593e10aa93f0a4f7111680ed66a7e7
diff --git a/apps/pce/app/BUILD b/apps/pce/app/BUILD
new file mode 100644
index 0000000..1c3e14b
--- /dev/null
+++ b/apps/pce/app/BUILD
@@ -0,0 +1,23 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + [
+ "@org_apache_karaf_shell_console//jar",
+ "@javax_ws_rs_api//jar",
+ "//cli:onos-cli",
+ "//core/store/serializers:onos-core-serializers",
+ "//utils/rest:onlab-rest",
+ "//incubator/api:onos-incubator-api",
+ "//apps/pcep-api:onos-apps-pcep-api",
+ "//apps/pce/bandwidthmgmt:onos-apps-pce-bandwidthmgmt",
+]
+
+osgi_jar_with_tests(
+ test_deps = TEST_REST,
+ deps = COMPILE_DEPS,
+)
+
+onos_app(
+ app_name = "org.onosproject.pce.app",
+ category = "default",
+ description = "PCE as centeral controller App.",
+ title = "PCE",
+ url = "http://onosproject.org",
+)
diff --git a/apps/pce/bandwidthmgmt/BUILD b/apps/pce/bandwidthmgmt/BUILD
new file mode 100644
index 0000000..755f9b2
--- /dev/null
+++ b/apps/pce/bandwidthmgmt/BUILD
@@ -0,0 +1,16 @@
+COMPILE_DEPS = CORE_DEPS + KRYO + [
+ "//core/store/serializers:onos-core-serializers",
+ "//apps/pcep-api:onos-apps-pcep-api",
+]
+
+osgi_jar_with_tests(
+ deps = COMPILE_DEPS,
+)
+
+onos_app(
+ app_name = "org.onosproject.bandwidthmgmt",
+ category = "default",
+ description = "PCE Bandwidth Management.",
+ title = "PCE Bandwidth Management",
+ url = "http://onosproject.org",
+)
diff --git a/apps/pce/pceweb/BUILD b/apps/pce/pceweb/BUILD
new file mode 100644
index 0000000..853f9b3
--- /dev/null
+++ b/apps/pce/pceweb/BUILD
@@ -0,0 +1,17 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + [
+ "@org_apache_karaf_shell_console//jar",
+ "//apps/pce/app:onos-apps-pce-app",
+ "//cli:onos-cli",
+ "//incubator/api:onos-incubator-api",
+]
+
+osgi_jar_with_tests(
+ deps = COMPILE_DEPS,
+)
+
+onos_app(
+ category = "Utility",
+ description = "Allows the user to visualize different types of paths between network entities",
+ title = "PCE REST API",
+ url = "http://onosproject.org",
+)