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", |
| 26 | test_deps = TEST_DEPS, |
| 27 | web_context = "/onos/cpman", |
| 28 | deps = COMPILE_DEPS, |
| 29 | ) |
| 30 | |
| 31 | onos_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 | ) |