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", |
| 14 | ] |
| 15 | |
| 16 | EXCLUDED_BUNDLES = [ |
| 17 | "@rrd4j//jar", |
| 18 | ] |
| 19 | |
| 20 | osgi_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 | |
| 30 | onos_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 | ) |