Skip to content

Commit 4317d6d

Browse files
chore(all): re-generate OpenAPI client(s) (#283)
Co-authored-by: app-services-ci <app-services-ci@users.noreply.github.com>
1 parent 1f87499 commit 4317d6d

60 files changed

Lines changed: 144 additions & 67 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/kafka-management-sdk/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Kafka Service Fleet Manager
44

5-
- API version: 1.7.0
5+
- API version: 1.7.1
66

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

@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
4040
<dependency>
4141
<groupId>com.redhat.cloud</groupId>
4242
<artifactId>kafka-management-sdk</artifactId>
43-
<version>1.7.0</version>
43+
<version>1.7.1</version>
4444
<scope>compile</scope>
4545
</dependency>
4646
```
@@ -56,7 +56,7 @@ Add this dependency to your project's build file:
5656
}
5757
5858
dependencies {
59-
implementation "com.redhat.cloud:kafka-management-sdk:1.7.0"
59+
implementation "com.redhat.cloud:kafka-management-sdk:1.7.1"
6060
}
6161
```
6262

@@ -70,7 +70,7 @@ mvn clean package
7070

7171
Then manually install the following JARs:
7272

73-
- `target/kafka-management-sdk-1.7.0.jar`
73+
- `target/kafka-management-sdk-1.7.1.jar`
7474
- `target/lib/*.jar`
7575

7676
## Getting Started

packages/kafka-management-sdk/api/openapi.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
description: Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
44
title: Kafka Service Fleet Manager
5-
version: 1.7.0
5+
version: 1.7.1
66
servers:
77
- description: Main (production) server
88
url: https://api.openshift.com
@@ -311,6 +311,7 @@ paths:
311311
Each query can be ordered by any of the following `kafkaRequests` fields:
312312
313313
* bootstrap_server_host
314+
* admin_api_server_url
314315
* cloud_provider
315316
* cluster_id
316317
* created_at
@@ -1212,6 +1213,7 @@ components:
12121213
owner: api_kafka_service
12131214
name: serviceapi
12141215
bootstrap_server_host: serviceapi-1isy6rq3jki8q0otmjqfd3ocfrg.apps.mk-bttg0jn170hp.x5u8.s1.devshift.org
1216+
admin_api_server_url: https://admin-server-mk-e-e-e-e-c---{}ld{-}-n-vp--bltg.rhcloud.com
12151217
created_at: 2020-10-05T12:51:24.053142Z
12161218
updated_at: 2020-10-05T12:56:36.362208Z
12171219
version: 2.6.0
@@ -1237,6 +1239,7 @@ components:
12371239
owner: api_kafka_service
12381240
name: serviceapi
12391241
bootstrap_server_host: serviceapi-1isy6rq3jki8q0otmjqfd3ocfrg.apps.mk-bttg0jn170hp.x5u8.s1.devshift.org
1242+
admin_api_server_url: https://admin-server-mk-e-e-e-e-c---{}ld{-}-n-vp--bltg.rhcloud.com
12401243
created_at: 2020-10-05T12:51:24.053142Z
12411244
updated_at: 2020-10-05T12:56:36.362208Z
12421245
failed_reason: a reason the Kafka request creation failed
@@ -1569,6 +1572,7 @@ components:
15691572
Each query can be ordered by any of the following `kafkaRequests` fields:
15701573
15711574
* bootstrap_server_host
1575+
* admin_api_server_url
15721576
* cloud_provider
15731577
* cluster_id
15741578
* created_at
@@ -1810,7 +1814,7 @@ components:
18101814
size.
18111815
type: integer
18121816
maturity_status:
1813-
description: Maturity level of the size. Can be stable or tech preview.
1817+
description: Maturity level of the size. Can be "stable" or "preview".
18141818
type: string
18151819
type: object
18161820
SupportedKafkaSizeBytesValueItem:
@@ -2022,6 +2026,11 @@ components:
20222026
type: string
20232027
bootstrap_server_host:
20242028
type: string
2029+
admin_api_server_url:
2030+
description: The kafka admin server url to perform kafka admin operations
2031+
e.g acl management etc. The value will be available when the Kafka has
2032+
been fully provisioned i.e it reaches a 'ready' state
2033+
type: string
20252034
created_at:
20262035
format: date-time
20272036
type: string

packages/kafka-management-sdk/docs/DefaultApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ public class Example {
569569
DefaultApi apiInstance = new DefaultApi(defaultClient);
570570
String page = "1"; // String | Page index
571571
String size = "100"; // String | Number of items in each page
572-
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.
572+
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.
573573
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.
574574
try {
575575
KafkaRequestList result = apiInstance.getKafkas(page, size, orderBy, search);
@@ -592,7 +592,7 @@ Name | Type | Description | Notes
592592
------------- | ------------- | ------------- | -------------
593593
**page** | **String**| Page index | [optional]
594594
**size** | **String**| Number of items in each page | [optional]
595-
**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]
595+
**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]
596596
**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]
597597

