blob: 39243fe5056eda01507e69d9307173da1b5828dc [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:KRYO',
Ray Milkeyf80bbb22016-03-11 10:16:22 -08005 '//lib:org.apache.karaf.shell.console',
6 '//lib:javax.ws.rs-api',
7 '//cli:onos-cli',
Simon Hunt5789e1c2017-11-08 15:34:07 -08008 '//core/common:onos-core-common',
Charles Chand55e84d2016-03-30 17:54:24 -07009 '//core/store/serializers:onos-core-serializers',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080010 '//incubator/api:onos-incubator-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080011 '//utils/rest:onlab-rest',
Ray Milkey69ec8712017-08-08 13:00:43 -070012 '//apps/route-service/api:onos-apps-route-service-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080013]
14
Charles Chan35fd1a72016-06-13 18:54:31 -070015BUNDLES = [
16 '//apps/segmentrouting:onos-apps-segmentrouting',
Charles Chan0b77bdd2017-02-03 10:24:45 -080017 '//apps/routing-api:onos-apps-routing-api',
Charles Chan35fd1a72016-06-13 18:54:31 -070018]
19
Ray Milkeyf80bbb22016-03-11 10:16:22 -080020TEST_DEPS = [
Ray Milkey7c251822016-04-06 17:38:25 -070021 '//lib:TEST_ADAPTERS',
Charles Chan2e2e3402017-06-19 14:00:53 -070022 '//incubator/api:onos-incubator-api-tests',
Charles Chan1a3b02a2017-08-18 17:11:34 -070023 '//apps/route-service/api:onos-apps-route-service-api-tests',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080024]
25
Ray Milkey820d6332016-04-11 13:20:42 -070026osgi_jar_with_tests (
Ray Milkeyf80bbb22016-03-11 10:16:22 -080027 deps = COMPILE_DEPS,
Ray Milkey820d6332016-04-11 13:20:42 -070028 test_deps = TEST_DEPS,
Charles Chan13dfea22017-08-31 13:29:39 -070029 # TODO Uncomment here when policy/tunnel are supported
30 #web_context = '/onos/segmentrouting',
31 #api_title = 'Segment Routing',
32 #api_version = '1.0',
33 #api_description = 'REST API for Segment Routing',
34 #api_package = 'org.onosproject.segmentrouting',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080035)
36
Ray Milkey820d6332016-04-11 13:20:42 -070037onos_app (
Thomas Vachuskab0029682017-08-23 17:55:53 -070038 title = 'Segment Routing',
Ray Milkey820d6332016-04-11 13:20:42 -070039 category = 'Traffic Steering',
40 url = 'http://onosproject.org',
Charles Chan35fd1a72016-06-13 18:54:31 -070041 included_bundles = BUNDLES,
Charles Chan2c8231c2016-04-12 10:33:14 -070042 description = 'Segment routing application.',
Ray Milkey69ec8712017-08-08 13:00:43 -070043 required_apps = [ 'org.onosproject.route-service' ],
Ray Milkeyf80bbb22016-03-11 10:16:22 -080044)