Skip to content

Commit ccc5894

Browse files
fix(kafka-mgmt/v1): update kafka-mgmt/v1 SDK (#369)
Co-authored-by: app-services-ci <app-services-ci@users.noreply.github.com>
1 parent 4507052 commit ccc5894

57 files changed

Lines changed: 62 additions & 98 deletions

Some content is hidden

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

.openapi/kas-fleet-manager.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0 # need this as first line to allow some IDEs to know this is an o
22
# All endpoints defined here will be discoverable by all users. If there is a need to keep some endpoints "private", add them to the "managed-services-api-private.yaml" file
33
info:
44
title: Kafka Management API
5-
version: 1.12.0
5+
version: 1.13.0
66
description: Kafka Management API is a REST API to manage Kafka instances
77
license:
88
name: 'Apache 2.0'
@@ -1240,8 +1240,9 @@ components:
12401240
description: 'Quota consumed by this Kafka instance size.'
12411241
type: integer
12421242
quota_type:
1243-
description: 'Quota type used by this Kafka instance size.'
1243+
description: 'Quota type used by this Kafka instance size. This is now deprecated, please refer to supported_billing_models at instance-type level instead.'
12441244
type: string
1245+
deprecated: true
12451246
capacity_consumed:
12461247
description: 'Data plane cluster capacity consumed by this Kafka instance size.'
12471248
type: integer

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 Management API
44

5-
- API version: 1.12.0
5+
- API version: 1.13.0
66

77
Kafka Management API 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.12.0</version>
43+
<version>1.13.0</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.12.0"
59+
implementation "com.redhat.cloud:kafka-management-sdk:1.13.0"
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.12.0.jar`
73+
- `target/kafka-management-sdk-1.13.0.jar`
7474
- `target/lib/*.jar`
7575

7676
## Getting Started

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
name: Apache 2.0
99
url: https://www.apache.org/licenses/LICENSE-2.0
1010
title: Kafka Management API
11-
version: 1.12.0
11+
version: 1.13.0
1212
servers:
1313
- description: Main (production) server
1414
url: https://api.openshift.com
@@ -1918,9 +1918,6 @@ components:
19181918
quota_consumed:
19191919
description: Quota consumed by this Kafka instance size.
19201920
type: integer
1921-
quota_type:
1922-
description: Quota type used by this Kafka instance size.
1923-
type: string
19241921
capacity_consumed:
19251922
description: Data plane cluster capacity consumed by this Kafka instance
19261923
size.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Name | Type | Description | Notes
2323
**supportedAzModes** | **List&lt;String&gt;** | List of Availability Zone modes that this Kafka instance size supports. The possible values are \&quot;single\&quot;, \&quot;multi\&quot;. | [optional]
2424
**lifespanSeconds** | **Integer** | The limit lifespan of the kafka instance in seconds. If not specified then the instance never expires. | [optional]
2525
**quotaConsumed** | **Integer** | Quota consumed by this Kafka instance size. | [optional]
26-
**quotaType** | **String** | Quota type used by this Kafka instance size. | [optional]
2726
**capacityConsumed** | **Integer** | Data plane cluster capacity consumed by this Kafka instance size. | [optional]
2827
**maturityStatus** | **String** | Maturity level of the size. Can be \&quot;stable\&quot; or \&quot;preview\&quot;. | [optional]
2928

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.12.0/java");
79+
setUserAgent("OpenAPI-Generator/1.13.0/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 Management API
33
* Kafka Management API is a REST API to manage Kafka instances
44
*
5-
* The version of the OpenAPI document: 1.12.0
5+
* The version of the OpenAPI document: 1.13.0
66
* Contact: rhosak-support@redhat.com
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 Management API
33
* Kafka Management API is a REST API to manage Kafka instances
44
*
5-
* The version of the OpenAPI document: 1.12.0
5+
* The version of the OpenAPI document: 1.13.0
66
* Contact: rhosak-support@redhat.com
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/JavaTimeFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kafka Management API
33
* Kafka Management API is a REST API to manage Kafka instances
44
*
5-
* The version of the OpenAPI document: 1.12.0
5+
* The version of the OpenAPI document: 1.13.0
66
* Contact: rhosak-support@redhat.com
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/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kafka Management API
33
* Kafka Management API is a REST API to manage Kafka instances
44
*
5-
* The version of the OpenAPI document: 1.12.0
5+
* The version of the OpenAPI document: 1.13.0
66
* Contact: rhosak-support@redhat.com
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/RFC3339DateFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kafka Management API
33
* Kafka Management API is a REST API to manage Kafka instances
44
*
5-
* The version of the OpenAPI document: 1.12.0
5+
* The version of the OpenAPI document: 1.13.0
66
* Contact: rhosak-support@redhat.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)