Himal Kumar | b43724d | 2016-04-29 14:15:57 +1000 | [diff] [blame] | 1 | COMPILE_DEPS = [ |
| 2 | '//lib:CORE_DEPS', |
Ray Milkey | 446f446 | 2017-08-17 15:36:01 -0700 | [diff] [blame] | 3 | '//lib:JACKSON', |
| 4 | '//lib:KRYO', |
Himal Kumar | b43724d | 2016-04-29 14:15:57 +1000 | [diff] [blame] | 5 | '//core/api:onos-api', |
| 6 | '//lib:javax.ws.rs-api', |
| 7 | '//lib:jersey-server', |
| 8 | '//utils/rest:onlab-rest', |
| 9 | '//core/store/serializers:onos-core-serializers', |
| 10 | '//incubator/api:onos-incubator-api', |
| 11 | '//apps/routing-api:onos-apps-routing-api', |
Jonathan Hart | 470ed4f | 2017-01-31 16:52:28 -0800 | [diff] [blame] | 12 | '//apps/intentsync:onos-apps-intentsync', |
Himal Kumar | b43724d | 2016-04-29 14:15:57 +1000 | [diff] [blame] | 13 | ] |
| 14 | |
| 15 | BUNDLES = [ |
| 16 | '//apps/castor:onos-apps-castor', |
| 17 | '//apps/routing-api:onos-apps-routing-api', |
Jonathan Hart | f4bd048 | 2017-01-27 15:11:18 -0800 | [diff] [blame] | 18 | '//apps/routing/common:onos-apps-routing-common', |
Himal Kumar | b43724d | 2016-04-29 14:15:57 +1000 | [diff] [blame] | 19 | ] |
| 20 | |
| 21 | TEST_DEPS = [ |
| 22 | '//lib:TEST_ADAPTERS', |
| 23 | '//incubator/api:onos-incubator-api-tests', |
| 24 | '//apps/routing-api:onos-apps-routing-api-tests', |
| 25 | ] |
| 26 | |
| 27 | osgi_jar_with_tests ( |
| 28 | deps = COMPILE_DEPS, |
| 29 | test_deps = TEST_DEPS, |
| 30 | web_context = '/onos/castor', |
Thomas Vachuska | b002968 | 2017-08-23 17:55:53 -0700 | [diff] [blame] | 31 | api_title = 'Castor', |
Himal Kumar | b43724d | 2016-04-29 14:15:57 +1000 | [diff] [blame] | 32 | api_version = '1.0', |
Thomas Vachuska | b002968 | 2017-08-23 17:55:53 -0700 | [diff] [blame] | 33 | api_description = 'REST API for Castor', |
Himal Kumar | b43724d | 2016-04-29 14:15:57 +1000 | [diff] [blame] | 34 | api_package = 'org.onosproject.castor', |
| 35 | ) |
| 36 | |
| 37 | onos_app ( |
Thomas Vachuska | b002968 | 2017-08-23 17:55:53 -0700 | [diff] [blame] | 38 | title = 'Castor', |
Himal Kumar | b43724d | 2016-04-29 14:15:57 +1000 | [diff] [blame] | 39 | category = 'Utility', |
| 40 | url = 'http://onosproject.org', |
| 41 | included_bundles = BUNDLES, |
| 42 | description = 'Castor application', |
Jonathan Hart | 470ed4f | 2017-01-31 16:52:28 -0800 | [diff] [blame] | 43 | required_apps = [ 'org.onosproject.intentsynchronizer' ], |
| 44 | ) |