Fix cpman Buck build
Change-Id: I08d6db71a4e78a5528377cc4489decaa5b763248
diff --git a/apps/cpman/app/BUCK b/apps/cpman/app/BUCK
index 8ceba0e..281d2d7 100644
--- a/apps/cpman/app/BUCK
+++ b/apps/cpman/app/BUCK
@@ -16,6 +16,7 @@
BUNDLES = [
'//apps/cpman/api:onos-apps-cpman-api',
+ ':onos-apps-cpman-app',
]
EXCLUDED_BUNDLES = [
@@ -25,13 +26,16 @@
osgi_jar_with_tests (
deps = COMPILE_DEPS,
test_deps = TEST_DEPS,
+ web_context = '/onos/cpman',
)
onos_app (
- title = 'Control Plane Manager REST API',
- category = 'Provider',
+ app_name = 'org.onosproject.cpman',
+ title = 'Control Plane Manager application',
+ category = 'Monitoring',
url = 'http://onosproject.org',
- description = 'APIs for interacting with the Control Plane Management application.',
+ description = 'Control Plane Management application for monitoring the health of the ONOS cluster',
included_bundles = BUNDLES,
excluded_bundles = EXCLUDED_BUNDLES,
+ required_apps = [ 'org.onosproject.openflow-message' ],
)