598598
### Return type

packages/kafka-management-sdk/docs/KafkaRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
1717
**owner** | **String** | | [optional]
1818
**name** | **String** | | [optional]
1919
**bootstrapServerHost** | **String** | | [optional]
20+
**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]
2021
**createdAt** | **OffsetDateTime** | | [optional]
2122
**expiresAt** | **OffsetDateTime** | | [optional]
2223
**updatedAt** | **OffsetDateTime** | | [optional]

packages/kafka-management-sdk/docs/KafkaRequestAllOf.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
1414
**owner** | **String** | | [optional]
1515
**name** | **String** | | [optional]
1616
**bootstrapServerHost** | **String** | | [optional]
17+
**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]
1718
**createdAt** | **OffsetDateTime** | | [optional]
1819
**expiresAt** | **OffsetDateTime** | | [optional]
1920
**updatedAt** | **OffsetDateTime** | | [optional]

packages/kafka-management-sdk/docs/SupportedKafkaSize.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Name | Type | Description | Notes
2525
**quotaConsumed** | **Integer** | Quota consumed by this Kafka instance size. | [optional]
2626
**quotaType** | **String** | Quota type used by this Kafka instance size. | [optional]
2727
**capacityConsumed** | **Integer** | Data plane cluster capacity consumed by this Kafka instance size. | [optional]
28-
**maturityStatus** | **String** | Maturity level of the size. Can be stable or tech preview. | [optional]
28+
**maturityStatus** | **String** | Maturity level of the size. Can be \&quot;stable\&quot; or \&quot;preview\&quot;. | [optional]
2929

3030

3131

packages/kafka-management-sdk/src/main/java/com/openshift/cloud/api/kas/DefaultApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ public KafkaRequest getKafkaById(String id) throws ApiException {
378378
*
379379
* @param page Page index (optional)
380380
* @param size Number of items in each page (optional)
381-
* @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)
381+
* @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)
382382
* @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)
383383
* @return a {@code KafkaRequestList}
384384
* @throws ApiException if fails to make API call

packages/kafka-management-sdk/src/main/java/com/openshift/cloud/api/kas/invoker/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public ApiClient() {
7676
this.json.setDateFormat((DateFormat) dateFormat.clone());
7777

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

8181
// Setup authentications (key: authentication name, value: authentication).
8282
authentications = new HashMap<String, Authentication>();

packages/kafka-management-sdk/src/main/java/com/openshift/cloud/api/kas/invoker/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kafka Service Fleet Manager
33
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
44
*
5-
* The version of the OpenAPI document: 1.7.0
5+
* The version of the OpenAPI document: 1.7.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

packages/kafka-management-sdk/src/main/java/com/openshift/cloud/api/kas/invoker/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kafka Service Fleet Manager
33
* Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
44
*
5-
* The version of the OpenAPI document: 1.7.0
5+
* The version of the OpenAPI document: 1.7.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)