Fix some test dependencies and pretty format all BUILD files
Change-Id: I300e236c15491f8724f1e493e2414388217f2174
diff --git a/apps/cip/BUILD b/apps/cip/BUILD
index 80cd90a..2e5780e 100644
--- a/apps/cip/BUILD
+++ b/apps/cip/BUILD
@@ -1,8 +1,8 @@
-osgi_jar_with_tests (
+osgi_jar_with_tests(
deps = CORE_DEPS,
)
-onos_app (
+onos_app(
category = "Utility",
description = "ONOS Cluster IP alias application.",
title = "Cluster IP Alias",
diff --git a/apps/evpn-route-service/BUILD b/apps/evpn-route-service/BUILD
index 8ed33f3..d099839 100644
--- a/apps/evpn-route-service/BUILD
+++ b/apps/evpn-route-service/BUILD
@@ -3,9 +3,9 @@
"//apps/evpn-route-service/app:onos-apps-evpn-route-service-app",
]
-onos_app (
- title = "EVPN Routing",
+onos_app(
category = "Traffic Engineering",
- url = "http://onosproject.org",
included_bundles = BUNDLES,
+ title = "EVPN Routing",
+ url = "http://onosproject.org",
)
diff --git a/apps/faultmanagement/BUILD b/apps/faultmanagement/BUILD
index 6f77dc4..0a83736 100644
--- a/apps/faultmanagement/BUILD
+++ b/apps/faultmanagement/BUILD
@@ -8,7 +8,7 @@
onos_app(
category = "Monitoring",
description = "Provides managements of alarms. Stores retrieved alarms from devices. " +
- "Offers CLI, UI and REST integration to obtain and display them from ONOS.",
+ "Offers CLI, UI and REST integration to obtain and display them from ONOS.",
included_bundles = BUNDLES,
origin = "BTI Systems",
title = "Fault Management",
diff --git a/apps/faultmanagement/fmmgr/BUILD b/apps/faultmanagement/fmmgr/BUILD
index 9e95ac0..c7c933e 100644
--- a/apps/faultmanagement/fmmgr/BUILD
+++ b/apps/faultmanagement/fmmgr/BUILD
@@ -3,6 +3,12 @@
"//core/store/serializers:onos-core-serializers",
]
+TEST_DEPS = TEST_ADAPTERS + [
+ "//utils/osgi:onlab-osgi-tests",
+ "//incubator/api:onos-incubator-api-tests",
+]
+
osgi_jar_with_tests(
+ test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)
diff --git a/apps/faultmanagement/fmweb/BUILD b/apps/faultmanagement/fmweb/BUILD
index 1f13858..10eb32a 100644
--- a/apps/faultmanagement/fmweb/BUILD
+++ b/apps/faultmanagement/fmweb/BUILD
@@ -5,12 +5,20 @@
"//utils/rest:onlab-rest",
]
+TEST_DEPS = TEST_ADAPTERS + [
+ "@jersey_test_framework_core//jar",
+ "@jersey_test_framework_jetty//jar",
+ "//utils/osgi:onlab-osgi-tests",
+ "//web/api:onos-rest-tests",
+ "//incubator/api:onos-incubator-api-tests",
+]
+
osgi_jar_with_tests(
api_description = "REST API for Fault Management",
api_package = "org.onosproject.faultmanagement",
api_title = "Fault Management Rest API",
api_version = "/onos/v1/fm",
- test_deps = TEST_ADAPTERS,
+ test_deps = TEST_DEPS,
web_context = "/onos/dhcp",
deps = COMPILE_DEPS,
)
diff --git a/apps/fwd/BUILD b/apps/fwd/BUILD
index 48b1eec..f2f4bc4 100644
--- a/apps/fwd/BUILD
+++ b/apps/fwd/BUILD
@@ -10,13 +10,13 @@
onos_app(
category = "Traffic Engineering",
description = "Provisions traffic between end-stations using hop-by-hop flow programming by " +
- "intercepting packets for which there are currently no matching flow objectives on the " +
- "data plane. The paths paved in this manner are short-lived, i.e. they expire a few " +
- "seconds after the flow on whose behalf they were programmed stops.\n\n" +
- "The application relies on the ONOS path service to compute the shortest paths. " +
- "In the event of negative topology events (link loss, device disconnect, etc.), " +
- "the application will proactively invalidate any paths that it had programmed to lead " +
- "through the resources that are no longer available.",
+ "intercepting packets for which there are currently no matching flow objectives on the " +
+ "data plane. The paths paved in this manner are short-lived, i.e. they expire a few " +
+ "seconds after the flow on whose behalf they were programmed stops.\n\n" +
+ "The application relies on the ONOS path service to compute the shortest paths. " +
+ "In the event of negative topology events (link loss, device disconnect, etc.), " +
+ "the application will proactively invalidate any paths that it had programmed to lead " +
+ "through the resources that are no longer available.",
title = "Reactive Forwarding",
url = "http://onosproject.org",
)
diff --git a/apps/inbandtelemetry/api/BUILD b/apps/inbandtelemetry/api/BUILD
new file mode 100644
index 0000000..93d94d3
--- /dev/null
+++ b/apps/inbandtelemetry/api/BUILD
@@ -0,0 +1,8 @@
+COMPILE_DEPS = CORE_DEPS + KRYO + [
+ "//core/store/serializers:onos-core-serializers",
+]
+
+osgi_jar_with_tests(
+ test_deps = TEST_ADAPTERS,
+ deps = COMPILE_DEPS,
+)