blob: 02d33cce557b991215b4dc9d319d166e5a808051 [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",
Ray Milkeya04e4442018-10-03 11:04:35 -070026 karaf_command_packages = ["org.onosproject.cpman.cli"],
Ray Milkey35ea5bf2018-07-17 15:28:44 -070027 test_deps = TEST_DEPS,
28 web_context = "/onos/cpman",
29 deps = COMPILE_DEPS,
30)
31
32onos_app(
33 app_name = "org.onosproject.cpman",
34 category = "Monitoring",
35 description = "Control Plane Management application for monitoring the health of the ONOS cluster",
36 excluded_bundles = EXCLUDED_BUNDLES,
37 included_bundles = BUNDLES,
38 required_apps = ["org.onosproject.openflow-message"],
39 title = "Control Plane Manager",
40 url = "http://onosproject.org",
41)