Ray Milkey | 324af93 | 2018-06-20 19:50:31 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + JACKSON + METRICS + [ |
| 2 | "@javax_ws_rs_api//jar", |
| 3 | "//incubator/api:onos-incubator-api", |
| 4 | "//utils/rest:onlab-rest", |
| 5 | ] |
| 6 | |
| 7 | TEST_DEPS = TEST_REST + [ |
| 8 | "@minimal_json//jar", |
| 9 | "@jersey_security//jar", |
| 10 | ] |
| 11 | |
| 12 | osgi_jar_with_tests( |
| 13 | name = "onos-rest", |
| 14 | api_description = "ONOS Core REST API", |
| 15 | api_package = "org.onosproject.rest.impl", |
| 16 | api_title = "ONOS Core REST API", |
| 17 | api_version = "1.0", |
| 18 | exclude_tests = ["org.onosproject.rest.resources.ResourceTest"], |
| 19 | test_deps = TEST_DEPS, |
| 20 | web_context = "/onos/v1", |
| 21 | deps = COMPILE_DEPS, |
| 22 | ) |