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