ONOS-5504: Added REST API for administering OFAgent.
Change-Id: Idc9a18fc82ec23fbb8348fe213f8007e362253ac
diff --git a/apps/ofagent/BUCK b/apps/ofagent/BUCK
index 1c8ee1e..fedf257 100644
--- a/apps/ofagent/BUCK
+++ b/apps/ofagent/BUCK
@@ -10,12 +10,16 @@
'//lib:netty-codec',
'//lib:netty-handler',
'//lib:openflowj-3.0',
+ '//lib:javax.ws.rs-api',
+ '//utils/rest:onlab-rest',
]
TEST_DEPS = [
'//lib:TEST_ADAPTERS',
'//core/api:onos-api-tests',
'//core/common:onos-core-common-tests',
+ '//lib:TEST_REST',
+ '//lib:jersey-server',
]
EXCLUDED_BUNDLES = [
@@ -25,6 +29,7 @@
osgi_jar_with_tests (
deps = COMPILE_DEPS,
test_deps = TEST_DEPS,
+ web_context = '/onos/v1/ofagent',
)
onos_app (