buildifier formatting of bazel files
Change-Id: I8196aa52ee640d1c500307a50a0ab4921138b69b
diff --git a/apps/mcast/BUILD b/apps/mcast/BUILD
index 42bb7b9..58c22da 100644
--- a/apps/mcast/BUILD
+++ b/apps/mcast/BUILD
@@ -6,10 +6,10 @@
]
onos_app(
- title = 'Multicast traffic control',
- origin = 'ONF',
- description = 'Provides handling of multicast traffic.',
- category = 'Traffic Engineering',
- url = 'https://wiki.onosproject.org/',
+ category = "Traffic Engineering",
+ description = "Provides handling of multicast traffic.",
included_bundles = BUNDLES,
+ origin = "ONF",
+ title = "Multicast traffic control",
+ url = "https://wiki.onosproject.org/",
)
diff --git a/apps/mcast/api/BUILD b/apps/mcast/api/BUILD
index 646cfb8..e3ebbd2 100644
--- a/apps/mcast/api/BUILD
+++ b/apps/mcast/api/BUILD
@@ -1,4 +1,4 @@
osgi_jar(
- deps = CORE_DEPS,
visibility = ["//visibility:public"],
+ deps = CORE_DEPS,
)
diff --git a/apps/mcast/cli/BUILD b/apps/mcast/cli/BUILD
index 53d4c2c..b0e12b5 100644
--- a/apps/mcast/cli/BUILD
+++ b/apps/mcast/cli/BUILD
@@ -1,13 +1,13 @@
COMPILE_DEPS = CORE_DEPS + [
- '@org_apache_karaf_shell_console//jar',
- '@javax_ws_rs_api//jar',
- '//cli:onos-cli',
- '//utils/rest:onlab-rest',
- '//core/store/serializers:onos-core-serializers',
- '//apps/mcast/api:onos-apps-mcast-api',
+ "@org_apache_karaf_shell_console//jar",
+ "@javax_ws_rs_api//jar",
+ "//cli:onos-cli",
+ "//utils/rest:onlab-rest",
+ "//core/store/serializers:onos-core-serializers",
+ "//apps/mcast/api:onos-apps-mcast-api",
]
osgi_jar(
+ import_packages = "*,org.onosproject.cli.net",
deps = COMPILE_DEPS,
- import_packages = '*,org.onosproject.cli.net',
)
diff --git a/apps/mcast/impl/BUILD b/apps/mcast/impl/BUILD
index 539cac3..5735fc1 100644
--- a/apps/mcast/impl/BUILD
+++ b/apps/mcast/impl/BUILD
@@ -1,6 +1,6 @@
COMPILE_DEPS = CORE_DEPS + KRYO + [
- '//core/store/serializers:onos-core-serializers',
- '//apps/mcast/api:onos-apps-mcast-api'
+ "//core/store/serializers:onos-core-serializers",
+ "//apps/mcast/api:onos-apps-mcast-api",
]
osgi_jar(
diff --git a/apps/mcast/web/BUILD b/apps/mcast/web/BUILD
index 7835ea3..4d2a045 100644
--- a/apps/mcast/web/BUILD
+++ b/apps/mcast/web/BUILD
@@ -1,14 +1,14 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + [
- '@javax_ws_rs_api//jar',
- '//utils/rest:onlab-rest',
- '//apps/mcast/api:onos-apps-mcast-api'
+ "@javax_ws_rs_api//jar",
+ "//utils/rest:onlab-rest",
+ "//apps/mcast/api:onos-apps-mcast-api",
]
osgi_jar(
+ api_description = "REST API for Multicast",
+ api_package = "org.onosproject.mcast.web",
+ api_title = "Multicast API",
+ api_version = "1.0",
+ web_context = "/onos/mcast",
deps = COMPILE_DEPS,
- web_context = '/onos/mcast',
- api_title = 'Multicast API',
- api_version = '1.0',
- api_description = 'REST API for Multicast',
- api_package = 'org.onosproject.mcast.web',
)
diff --git a/apps/mobility/BUILD b/apps/mobility/BUILD
index b956477..424b710 100644
--- a/apps/mobility/BUILD
+++ b/apps/mobility/BUILD
@@ -6,8 +6,8 @@
)
onos_app(
- title = "Host Mobility",
category = "Utility",
- url = "http://onosproject.org",
description = "Host mobility application.",
+ title = "Host Mobility",
+ url = "http://onosproject.org",
)
diff --git a/apps/route-service/BUILD b/apps/route-service/BUILD
index ad4fe6f..27a7e70 100644
--- a/apps/route-service/BUILD
+++ b/apps/route-service/BUILD
@@ -3,9 +3,9 @@
"//apps/route-service/app:onos-apps-route-service-app",
]
-onos_app (
- title = 'Route Service Server',
- category = 'Utility',
- url = 'http://onosproject.org',
+onos_app(
+ category = "Utility",
included_bundles = BUNDLES,
+ title = "Route Service Server",
+ url = "http://onosproject.org",
)
diff --git a/apps/route-service/api/BUILD b/apps/route-service/api/BUILD
index f33e002..3498f1f 100644
--- a/apps/route-service/api/BUILD
+++ b/apps/route-service/api/BUILD
@@ -1,10 +1,10 @@
COMPILE_DEPS = CORE_DEPS + JACKSON
TEST_DEPS = TEST + [
- '//core/api:onos-api-tests',
+ "//core/api:onos-api-tests",
]
-osgi_jar_with_tests (
- deps = COMPILE_DEPS,
+osgi_jar_with_tests(
test_deps = TEST_DEPS,
+ deps = COMPILE_DEPS,
)
diff --git a/apps/route-service/app/BUILD b/apps/route-service/app/BUILD
index aa8b7f8..79d88a0 100644
--- a/apps/route-service/app/BUILD
+++ b/apps/route-service/app/BUILD
@@ -1,23 +1,23 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + [
"@org_apache_karaf_shell_console//jar",
- '@concurrent_trees//jar',
- '@javax_ws_rs_api//jar',
- '@jersey_server//jar',
- '//core/store/serializers:onos-core-serializers',
- '//apps/route-service/api:onos-apps-route-service-api',
- '//cli:onos-cli',
- '//utils/rest:onlab-rest',
+ "@concurrent_trees//jar",
+ "@javax_ws_rs_api//jar",
+ "@jersey_server//jar",
+ "//core/store/serializers:onos-core-serializers",
+ "//apps/route-service/api:onos-apps-route-service-api",
+ "//cli:onos-cli",
+ "//utils/rest:onlab-rest",
]
TEST_DEPS = [
- '//lib:TEST',
- '//apps/route-service/api:onos-apps-route-service-api-tests',
- '//core/api:onos-api-tests',
+ "//lib:TEST",
+ "//apps/route-service/api:onos-apps-route-service-api-tests",
+ "//core/api:onos-api-tests",
]
-osgi_jar_with_tests (
- deps = COMPILE_DEPS,
+osgi_jar_with_tests(
test_deps = TEST_DEPS,
+ deps = COMPILE_DEPS,
#web_context = '/onos/routeservice',
#api_title = 'Route Service App',
#api_version = '1.0',
diff --git a/apps/segmentrouting/BUILD b/apps/segmentrouting/BUILD
index c03ace3..a6c8aca 100644
--- a/apps/segmentrouting/BUILD
+++ b/apps/segmentrouting/BUILD
@@ -1,13 +1,16 @@
BUNDLES = [
- '//apps/segmentrouting/app:onos-apps-segmentrouting-app',
- '//apps/segmentrouting/web:onos-apps-segmentrouting-web',
+ "//apps/segmentrouting/app:onos-apps-segmentrouting-app",
+ "//apps/segmentrouting/web:onos-apps-segmentrouting-web",
]
-onos_app (
- title = 'Segment Routing',
- category = 'Traffic Steering',
- url = 'http://onosproject.org',
+onos_app(
+ category = "Traffic Steering",
+ description = "Segment routing application.",
included_bundles = BUNDLES,
- description = 'Segment routing application.',
- required_apps = [ 'org.onosproject.route-service', 'org.onosproject.mcast' ],
+ required_apps = [
+ "org.onosproject.route-service",
+ "org.onosproject.mcast",
+ ],
+ title = "Segment Routing",
+ url = "http://onosproject.org",
)
diff --git a/apps/segmentrouting/app/BUILD b/apps/segmentrouting/app/BUILD
index 535479c5..c54c662 100644
--- a/apps/segmentrouting/app/BUILD
+++ b/apps/segmentrouting/app/BUILD
@@ -1,21 +1,21 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + [
"@org_apache_karaf_shell_console//jar",
- '//cli:onos-cli',
- '//core/common:onos-core-common',
- '//core/store/serializers:onos-core-serializers',
- '//incubator/api:onos-incubator-api',
- '//apps/route-service/api:onos-apps-route-service-api',
- '//apps/mcast/api:onos-apps-mcast-api',
- '//apps/mcast/cli:onos-apps-mcast-cli',
+ "//cli:onos-cli",
+ "//core/common:onos-core-common",
+ "//core/store/serializers:onos-core-serializers",
+ "//incubator/api:onos-incubator-api",
+ "//apps/route-service/api:onos-apps-route-service-api",
+ "//apps/mcast/api:onos-apps-mcast-api",
+ "//apps/mcast/cli:onos-apps-mcast-cli",
]
TEST_DEPS = TEST_ADAPTERS + [
- '//core/net:onos-core-net',
- '//incubator/api:onos-incubator-api-tests',
- '//apps/route-service/api:onos-apps-route-service-api-tests',
+ "//core/net:onos-core-net",
+ "//incubator/api:onos-incubator-api-tests",
+ "//apps/route-service/api:onos-apps-route-service-api-tests",
]
-osgi_jar_with_tests (
- deps = COMPILE_DEPS,
+osgi_jar_with_tests(
test_deps = TEST_DEPS,
+ deps = COMPILE_DEPS,
)
diff --git a/apps/segmentrouting/web/BUILD b/apps/segmentrouting/web/BUILD
index 05bc4a8..757a30f 100644
--- a/apps/segmentrouting/web/BUILD
+++ b/apps/segmentrouting/web/BUILD
@@ -1,10 +1,10 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + [
- '@javax_ws_rs_api//jar',
- '//utils/rest:onlab-rest',
- '//apps/segmentrouting/app:onos-apps-segmentrouting-app',
+ "@javax_ws_rs_api//jar",
+ "//utils/rest:onlab-rest",
+ "//apps/segmentrouting/app:onos-apps-segmentrouting-app",
]
-osgi_jar_with_tests (
+osgi_jar_with_tests(
deps = COMPILE_DEPS,
#web_context = '/onos/segmentrouting',
#api_title = 'Segment Routing Rest Server',