blob: 9011ba4fb9af5778388e13de2ba1731a480c42d1 [file] [log] [blame]
Ray Milkey35ea5bf2018-07-17 15:28:44 -07001COMPILE_DEPS = CORE_DEPS + JACKSON + METRICS + KRYO + CLI + REST + [
2 "@rrd4j//jar",
3 "//core/store/serializers:onos-core-serializers",
4 "//apps/cpman/api:onos-apps-cpman-api",
5]
6
7TEST_DEPS = TEST_REST + [
8 "//web/api:onos-rest-tests",
9]
10
11BUNDLES = [
12 "//apps/cpman/api:onos-apps-cpman-api",
13 ":onos-apps-cpman-app",
14]
15
16EXCLUDED_BUNDLES = [
17 "@rrd4j//jar",
18]
19
20osgi_jar_with_tests(
21 api_description = "REST API for Control Plane Manager",
22 api_package = "org.onosproject.cpman.rest",
23 api_title = "Control Plane Manager API",
24 api_version = "1.0",
25 test_deps = TEST_DEPS,
26 web_context = "/onos/cpman",
27 deps = COMPILE_DEPS,
28)
29
30onos_app(
31 app_name = "org.onosproject.cpman",
32 category = "Monitoring",
33 description = "Control Plane Management application for monitoring the health of the ONOS cluster",
34 excluded_bundles = EXCLUDED_BUNDLES,
35 included_bundles = BUNDLES,
36 required_apps = ["org.onosproject.openflow-message"],
37 title = "Control Plane Manager",
38 url = "http://onosproject.org",
39)