blob: 5ff2a6e9b9c0c33c5f73fd64bc01e3883cc6c1f9 [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",
Jian Lib5351542018-09-17 22:11:36 +090014 "@rrd4j//jar",
Ray Milkey35ea5bf2018-07-17 15:28:44 -070015]
16
17EXCLUDED_BUNDLES = [
18 "@rrd4j//jar",
19]
20
21osgi_jar_with_tests(
22 api_description = "REST API for Control Plane Manager",
23 api_package = "org.onosproject.cpman.rest",
24 api_title = "Control Plane Manager API",
25 api_version = "1.0",
26 test_deps = TEST_DEPS,
27 web_context = "/onos/cpman",
28 deps = COMPILE_DEPS,
29)
30
31onos_app(
32 app_name = "org.onosproject.cpman",
33 category = "Monitoring",
34 description = "Control Plane Management application for monitoring the health of the ONOS cluster",
35 excluded_bundles = EXCLUDED_BUNDLES,
36 included_bundles = BUNDLES,
37 required_apps = ["org.onosproject.openflow-message"],
38 title = "Control Plane Manager",
39 url = "http://onosproject.org",
40)