blob: 281d2d74494af259c24587fcdef3d8fb029e3dfa [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',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080030)
31
Ray Milkeyaeb00792016-04-20 16:15:21 -070032onos_app (
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070033 app_name = 'org.onosproject.cpman',
34 title = 'Control Plane Manager application',
35 category = 'Monitoring',
Ray Milkeyaeb00792016-04-20 16:15:21 -070036 url = 'http://onosproject.org',
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070037 description = 'Control Plane Management application for monitoring the health of the ONOS cluster',
Ray Milkeyaeb00792016-04-20 16:15:21 -070038 included_bundles = BUNDLES,
39 excluded_bundles = EXCLUDED_BUNDLES,
Jonathan Hartbdfb5cb2016-08-01 13:43:38 -070040 required_apps = [ 'org.onosproject.openflow-message' ],
Ray Milkeyf80bbb22016-03-11 10:16:22 -080041)