blob: ea4dda7d315f546d1f5ca6bc7f051ce2911d1cfb [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',
Ray Milkeyf80bbb22016-03-11 10:16:22 -08006 '//lib:org.apache.karaf.shell.console',
7 '//lib:javax.ws.rs-api',
8 '//lib:rrd4j',
Ray Milkeyaeb00792016-04-20 16:15:21 -07009 '//apps/cpman/api:onos-apps-cpman-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080010 '//utils/rest:onlab-rest',
11 '//cli:onos-cli',
Brian O'Connor284fb692016-04-04 19:26:51 -070012 '//core/store/serializers:onos-core-serializers',
13]
Ray Milkeyf80bbb22016-03-11 10:16:22 -080014
15TEST_DEPS = [
Ray Milkey7c251822016-04-06 17:38:25 -070016 '//lib:TEST_REST',
17 '//web/api:onos-rest-tests',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080018]
19
Ray Milkeyaeb00792016-04-20 16:15:21 -070020BUNDLES = [
21 '//apps/cpman/api:onos-apps-cpman-api',
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070022 ':onos-apps-cpman-app',
Ray Milkeyaeb00792016-04-20 16:15:21 -070023]
24
25EXCLUDED_BUNDLES = [
Ray Milkey4e5139b2016-04-27 15:50:43 -070026 '//lib:rrd4j',
Ray Milkeyaeb00792016-04-20 16:15:21 -070027]
28
29osgi_jar_with_tests (
Ray Milkeyf80bbb22016-03-11 10:16:22 -080030 deps = COMPILE_DEPS,
Ray Milkeyaeb00792016-04-20 16:15:21 -070031 test_deps = TEST_DEPS,
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070032 web_context = '/onos/cpman',
Thomas Vachuskab0029682017-08-23 17:55:53 -070033 api_title = 'Control Plane Manager API',
Jian Lie6315c82016-12-12 19:14:18 +090034 api_version = '1.0',
Thomas Vachuskab0029682017-08-23 17:55:53 -070035 api_description = 'REST API for Control Plane Manager',
Jian Lie6315c82016-12-12 19:14:18 +090036 api_package = 'org.onosproject.cpman.rest',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080037)
38
Ray Milkeyaeb00792016-04-20 16:15:21 -070039onos_app (
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070040 app_name = 'org.onosproject.cpman',
Thomas Vachuskab0029682017-08-23 17:55:53 -070041 title = 'Control Plane Manager',
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070042 category = 'Monitoring',
Ray Milkeyaeb00792016-04-20 16:15:21 -070043 url = 'http://onosproject.org',
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070044 description = 'Control Plane Management application for monitoring the health of the ONOS cluster',
Ray Milkeyaeb00792016-04-20 16:15:21 -070045 included_bundles = BUNDLES,
46 excluded_bundles = EXCLUDED_BUNDLES,
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070047 required_apps = [ 'org.onosproject.openflow-message' ],
Ray Milkeyf80bbb22016-03-11 10:16:22 -080048)