Jian Li | 762bc22 | 2020-12-19 01:26:57 +0900 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + CLI + REST + [ |
| 2 | "//core/store/serializers:onos-core-serializers", |
| 3 | "//protocols/ovsdb/api:onos-protocols-ovsdb-api", |
| 4 | "//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc", |
| 5 | "//apps/kubevirt-node/api:onos-apps-kubevirt-node-api", |
| 6 | "@k8s_client//jar", |
| 7 | "@k8s_model//jar", |
| 8 | "@okhttp//jar", |
| 9 | "@okio//jar", |
| 10 | "@logging_interceptor//jar", |
| 11 | "@jackson_dataformat_yaml//jar", |
| 12 | "@snakeyaml//jar", |
| 13 | "@commons_net//jar", |
| 14 | ] |
| 15 | |
| 16 | TEST_DEPS = TEST_ADAPTERS + TEST_REST + [ |
| 17 | "//core/api:onos-api-tests", |
| 18 | "//core/common:onos-core-common-tests", |
| 19 | "//web/api:onos-rest-tests", |
Jian Li | 171582e | 2020-12-21 01:44:05 +0900 | [diff] [blame^] | 20 | "@minimal_json//jar", |
Jian Li | 762bc22 | 2020-12-19 01:26:57 +0900 | [diff] [blame] | 21 | ] |
| 22 | |
| 23 | osgi_jar_with_tests( |
| 24 | api_description = "REST API for KubeVirt Node", |
| 25 | api_package = "org.onosproject.kubevirtnode.web", |
| 26 | api_title = "KubeVirt Node API", |
| 27 | api_version = "1.0", |
| 28 | karaf_command_packages = ["org.onosproject.kubevirtnode.cli"], |
| 29 | test_deps = TEST_DEPS, |
| 30 | web_context = "/onos/kubevirtnode", |
| 31 | deps = COMPILE_DEPS, |
| 32 | ) |