Allow addition and removal of individual routes via REST.
ONOS-6919
Change-Id: I7c851c92d495b42a9e0948f739859f46eb2ded7a
diff --git a/apps/route-service/app/BUCK b/apps/route-service/app/BUCK
index 30e6c49..f9233bb 100644
--- a/apps/route-service/app/BUCK
+++ b/apps/route-service/app/BUCK
@@ -3,10 +3,13 @@
'//lib:JACKSON',
'//lib:KRYO',
'//lib:concurrent-trees',
+ '//lib:javax.ws.rs-api',
+ '//lib:jersey-server',
'//core/store/serializers:onos-core-serializers',
'//apps/route-service/api:onos-apps-route-service-api',
'//cli:onos-cli',
'//lib:org.apache.karaf.shell.console',
+ '//utils/rest:onlab-rest',
]
TEST_DEPS = [
@@ -18,4 +21,9 @@
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',
)