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' ],
)
diff --git a/providers/openflow/message/BUCK b/providers/openflow/message/BUCK
index b9caae2..77ec836 100644
--- a/providers/openflow/message/BUCK
+++ b/providers/openflow/message/BUCK
@@ -15,6 +15,7 @@
)
onos_app (
+ app_name = 'org.onosproject.openflow-message',
title = 'Control Message Stats Provider',
category = 'Provider',
url = 'http://onosproject.org',