Ray Milkey | 35ea5bf | 2018-07-17 15:28:44 -0700 | [diff] [blame^] | 1 | COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + REST + [ |
| 2 | "//core/store/serializers:onos-core-serializers", |
| 3 | "//incubator/api:onos-incubator-api", |
| 4 | "//apps/routing-api:onos-apps-routing-api", |
| 5 | "//apps/intentsync:onos-apps-intentsync", |
| 6 | ] |
| 7 | |
| 8 | BUNDLES = [ |
| 9 | "//apps/castor:onos-apps-castor", |
| 10 | "//apps/routing-api:onos-apps-routing-api", |
| 11 | "//apps/routing/common:onos-apps-routing-common", |
| 12 | ] |
| 13 | |
| 14 | TEST_DEPS = TEST_ADAPTERS + [ |
| 15 | "//incubator/api:onos-incubator-api-tests", |
| 16 | "//apps/routing-api:onos-apps-routing-api-tests", |
| 17 | ] |
| 18 | |
| 19 | osgi_jar_with_tests( |
| 20 | api_description = "REST API for Castor", |
| 21 | api_package = "org.onosproject.castor", |
| 22 | api_title = "Castor", |
| 23 | api_version = "1.0", |
| 24 | test_deps = TEST_DEPS, |
| 25 | web_context = "/onos/castor", |
| 26 | deps = COMPILE_DEPS, |
| 27 | ) |
| 28 | |
| 29 | onos_app( |
| 30 | category = "Utility", |
| 31 | description = "Castor application", |
| 32 | included_bundles = BUNDLES, |
| 33 | required_apps = ["org.onosproject.intentsynchronizer"], |
| 34 | title = "Castor", |
| 35 | url = "http://onosproject.org", |
| 36 | ) |