Jian Li | e2a53cb | 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", |
Jian Li | ea58588 | 2021-01-19 23:42:55 +0900 | [diff] [blame] | 6 | "@json//jar", |
Jian Li | e2a53cb | 2020-12-19 01:26:57 +0900 | [diff] [blame] | 7 | "@k8s_client//jar", |
| 8 | "@k8s_model//jar", |
Jian Li | 9ac7395 | 2021-01-15 14:53:22 +0900 | [diff] [blame] | 9 | "@k8s_model_common//jar", |
| 10 | "@k8s_model_core//jar", |
| 11 | "@k8s_model_rbac//jar", |
| 12 | "@k8s_model_apps//jar", |
| 13 | "@k8s_model_admissionregistration//jar", |
| 14 | "@k8s_model_apiextensions//jar", |
| 15 | "@k8s_model_batch//jar", |
| 16 | "@k8s_model_certificates//jar", |
| 17 | "@k8s_model_coordination//jar", |
| 18 | "@k8s_model_discovery//jar", |
| 19 | "@k8s_model_metrics//jar", |
| 20 | "@k8s_model_scheduling//jar", |
Jian Li | 9ac7395 | 2021-01-15 14:53:22 +0900 | [diff] [blame] | 21 | "@k8s_model_storageclass//jar", |
| 22 | "@k8s_model_autoscaling//jar", |
| 23 | "@k8s_model_events//jar", |
| 24 | "@k8s_model_extensions//jar", |
| 25 | "@k8s_model_networking//jar", |
| 26 | "@k8s_model_node//jar", |
| 27 | "@k8s_model_policy//jar", |
Jian Li | e2a53cb | 2020-12-19 01:26:57 +0900 | [diff] [blame] | 28 | "@okhttp//jar", |
| 29 | "@okio//jar", |
| 30 | "@logging_interceptor//jar", |
| 31 | "@jackson_dataformat_yaml//jar", |
Jian Li | 9ac7395 | 2021-01-15 14:53:22 +0900 | [diff] [blame] | 32 | "@jackson_datatype_jsr310//jar", |
Jian Li | e2a53cb | 2020-12-19 01:26:57 +0900 | [diff] [blame] | 33 | "@snakeyaml//jar", |
| 34 | "@commons_net//jar", |
Jian Li | 94b6d16 | 2021-04-15 17:09:11 +0900 | [diff] [blame] | 35 | "@dns_java//jar", |
Jian Li | e2a53cb | 2020-12-19 01:26:57 +0900 | [diff] [blame] | 36 | ] |
| 37 | |
| 38 | TEST_DEPS = TEST_ADAPTERS + TEST_REST + [ |
Jian Li | b230e07c | 2020-12-21 11:25:12 +0900 | [diff] [blame] | 39 | "//apps/kubevirt-node/api:onos-apps-kubevirt-node-api-tests", |
Jian Li | e2a53cb | 2020-12-19 01:26:57 +0900 | [diff] [blame] | 40 | "//core/api:onos-api-tests", |
| 41 | "//core/common:onos-core-common-tests", |
| 42 | "//web/api:onos-rest-tests", |
Jian Li | cc01e45 | 2020-12-21 01:44:05 +0900 | [diff] [blame] | 43 | "@minimal_json//jar", |
Jian Li | e2a53cb | 2020-12-19 01:26:57 +0900 | [diff] [blame] | 44 | ] |
| 45 | |
| 46 | osgi_jar_with_tests( |
| 47 | api_description = "REST API for KubeVirt Node", |
| 48 | api_package = "org.onosproject.kubevirtnode.web", |
| 49 | api_title = "KubeVirt Node API", |
| 50 | api_version = "1.0", |
| 51 | karaf_command_packages = ["org.onosproject.kubevirtnode.cli"], |
| 52 | test_deps = TEST_DEPS, |
| 53 | web_context = "/onos/kubevirtnode", |
| 54 | deps = COMPILE_DEPS, |
| 55 | ) |