blob: 39243fe5056eda01507e69d9307173da1b5828dc [file] [log] [blame]
Ray Milkeyaad12322016-03-11 10:16:22 -08001COMPILE_DEPS = [
2 '//lib:CORE_DEPS',
Ray Milkey3141b992017-08-17 15:36:01 -07003 '//lib:JACKSON',
4 '//lib:KRYO',
Ray Milkeyaad12322016-03-11 10:16:22 -08005 '//lib:org.apache.karaf.shell.console',
6 '//lib:javax.ws.rs-api',
7 '//cli:onos-cli',
Simon Hunt2ff17592017-11-08 15:34:07 -08008 '//core/common:onos-core-common',
Charles Chanc91c8782016-03-30 17:54:24 -07009 '//core/store/serializers:onos-core-serializers',
Ray Milkeyaad12322016-03-11 10:16:22 -080010 '//incubator/api:onos-incubator-api',
Ray Milkeyaad12322016-03-11 10:16:22 -080011 '//utils/rest:onlab-rest',
Ray Milkeya8154312017-08-08 13:00:43 -070012 '//apps/route-service/api:onos-apps-route-service-api',
Ray Milkeyaad12322016-03-11 10:16:22 -080013]
14
Charles Chan41f5ec02016-06-13 18:54:31 -070015BUNDLES = [
16 '//apps/segmentrouting:onos-apps-segmentrouting',
Charles Chan60a876a2017-02-03 10:24:45 -080017 '//apps/routing-api:onos-apps-routing-api',
Charles Chan41f5ec02016-06-13 18:54:31 -070018]
19
Ray Milkeyaad12322016-03-11 10:16:22 -080020TEST_DEPS = [
Ray Milkey6c986e52016-04-06 17:38:25 -070021 '//lib:TEST_ADAPTERS',
Charles Chan114aec72017-06-19 14:00:53 -070022 '//incubator/api:onos-incubator-api-tests',
Charles Chan6c624992017-08-18 17:11:34 -070023 '//apps/route-service/api:onos-apps-route-service-api-tests',
Ray Milkeyaad12322016-03-11 10:16:22 -080024]
25
Ray Milkey41719492016-04-11 13:20:42 -070026osgi_jar_with_tests (
Ray Milkeyaad12322016-03-11 10:16:22 -080027 deps = COMPILE_DEPS,
Ray Milkey41719492016-04-11 13:20:42 -070028 test_deps = TEST_DEPS,
Charles Chana75f1112017-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 Milkeyaad12322016-03-11 10:16:22 -080035)
36
Ray Milkey41719492016-04-11 13:20:42 -070037onos_app (
Thomas Vachuska59086242017-08-23 17:55:53 -070038 title = 'Segment Routing',
Ray Milkey41719492016-04-11 13:20:42 -070039 category = 'Traffic Steering',
40 url = 'http://onosproject.org',
Charles Chan41f5ec02016-06-13 18:54:31 -070041 included_bundles = BUNDLES,
Charles Chanb343d122016-04-12 10:33:14 -070042 description = 'Segment routing application.',
Ray Milkeya8154312017-08-08 13:00:43 -070043 required_apps = [ 'org.onosproject.route-service' ],
Ray Milkeyaad12322016-03-11 10:16:22 -080044)