buildifier formatting of bazel files
Change-Id: I8196aa52ee640d1c500307a50a0ab4921138b69b
diff --git a/BUILD b/BUILD
index c03ace3..a6c8aca 100644
--- a/BUILD
+++ b/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/app/BUILD b/app/BUILD
index 535479c..c54c662 100644
--- a/app/BUILD
+++ b/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/web/BUILD b/web/BUILD
index 05bc4a8..757a30f 100644
--- a/web/BUILD
+++ b/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',