From 6de40fc33bf3e18e1de4e1ed868177e87935fc05 Mon Sep 17 00:00:00 2001 From: app-services-ci Date: Tue, 7 Feb 2023 09:46:53 +0000 Subject: [PATCH] fix(kafka-mgmt/v1): update kafka-mgmt/v1 SDK --- .openapi/kas-fleet-manager.yaml | 2 +- packages/kafka-management-sdk/api/openapi.yaml | 4 ++-- packages/kafka-management-sdk/docs/DefaultApi.md | 4 ++-- .../src/main/java/com/openshift/cloud/api/kas/DefaultApi.java | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.openapi/kas-fleet-manager.yaml b/.openapi/kas-fleet-manager.yaml index fa539ad2..be3af6be 100644 --- a/.openapi/kas-fleet-manager.yaml +++ b/.openapi/kas-fleet-manager.yaml @@ -2207,7 +2207,7 @@ components: ``` name = my-kafka and cloud_provider = aws - ```[p-] + ``` To return a Kafka instance with a name that starts with `my`, use the following syntax: diff --git a/packages/kafka-management-sdk/api/openapi.yaml b/packages/kafka-management-sdk/api/openapi.yaml index 59d2c3af..1d1d6d5d 100644 --- a/packages/kafka-management-sdk/api/openapi.yaml +++ b/packages/kafka-management-sdk/api/openapi.yaml @@ -474,7 +474,7 @@ paths: ``` name = my-kafka and cloud_provider = aws - ```[p-] + ``` To return a Kafka instance with a name that starts with `my`, use the following syntax: @@ -2146,7 +2146,7 @@ components: ``` name = my-kafka and cloud_provider = aws - ```[p-] + ``` To return a Kafka instance with a name that starts with `my`, use the following syntax: diff --git a/packages/kafka-management-sdk/docs/DefaultApi.md b/packages/kafka-management-sdk/docs/DefaultApi.md index 840262ee..6f6e5859 100644 --- a/packages/kafka-management-sdk/docs/DefaultApi.md +++ b/packages/kafka-management-sdk/docs/DefaultApi.md @@ -587,7 +587,7 @@ public class Example { String page = "1"; // String | Page index String size = "100"; // String | Number of items in each page String orderBy = "name asc"; // String | Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * admin_api_server_url * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn't provided, or if the value is empty, then the results are ordered by name. - String search = "name = my-kafka and cloud_provider = aws"; // String | Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` To return a Kafka instance with a name containing `test` matching any character case combinations, use the following syntax: ``` name ilike %25test%25 ``` If the parameter isn't provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. + String search = "name = my-kafka and cloud_provider = aws"; // String | Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ``` To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` To return a Kafka instance with a name containing `test` matching any character case combinations, use the following syntax: ``` name ilike %25test%25 ``` If the parameter isn't provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. try { KafkaRequestList result = apiInstance.getKafkas(page, size, orderBy, search); System.out.println(result); @@ -610,7 +610,7 @@ Name | Type | Description | Notes **page** | **String**| Page index | [optional] **size** | **String**| Number of items in each page | [optional] **orderBy** | **String**| Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * admin_api_server_url * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn't provided, or if the value is empty, then the results are ordered by name. | [optional] - **search** | **String**| Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` To return a Kafka instance with a name containing `test` matching any character case combinations, use the following syntax: ``` name ilike %25test%25 ``` If the parameter isn't provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | [optional] + **search** | **String**| Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ``` To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` To return a Kafka instance with a name containing `test` matching any character case combinations, use the following syntax: ``` name ilike %25test%25 ``` If the parameter isn't provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | [optional] ### Return type diff --git a/packages/kafka-management-sdk/src/main/java/com/openshift/cloud/api/kas/DefaultApi.java b/packages/kafka-management-sdk/src/main/java/com/openshift/cloud/api/kas/DefaultApi.java index e99d35d3..8f1a0467 100644 --- a/packages/kafka-management-sdk/src/main/java/com/openshift/cloud/api/kas/DefaultApi.java +++ b/packages/kafka-management-sdk/src/main/java/com/openshift/cloud/api/kas/DefaultApi.java @@ -380,7 +380,7 @@ public KafkaRequest getKafkaById(String id) throws ApiException { * @param page Page index (optional) * @param size Number of items in each page (optional) * @param orderBy Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * admin_api_server_url * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn't provided, or if the value is empty, then the results are ordered by name. (optional) - * @param search Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` To return a Kafka instance with a name containing `test` matching any character case combinations, use the following syntax: ``` name ilike %25test%25 ``` If the parameter isn't provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. (optional) + * @param search Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ``` To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` To return a Kafka instance with a name containing `test` matching any character case combinations, use the following syntax: ``` name ilike %25test%25 ``` If the parameter isn't provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. (optional) * @return a {@code KafkaRequestList} * @throws ApiException if fails to make API call */