blob: 936c9fffefb39c44f11044b19ca9db0427512ce0 [file] [log] [blame]
Ray Milkeyf80bbb22016-03-11 10:16:22 -08001COMPILE_DEPS = [
2 '//lib:CORE_DEPS',
Ray Milkey446f4462017-08-17 15:36:01 -07003 '//lib:JACKSON',
4 '//lib:METRICS',
5 '//lib:KRYO',
6 '//lib:joda-time',
Ray Milkeyf80bbb22016-03-11 10:16:22 -08007 '//lib:org.apache.karaf.shell.console',
8 '//lib:javax.ws.rs-api',
9 '//lib:rrd4j',
Ray Milkeyaeb00792016-04-20 16:15:21 -070010 '//apps/cpman/api:onos-apps-cpman-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080011 '//utils/rest:onlab-rest',
12 '//cli:onos-cli',
Brian O'Connor284fb692016-04-04 19:26:51 -070013 '//core/store/serializers:onos-core-serializers',
14]
Ray Milkeyf80bbb22016-03-11 10:16:22 -080015
16TEST_DEPS = [
Ray Milkey7c251822016-04-06 17:38:25 -070017 '//lib:TEST_REST',
18 '//web/api:onos-rest-tests',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080019]
20
Ray Milkeyaeb00792016-04-20 16:15:21 -070021BUNDLES = [
22 '//apps/cpman/api:onos-apps-cpman-api',
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070023 ':onos-apps-cpman-app',
Ray Milkeyaeb00792016-04-20 16:15:21 -070024]
25
26EXCLUDED_BUNDLES = [
Ray Milkey4e5139b2016-04-27 15:50:43 -070027 '//lib:rrd4j',
Ray Milkeyaeb00792016-04-20 16:15:21 -070028]
29
30osgi_jar_with_tests (
Ray Milkeyf80bbb22016-03-11 10:16:22 -080031 deps = COMPILE_DEPS,
Ray Milkeyaeb00792016-04-20 16:15:21 -070032 test_deps = TEST_DEPS,
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070033 web_context = '/onos/cpman',
Thomas Vachuskab0029682017-08-23 17:55:53 -070034 api_title = 'Control Plane Manager API',
Jian Lie6315c82016-12-12 19:14:18 +090035 api_version = '1.0',
Thomas Vachuskab0029682017-08-23 17:55:53 -070036 api_description = 'REST API for Control Plane Manager',
Jian Lie6315c82016-12-12 19:14:18 +090037 api_package = 'org.onosproject.cpman.rest',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080038)
39
Ray Milkeyaeb00792016-04-20 16:15:21 -070040onos_app (
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070041 app_name = 'org.onosproject.cpman',
Thomas Vachuskab0029682017-08-23 17:55:53 -070042 title = 'Control Plane Manager',
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070043 category = 'Monitoring',
Ray Milkeyaeb00792016-04-20 16:15:21 -070044 url = 'http://onosproject.org',
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070045 description = 'Control Plane Management application for monitoring the health of the ONOS cluster',
Ray Milkeyaeb00792016-04-20 16:15:21 -070046 included_bundles = BUNDLES,
47 excluded_bundles = EXCLUDED_BUNDLES,
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070048 required_apps = [ 'org.onosproject.openflow-message' ],
Ray Milkeyf80bbb22016-03-11 10:16:22 -080049)