Jian Li | 9e43ec1 | 2019-01-21 23:04:23 +0900 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + CLI + REST + [ |
| 2 | "//core/store/serializers:onos-core-serializers", |
Jian Li | f16e885 | 2019-01-22 22:55:31 +0900 | [diff] [blame] | 3 | "//protocols/ovsdb/api:onos-protocols-ovsdb-api", |
| 4 | "//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc", |
Jian Li | 9e43ec1 | 2019-01-21 23:04:23 +0900 | [diff] [blame] | 5 | "//apps/k8s-node/api:onos-apps-k8s-node-api", |
Jian Li | 1cee988 | 2019-02-13 11:25:25 +0900 | [diff] [blame] | 6 | "@k8s_client//jar", |
| 7 | "@k8s_model//jar", |
Jian Li | 9ac7395 | 2021-01-15 14:53:22 +0900 | [diff] [blame] | 8 | "@k8s_model_common//jar", |
| 9 | "@k8s_model_core//jar", |
| 10 | "@k8s_model_rbac//jar", |
| 11 | "@k8s_model_apps//jar", |
| 12 | "@k8s_model_admissionregistration//jar", |
| 13 | "@k8s_model_apiextensions//jar", |
| 14 | "@k8s_model_batch//jar", |
| 15 | "@k8s_model_certificates//jar", |
| 16 | "@k8s_model_coordination//jar", |
| 17 | "@k8s_model_discovery//jar", |
| 18 | "@k8s_model_metrics//jar", |
| 19 | "@k8s_model_scheduling//jar", |
| 20 | "@k8s_model_settings//jar", |
| 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 | 1cee988 | 2019-02-13 11:25:25 +0900 | [diff] [blame] | 28 | "@okhttp//jar", |
| 29 | "@okio//jar", |
| 30 | "@logging_interceptor//jar", |
| 31 | "@jackson_dataformat_yaml//jar", |
Chris Aslanoglou | 1d72e17 | 2021-01-22 13:17:08 +0200 | [diff] [blame] | 32 | "@jackson_datatype_jsr310//jar", |
Jian Li | 1cee988 | 2019-02-13 11:25:25 +0900 | [diff] [blame] | 33 | "@snakeyaml//jar", |
Jian Li | 58b3398 | 2020-07-01 19:07:02 +0900 | [diff] [blame] | 34 | "@commons_net//jar", |
Jian Li | 9e43ec1 | 2019-01-21 23:04:23 +0900 | [diff] [blame] | 35 | ] |
| 36 | |
Jian Li | 49109b5 | 2019-01-22 00:17:28 +0900 | [diff] [blame] | 37 | TEST_DEPS = TEST_ADAPTERS + TEST_REST + [ |
Jian Li | 9e43ec1 | 2019-01-21 23:04:23 +0900 | [diff] [blame] | 38 | "//core/api:onos-api-tests", |
| 39 | "//core/common:onos-core-common-tests", |
Jian Li | 49109b5 | 2019-01-22 00:17:28 +0900 | [diff] [blame] | 40 | "//web/api:onos-rest-tests", |
Jian Li | 9e43ec1 | 2019-01-21 23:04:23 +0900 | [diff] [blame] | 41 | ] |
| 42 | |
| 43 | osgi_jar_with_tests( |
Jian Li | f16e885 | 2019-01-22 22:55:31 +0900 | [diff] [blame] | 44 | api_description = "REST API for Kubernetes Node", |
| 45 | api_package = "org.onosproject.k8snode.web", |
| 46 | api_title = "Kubernetes Node API", |
| 47 | api_version = "1.0", |
Jian Li | 9e43ec1 | 2019-01-21 23:04:23 +0900 | [diff] [blame] | 48 | karaf_command_packages = ["org.onosproject.k8snode.cli"], |
| 49 | test_deps = TEST_DEPS, |
Jian Li | f16e885 | 2019-01-22 22:55:31 +0900 | [diff] [blame] | 50 | web_context = "/onos/k8snode", |
Jian Li | 9e43ec1 | 2019-01-21 23:04:23 +0900 | [diff] [blame] | 51 | deps = COMPILE_DEPS, |
| 52 | ) |