Skip to content

Commit

Permalink
chore(all): re-generate OpenAPI client(s) (#283)
Browse files Browse the repository at this point in the history
Co-authored-by: app-services-ci <[email protected]>
  • Loading branch information
app-services-ci and app-services-ci authored May 25, 2022
1 parent 1f87499 commit 4317d6d
Show file tree
Hide file tree
Showing 60 changed files with 144 additions and 67 deletions.
8 changes: 4 additions & 4 deletions packages/kafka-management-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Kafka Service Fleet Manager

- API version: 1.7.0
- API version: 1.7.1

Kafka Service Fleet Manager is a Rest API to manage Kafka instances.

Expand Down Expand Up @@ -40,7 +40,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.redhat.cloud</groupId>
<artifactId>kafka-management-sdk</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -56,7 +56,7 @@ Add this dependency to your project's build file:
}
dependencies {
implementation "com.redhat.cloud:kafka-management-sdk:1.7.0"
implementation "com.redhat.cloud:kafka-management-sdk:1.7.1"
}
```

Expand All @@ -70,7 +70,7 @@ mvn clean package

Then manually install the following JARs:

- `target/kafka-management-sdk-1.7.0.jar`
- `target/kafka-management-sdk-1.7.1.jar`
- `target/lib/*.jar`

## Getting Started
Expand Down
13 changes: 11 additions & 2 deletions packages/kafka-management-sdk/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0
info:
description: Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
title: Kafka Service Fleet Manager
version: 1.7.0
version: 1.7.1
servers:
- description: Main (production) server
url: https://api.openshift.com
Expand Down Expand Up @@ -311,6 +311,7 @@ paths:
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
Expand Down Expand Up @@ -1212,6 +1213,7 @@ components:
owner: api_kafka_service
name: serviceapi
bootstrap_server_host: serviceapi-1isy6rq3jki8q0otmjqfd3ocfrg.apps.mk-bttg0jn170hp.x5u8.s1.devshift.org
admin_api_server_url: https://admin-server-mk-e-e-e-e-c---{}ld{-}-n-vp--bltg.rhcloud.com
created_at: 2020-10-05T12:51:24.053142Z
updated_at: 2020-10-05T12:56:36.362208Z
version: 2.6.0
Expand All @@ -1237,6 +1239,7 @@ components:
owner: api_kafka_service
name: serviceapi
bootstrap_server_host: serviceapi-1isy6rq3jki8q0otmjqfd3ocfrg.apps.mk-bttg0jn170hp.x5u8.s1.devshift.org
admin_api_server_url: https://admin-server-mk-e-e-e-e-c---{}ld{-}-n-vp--bltg.rhcloud.com
created_at: 2020-10-05T12:51:24.053142Z
updated_at: 2020-10-05T12:56:36.362208Z
failed_reason: a reason the Kafka request creation failed
Expand Down Expand Up @@ -1569,6 +1572,7 @@ components:
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
Expand Down Expand Up @@ -1810,7 +1814,7 @@ components:
size.
type: integer
maturity_status:
description: Maturity level of the size. Can be stable or tech preview.
description: Maturity level of the size. Can be "stable" or "preview".
type: string
type: object
SupportedKafkaSizeBytesValueItem:
Expand Down Expand Up @@ -2022,6 +2026,11 @@ components:
type: string
bootstrap_server_host:
type: string
admin_api_server_url:
description: The kafka admin server url to perform kafka admin operations
e.g acl management etc. The value will be available when the Kafka has
been fully provisioned i.e it reaches a 'ready' state
type: string
created_at:
format: date-time
type: string
Expand Down
4 changes: 2 additions & 2 deletions packages/kafka-management-sdk/docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
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 * 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 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 `<>`, `=`, or `LIKE`. 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 ``` 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);
Expand All @@ -592,7 +592,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 &#x60;order by&#x60; clause of an SQL statement. Each query can be ordered by any of the following &#x60;kafkaRequests&#x60; fields: * bootstrap_server_host * 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: &#x60;&#x60;&#x60;sql name asc &#x60;&#x60;&#x60; To return all Kafka instances ordered by their name _and_ created date, use the following syntax: &#x60;&#x60;&#x60;sql name asc, created_at asc &#x60;&#x60;&#x60; If the parameter isn&#39;t provided, or if the value is empty, then the results are ordered by name. | [optional]
**orderBy** | **String**| Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the &#x60;order by&#x60; clause of an SQL statement. Each query can be ordered by any of the following &#x60;kafkaRequests&#x60; 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: &#x60;&#x60;&#x60;sql name asc &#x60;&#x60;&#x60; To return all Kafka instances ordered by their name _and_ created date, use the following syntax: &#x60;&#x60;&#x60;sql name asc, created_at asc &#x60;&#x60;&#x60; If the parameter isn&#39;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 &#x60;where&#x60; clause of an SQL statement. Allowed fields in the search are &#x60;cloud_provider&#x60;, &#x60;name&#x60;, &#x60;owner&#x60;, &#x60;region&#x60;, and &#x60;status&#x60;. Allowed comparators are &#x60;&lt;&gt;&#x60;, &#x60;&#x3D;&#x60;, or &#x60;LIKE&#x60;. Allowed joins are &#x60;AND&#x60; and &#x60;OR&#x60;. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name &#x60;my-kafka&#x60; and the region &#x60;aws&#x60;, use the following syntax: &#x60;&#x60;&#x60; name &#x3D; my-kafka and cloud_provider &#x3D; aws &#x60;&#x60;&#x60;[p-] To return a Kafka instance with a name that starts with &#x60;my&#x60;, use the following syntax: &#x60;&#x60;&#x60; name like my%25 &#x60;&#x60;&#x60; If the parameter isn&#39;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
Expand Down
1 change: 1 addition & 0 deletions packages/kafka-management-sdk/docs/KafkaRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Name | Type | Description | Notes
**owner** | **String** | | [optional]
**name** | **String** | | [optional]
**bootstrapServerHost** | **String** | | [optional]
**adminApiServerUrl** | **String** | The kafka admin server url to perform kafka admin operations e.g acl management etc. The value will be available when the Kafka has been fully provisioned i.e it reaches a &#39;ready&#39; state | [optional]
**createdAt** | **OffsetDateTime** | | [optional]
**expiresAt** | **OffsetDateTime** | | [optional]
**updatedAt** | **OffsetDateTime** | | [optional]
Expand Down
1 change: 1 addition & 0 deletions packages/kafka-management-sdk/docs/KafkaRequestAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Name | Type | Description | Notes
**owner** | **String** | | [optional]
**name** | **String** | | [optional]
**bootstrapServerHost** | **String** | | [optional]
**adminApiServerUrl** | **String** | The kafka admin server url to perform kafka admin operations e.g acl management etc. The value will be available when the Kafka has been fully provisioned i.e it reaches a &#39;ready&#39; state | [optional]
**createdAt** | **OffsetDateTime** | | [optional]
**expiresAt** | **OffsetDateTime** | | [optional]
**updatedAt** | **OffsetDateTime** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion packages/kafka-management-sdk/docs/SupportedKafkaSize.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Name | Type | Description | Notes
**quotaConsumed** | **Integer** | Quota consumed by this Kafka instance size. | [optional]
**quotaType** | **String** | Quota type used by this Kafka instance size. | [optional]
**capacityConsumed** | **Integer** | Data plane cluster capacity consumed by this Kafka instance size. | [optional]
**maturityStatus** | **String** | Maturity level of the size. Can be stable or tech preview. | [optional]
**maturityStatus** | **String** | Maturity level of the size. Can be \&quot;stable\&quot; or \&quot;preview\&quot;. | [optional]



Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,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 &#x60;order by&#x60; clause of an SQL statement. Each query can be ordered by any of the following &#x60;kafkaRequests&#x60; fields: * bootstrap_server_host * 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: &#x60;&#x60;&#x60;sql name asc &#x60;&#x60;&#x60; To return all Kafka instances ordered by their name _and_ created date, use the following syntax: &#x60;&#x60;&#x60;sql name asc, created_at asc &#x60;&#x60;&#x60; If the parameter isn&#39;t provided, or if the value is empty, then the results are ordered by name. (optional)
* @param orderBy Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the &#x60;order by&#x60; clause of an SQL statement. Each query can be ordered by any of the following &#x60;kafkaRequests&#x60; 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: &#x60;&#x60;&#x60;sql name asc &#x60;&#x60;&#x60; To return all Kafka instances ordered by their name _and_ created date, use the following syntax: &#x60;&#x60;&#x60;sql name asc, created_at asc &#x60;&#x60;&#x60; If the parameter isn&#39;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 &#x60;where&#x60; clause of an SQL statement. Allowed fields in the search are &#x60;cloud_provider&#x60;, &#x60;name&#x60;, &#x60;owner&#x60;, &#x60;region&#x60;, and &#x60;status&#x60;. Allowed comparators are &#x60;&lt;&gt;&#x60;, &#x60;&#x3D;&#x60;, or &#x60;LIKE&#x60;. Allowed joins are &#x60;AND&#x60; and &#x60;OR&#x60;. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name &#x60;my-kafka&#x60; and the region &#x60;aws&#x60;, use the following syntax: &#x60;&#x60;&#x60; name &#x3D; my-kafka and cloud_provider &#x3D; aws &#x60;&#x60;&#x60;[p-] To return a Kafka instance with a name that starts with &#x60;my&#x60;, use the following syntax: &#x60;&#x60;&#x60; name like my%25 &#x60;&#x60;&#x60; If the parameter isn&#39;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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public ApiClient() {
this.json.setDateFormat((DateFormat) dateFormat.clone());

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/1.7.0/java");
setUserAgent("OpenAPI-Generator/1.7.1/java");

// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<String, Authentication>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kafka Service Fleet Manager
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
*
* The version of the OpenAPI document: 1.7.0
* The version of the OpenAPI document: 1.7.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Loading

0 comments on commit 4317d6d

Please sign in to comment.