onos/web/api/BUILD
Thomas Vachuska 52f2cd1520 Detangling incubator: virtual nets, tunnels, resource labels, oh my
- virtual networking moved to /apps/virtual; with CLI & REST API
- tunnels and labels moved to /apps/tunnel; with CLI & REST API; UI disabled for now
- protobuf/models moved to /core/protobuf/models
- defunct grpc/rpc registry stuff left under /graveyard
- compile dependencies on /incubator moved to respective modules for compilation
- run-time dependencies will need to be re-tested for dependent apps

- /graveyard will be removed in not-too-distant future

Change-Id: I0a0b995c635487edcf95a352f50dd162186b0b39
2018-11-13 22:14:50 +00:00

22 lines
548 B
Python

COMPILE_DEPS = CORE_DEPS + JACKSON + METRICS + [
"@javax_ws_rs_api//jar",
"//utils/rest:onlab-rest",
]
TEST_DEPS = TEST_REST + [
"@minimal_json//jar",
"@jersey_security//jar",
]
osgi_jar_with_tests(
name = "onos-rest",
api_description = "ONOS Core REST API",
api_package = "org.onosproject.rest.impl",
api_title = "ONOS Core REST API",
api_version = "1.0",
exclude_tests = ["org.onosproject.rest.resources.ResourceTest"],
test_deps = TEST_DEPS,
web_context = "/onos/v1",
deps = COMPILE_DEPS,
)