blob: 644ba2d2238a3ddf9f03cbd26af94d143d14d9ec [file] [log] [blame]
Ray Milkeyf80bbb22016-03-11 10:16:22 -08001COMPILE_DEPS = [
2 '//lib:CORE_DEPS',
3 '//lib:org.apache.karaf.shell.console',
4 '//lib:javax.ws.rs-api',
5 '//lib:rrd4j',
Ray Milkeyaeb00792016-04-20 16:15:21 -07006 '//apps/cpman/api:onos-apps-cpman-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -08007 '//utils/rest:onlab-rest',
8 '//cli:onos-cli',
Brian O'Connor284fb692016-04-04 19:26:51 -07009 '//core/store/serializers:onos-core-serializers',
10]
Ray Milkeyf80bbb22016-03-11 10:16:22 -080011
12TEST_DEPS = [
Ray Milkey7c251822016-04-06 17:38:25 -070013 '//lib:TEST_REST',
14 '//web/api:onos-rest-tests',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080015]
16
Ray Milkeyaeb00792016-04-20 16:15:21 -070017BUNDLES = [
18 '//apps/cpman/api:onos-apps-cpman-api',
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070019 ':onos-apps-cpman-app',
Ray Milkeyaeb00792016-04-20 16:15:21 -070020]
21
22EXCLUDED_BUNDLES = [
Ray Milkey4e5139b2016-04-27 15:50:43 -070023 '//lib:rrd4j',
Ray Milkeyaeb00792016-04-20 16:15:21 -070024]
25
26osgi_jar_with_tests (
Ray Milkeyf80bbb22016-03-11 10:16:22 -080027 deps = COMPILE_DEPS,
Ray Milkeyaeb00792016-04-20 16:15:21 -070028 test_deps = TEST_DEPS,
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070029 web_context = '/onos/cpman',
Thomas Vachuska7c45e282017-08-23 17:55:53 -070030 api_title = 'Control Plane Manager API',
Jian Lie6315c82016-12-12 19:14:18 +090031 api_version = '1.0',
Thomas Vachuska7c45e282017-08-23 17:55:53 -070032 api_description = 'REST API for Control Plane Manager',
Jian Lie6315c82016-12-12 19:14:18 +090033 api_package = 'org.onosproject.cpman.rest',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080034)
35
Ray Milkeyaeb00792016-04-20 16:15:21 -070036onos_app (
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070037 app_name = 'org.onosproject.cpman',
Thomas Vachuska7c45e282017-08-23 17:55:53 -070038 title = 'Control Plane Manager',
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070039 category = 'Monitoring',
Ray Milkeyaeb00792016-04-20 16:15:21 -070040 url = 'http://onosproject.org',
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070041 description = 'Control Plane Management application for monitoring the health of the ONOS cluster',
Ray Milkeyaeb00792016-04-20 16:15:21 -070042 included_bundles = BUNDLES,
43 excluded_bundles = EXCLUDED_BUNDLES,
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070044 required_apps = [ 'org.onosproject.openflow-message' ],
Ray Milkeyf80bbb22016-03-11 10:16:22 -080045)