blob: 5942871bc80daf79c44821984a635372f9d1cfe3 [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',
Charles Chanc91c8782016-03-30 17:54:24 -07008 '//core/store/serializers:onos-core-serializers',
Ray Milkeyaad12322016-03-11 10:16:22 -08009 '//incubator/api:onos-incubator-api',
Ray Milkeyaad12322016-03-11 10:16:22 -080010 '//utils/rest:onlab-rest',
Ray Milkeya8154312017-08-08 13:00:43 -070011 '//apps/route-service/api:onos-apps-route-service-api',
Ray Milkeyaad12322016-03-11 10:16:22 -080012]
13
Charles Chan41f5ec02016-06-13 18:54:31 -070014BUNDLES = [
15 '//apps/segmentrouting:onos-apps-segmentrouting',
Charles Chan60a876a2017-02-03 10:24:45 -080016 '//apps/routing-api:onos-apps-routing-api',
Charles Chan41f5ec02016-06-13 18:54:31 -070017]
18
Ray Milkeyaad12322016-03-11 10:16:22 -080019TEST_DEPS = [
Ray Milkey6c986e52016-04-06 17:38:25 -070020 '//lib:TEST_ADAPTERS',
Charles Chan114aec72017-06-19 14:00:53 -070021 '//incubator/api:onos-incubator-api-tests',
Charles Chan6c624992017-08-18 17:11:34 -070022 '//apps/route-service/api:onos-apps-route-service-api-tests',
Ray Milkeyaad12322016-03-11 10:16:22 -080023]
24
Ray Milkey41719492016-04-11 13:20:42 -070025osgi_jar_with_tests (
Ray Milkeyaad12322016-03-11 10:16:22 -080026 deps = COMPILE_DEPS,
Ray Milkey41719492016-04-11 13:20:42 -070027 test_deps = TEST_DEPS,
Charles Chana75f1112017-08-31 13:29:39 -070028 # TODO Uncomment here when policy/tunnel are supported
29 #web_context = '/onos/segmentrouting',
30 #api_title = 'Segment Routing',
31 #api_version = '1.0',
32 #api_description = 'REST API for Segment Routing',
33 #api_package = 'org.onosproject.segmentrouting',
Ray Milkeyaad12322016-03-11 10:16:22 -080034)
35
Ray Milkey41719492016-04-11 13:20:42 -070036onos_app (
Thomas Vachuska59086242017-08-23 17:55:53 -070037 title = 'Segment Routing',
Ray Milkey41719492016-04-11 13:20:42 -070038 category = 'Traffic Steering',
39 url = 'http://onosproject.org',
Charles Chan41f5ec02016-06-13 18:54:31 -070040 included_bundles = BUNDLES,
Charles Chanb343d122016-04-12 10:33:14 -070041 description = 'Segment routing application.',
Ray Milkeya8154312017-08-08 13:00:43 -070042 required_apps = [ 'org.onosproject.route-service' ],
Ray Milkeyaad12322016-03-11 10:16:22 -080043)