Build segment routing app with bazel
- add support for apps depending on other apps
- build files for route-service and segment routing
Change-Id: I4850aacfe050f802072e2d59a6a21bcefd784e67
diff --git a/apps/route-service/app/BUILD b/apps/route-service/app/BUILD
new file mode 100644
index 0000000..aa8b7f8
--- /dev/null
+++ b/apps/route-service/app/BUILD
@@ -0,0 +1,26 @@
+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',
+]
+
+TEST_DEPS = [
+ '//lib:TEST',
+ '//apps/route-service/api:onos-apps-route-service-api-tests',
+ '//core/api:onos-api-tests',
+]
+
+osgi_jar_with_tests (
+ deps = COMPILE_DEPS,
+ test_deps = TEST_DEPS,
+ #web_context = '/onos/routeservice',
+ #api_title = 'Route Service App',
+ #api_version = '1.0',
+ #api_description = 'REST API for Route Service App',
+ #api_package = 'org.onosproject.routeservice.rest',
+)