blob: 5942871bc80daf79c44821984a635372f9d1cfe3 [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',
Charles Chand55e84d2016-03-30 17:54:24 -07008 '//core/store/serializers:onos-core-serializers',
Ray Milkeyf80bbb22016-03-11 10:16:22 -08009 '//incubator/api:onos-incubator-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080010 '//utils/rest:onlab-rest',
Ray Milkey69ec8712017-08-08 13:00:43 -070011 '//apps/route-service/api:onos-apps-route-service-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080012]
13
Charles Chan35fd1a72016-06-13 18:54:31 -070014BUNDLES = [
15 '//apps/segmentrouting:onos-apps-segmentrouting',
Charles Chan0b77bdd2017-02-03 10:24:45 -080016 '//apps/routing-api:onos-apps-routing-api',
Charles Chan35fd1a72016-06-13 18:54:31 -070017]
18
Ray Milkeyf80bbb22016-03-11 10:16:22 -080019TEST_DEPS = [
Ray Milkey7c251822016-04-06 17:38:25 -070020 '//lib:TEST_ADAPTERS',
Charles Chan2e2e3402017-06-19 14:00:53 -070021 '//incubator/api:onos-incubator-api-tests',
Charles Chan1a3b02a2017-08-18 17:11:34 -070022 '//apps/route-service/api:onos-apps-route-service-api-tests',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080023]
24
Ray Milkey820d6332016-04-11 13:20:42 -070025osgi_jar_with_tests (
Ray Milkeyf80bbb22016-03-11 10:16:22 -080026 deps = COMPILE_DEPS,
Ray Milkey820d6332016-04-11 13:20:42 -070027 test_deps = TEST_DEPS,
Charles Chan13dfea22017-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 Milkeyf80bbb22016-03-11 10:16:22 -080034)
35
Ray Milkey820d6332016-04-11 13:20:42 -070036onos_app (
Thomas Vachuskab0029682017-08-23 17:55:53 -070037 title = 'Segment Routing',
Ray Milkey820d6332016-04-11 13:20:42 -070038 category = 'Traffic Steering',
39 url = 'http://onosproject.org',
Charles Chan35fd1a72016-06-13 18:54:31 -070040 included_bundles = BUNDLES,
Charles Chan2c8231c2016-04-12 10:33:14 -070041 description = 'Segment routing application.',
Ray Milkey69ec8712017-08-08 13:00:43 -070042 required_apps = [ 'org.onosproject.route-service' ],
Ray Milkeyf80bbb22016-03-11 10:16:22 -080043)