Additional bazel build files for apps

Change-Id: If3f31139022b5657e4a7b8a33871e4eba0da286e
diff --git a/apps/test/cluster-ha/BUILD b/apps/test/cluster-ha/BUILD
new file mode 100644
index 0000000..fe48d70
--- /dev/null
+++ b/apps/test/cluster-ha/BUILD
@@ -0,0 +1,14 @@
+COMPILE_DEPS = CORE_DEPS + CLI + KRYO + [
+    "//core/store/serializers:onos-core-serializers",
+]
+
+osgi_jar(
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    category = "Test Utility",
+    description = "Test for ONOS Cluster HA",
+    title = "Cluster HA Test",
+    url = "http://onosproject.org",
+)
diff --git a/apps/test/demo/BUILD b/apps/test/demo/BUILD
new file mode 100644
index 0000000..16f06f0
--- /dev/null
+++ b/apps/test/demo/BUILD
@@ -0,0 +1,17 @@
+COMPILE_DEPS = CORE_DEPS + REST + JACKSON
+
+osgi_jar_with_tests(
+    api_description = "REST API for Demo",
+    api_package = "org.onosproject.demo",
+    api_title = "Flow Throughput Demo",
+    api_version = "1.0",
+    web_context = "/onos/demo",
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    category = "Test Utility",
+    description = "APIs for interacting with the flow throughput test application.",
+    title = "Flow Throughput Demo",
+    url = "http://onosproject.org",
+)
diff --git a/apps/test/election/BUILD b/apps/test/election/BUILD
new file mode 100644
index 0000000..91ea75b
--- /dev/null
+++ b/apps/test/election/BUILD
@@ -0,0 +1,12 @@
+COMPILE_DEPS = CORE_DEPS + CLI + REST
+
+osgi_jar(
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    category = "Test Utility",
+    description = "Master election test application.",
+    title = "Master Election Test",
+    url = "http://onosproject.org",
+)
diff --git a/apps/test/flow-perf/BUILD b/apps/test/flow-perf/BUILD
new file mode 100644
index 0000000..22045a7
--- /dev/null
+++ b/apps/test/flow-perf/BUILD
@@ -0,0 +1,14 @@
+COMPILE_DEPS = CORE_DEPS + CLI + REST + [
+    "//core/store/serializers:onos-core-serializers",
+]
+
+osgi_jar_with_tests(
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    category = "Test Utility",
+    description = "Messaging performance test application.",
+    title = "Flow Performance Test",
+    url = "http://onosproject.org",
+)
diff --git a/apps/test/intent-perf/BUILD b/apps/test/intent-perf/BUILD
new file mode 100644
index 0000000..b5c90d4
--- /dev/null
+++ b/apps/test/intent-perf/BUILD
@@ -0,0 +1,15 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + CLI + REST + [
+    "//core/store/serializers:onos-core-serializers",
+]
+
+osgi_jar_with_tests(
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    app_name = "org.onosproject.intentperf",
+    category = "Test Utility",
+    description = "Intent performance test application.",
+    title = "Intent Performance Test",
+    url = "http://onosproject.org",
+)
diff --git a/apps/test/loadtest/BUILD b/apps/test/loadtest/BUILD
new file mode 100644
index 0000000..be2f2da
--- /dev/null
+++ b/apps/test/loadtest/BUILD
@@ -0,0 +1,14 @@
+COMPILE_DEPS = CORE_DEPS + CLI + REST + [
+    "//core/store/serializers:onos-core-serializers",
+]
+
+osgi_jar_with_tests(
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    category = "Test Utility",
+    description = "Distributed consensus load test application.",
+    title = "Distributed Load Test",
+    url = "http://onosproject.org",
+)
diff --git a/apps/test/messaging-perf/BUILD b/apps/test/messaging-perf/BUILD
new file mode 100644
index 0000000..670d927
--- /dev/null
+++ b/apps/test/messaging-perf/BUILD
@@ -0,0 +1,14 @@
+COMPILE_DEPS = CORE_DEPS + KRYO + CLI + REST + [
+    "//core/store/serializers:onos-core-serializers",
+]
+
+osgi_jar_with_tests(
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    category = "Test Utility",
+    description = "Messaging performance test application.",
+    title = "Messaging Performance Test",
+    url = "http://onosproject.org",
+)
diff --git a/apps/test/netcfg-monitor/BUILD b/apps/test/netcfg-monitor/BUILD
new file mode 100644
index 0000000..09680c4
--- /dev/null
+++ b/apps/test/netcfg-monitor/BUILD
@@ -0,0 +1,10 @@
+osgi_jar_with_tests(
+    deps = CORE_DEPS,
+)
+
+onos_app(
+    category = "Test Utility",
+    description = "Network configuration monitor test application.",
+    title = "Network Configuration Monitor Test",
+    url = "http://onosproject.org",
+)
diff --git a/apps/test/primitive-perf/BUILD b/apps/test/primitive-perf/BUILD
new file mode 100644
index 0000000..c562aa4
--- /dev/null
+++ b/apps/test/primitive-perf/BUILD
@@ -0,0 +1,15 @@
+COMPILE_DEPS = CORE_DEPS + CLI + REST + [
+    "//core/store/serializers:onos-core-serializers",
+]
+
+osgi_jar_with_tests(
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    app_name = "org.onosproject.primitiveperf",
+    category = "Test Utility",
+    description = "Primitive performance test application.",
+    title = "Primitive Performance Test",
+    url = "http://onosproject.org",
+)
diff --git a/apps/test/proxy/BUILD b/apps/test/proxy/BUILD
new file mode 100644
index 0000000..82ac3d5
--- /dev/null
+++ b/apps/test/proxy/BUILD
@@ -0,0 +1,15 @@
+COMPILE_DEPS = CORE_DEPS + CLI + REST + [
+    "//core/store/serializers:onos-core-serializers",
+]
+
+osgi_jar_with_tests(
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    app_name = "org.onosproject.proxytest",
+    category = "Test Utility",
+    description = "Proxy test application.",
+    title = "Proxy Test",
+    url = "http://onosproject.org",
+)
diff --git a/apps/test/route-scale/BUILD b/apps/test/route-scale/BUILD
new file mode 100644
index 0000000..328f558
--- /dev/null
+++ b/apps/test/route-scale/BUILD
@@ -0,0 +1,16 @@
+COMPILE_DEPS = CORE_DEPS + CLI + REST + [
+    "//apps/route-service/api:onos-apps-route-service-api",
+]
+
+osgi_jar_with_tests(
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    app_name = "org.onosproject.routescale",
+    category = "Test Utility",
+    description = "Route and flow scalability test facility.",
+    required_apps = ["org.onosproject.route-service"],
+    title = "Route and Flow Scalability Test",
+    url = "http://onosproject.org",
+)
diff --git a/apps/test/transaction-perf/BUILD b/apps/test/transaction-perf/BUILD
new file mode 100644
index 0000000..7b879ed
--- /dev/null
+++ b/apps/test/transaction-perf/BUILD
@@ -0,0 +1,15 @@
+COMPILE_DEPS = CORE_DEPS + [
+    #CLI + REST + [
+    "//core/store/serializers:onos-core-serializers",
+]
+
+osgi_jar_with_tests(
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    category = "Test Utility",
+    description = "Transaction performance test application.",
+    title = "Transaction Performance Test",
+    url = "http://onosproject.org",
+)