Ray Milkey | 35ea5bf | 2018-07-17 15:28:44 -0700 | [diff] [blame] | 1 | COMPILE_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 | |
| 7 | TEST_DEPS = TEST_REST + [ |
| 8 | "//web/api:onos-rest-tests", |
| 9 | ] |
| 10 | |
| 11 | BUNDLES = [ |
| 12 | "//apps/cpman/api:onos-apps-cpman-api", |
| 13 | ":onos-apps-cpman-app", |
Jian Li | b535154 | 2018-09-17 22:11:36 +0900 | [diff] [blame] | 14 | "@rrd4j//jar", |
Ray Milkey | 35ea5bf | 2018-07-17 15:28:44 -0700 | [diff] [blame] | 15 | ] |
| 16 | |
| 17 | EXCLUDED_BUNDLES = [ |
| 18 | "@rrd4j//jar", |
| 19 | ] |
| 20 | |
| 21 | osgi_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 Milkey | a04e444 | 2018-10-03 11:04:35 -0700 | [diff] [blame] | 26 | karaf_command_packages = ["org.onosproject.cpman.cli"], |
Ray Milkey | 35ea5bf | 2018-07-17 15:28:44 -0700 | [diff] [blame] | 27 | test_deps = TEST_DEPS, |
| 28 | web_context = "/onos/cpman", |
| 29 | deps = COMPILE_DEPS, |
| 30 | ) |
| 31 | |
| 32 | onos_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 | ) |