Skip to content

Commit 7076f86

Browse files
chore(all): re-generate OpenAPI client(s) (#189)
Co-authored-by: app-services-ci <app-services-ci@users.noreply.github.com>
1 parent bfbadef commit 7076f86

12 files changed

Lines changed: 53 additions & 27 deletions

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,8 +1313,13 @@ components:
13131313
type: string
13141314
ConnectorState:
13151315
enum:
1316+
- assigning
1317+
- assigned
1318+
- updating
13161319
- ready
13171320
- stopped
1321+
- failed
1322+
- deleting
13181323
- deleted
13191324
- provisioning
13201325
- deprovisioning

packages/connector-management-sdk/docs/ConnectorState.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,20 @@
55
## Enum
66

77

8+
* `ASSIGNING` (value: `"assigning"`)
9+
10+
* `ASSIGNED` (value: `"assigned"`)
11+
12+
* `UPDATING` (value: `"updating"`)
13+
814
* `READY` (value: `"ready"`)
915

1016
* `STOPPED` (value: `"stopped"`)
1117

18+
* `FAILED` (value: `"failed"`)
19+
20+
* `DELETING` (value: `"deleting"`)
21+
1222
* `DELETED` (value: `"deleted"`)
1323

1424
* `PROVISIONING` (value: `"provisioning"`)

packages/connector-management-sdk/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@
260260
</dependencies>
261261
<properties>
262262
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
263-
<swagger-annotations-version>1.6.5</swagger-annotations-version>
264-
<resteasy-version>5.0.2.Final</resteasy-version>
263+
<swagger-annotations-version>1.5.22</swagger-annotations-version>
264+
<resteasy-version>5.0.1.Final</resteasy-version>
265265
<jackson-version>2.10.5</jackson-version>
266266
<jackson-databind-version>2.10.5.1</jackson-databind-version>
267267
<jackson-databind-nullable-version>0.2.1</jackson-databind-nullable-version>

packages/connector-management-sdk/src/main/java/com/openshift/cloud/api/connector/models/ConnectorState.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,20 @@
2626
*/
2727
public enum ConnectorState {
2828

29+
ASSIGNING("assigning"),
30+
31+
ASSIGNED("assigned"),
32+
33+
UPDATING("updating"),
34+
2935
READY("ready"),
3036

3137
STOPPED("stopped"),
3238

39+
FAILED("failed"),
40+
41+
DELETING("deleting"),
42+
3343
DELETED("deleted"),
3444

3545
PROVISIONING("provisioning"),

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ paths:
2626
those records the requestor is authorized to view.
2727
operationId: getTopics
2828
parameters:
29-
- description: Maximum number of topics to return on single page
29+
- deprecated: true
30+
description: Maximum number of topics to return
3031
explode: true
3132
in: query
32-
name: size
33+
name: limit
3334
required: false
3435
schema:
35-
format: int32
3636
type: integer
3737
style: form
3838
- description: Filter to apply when returning the list of topics
@@ -508,10 +508,11 @@ paths:
508508
authorized to view.
509509
operationId: getConsumerGroups
510510
parameters:
511-
- description: Maximum number of consumer groups to return on single page
511+
- deprecated: true
512+
description: Maximum number of consumer groups to return
512513
explode: true
513514
in: query
514-
name: size
515+
name: limit
515516
required: false
516517
schema:
517518
type: integer

packages/kafka-instance-sdk/docs/GroupsApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Name | Type | Description | Notes
171171

172172
## getConsumerGroups
173173

174-
> ConsumerGroupList getConsumerGroups(size, page, topic, groupIdFilter, order, orderKey)
174+
> ConsumerGroupList getConsumerGroups(limit, page, topic, groupIdFilter, order, orderKey)
175175
176176
List of consumer groups in the Kafka instance.
177177

@@ -198,14 +198,14 @@ public class Example {
198198
Bearer.setAccessToken("YOUR ACCESS TOKEN");
199199

200200
GroupsApi apiInstance = new GroupsApi(defaultClient);
201-
Integer size = 56; // Integer | Maximum number of consumer groups to return on single page
201+
Integer limit = 56; // Integer | Maximum number of consumer groups to return
202202
Integer page = 56; // Integer | The page when returning the list of consumer groups
203203
String topic = "topic_example"; // String | Return consumer groups where the topic name contains with this value
204204
String groupIdFilter = "groupIdFilter_example"; // String | Return the consumer groups where the ID contains with this value
205205
String order = "asc"; // String | Order of the consumer groups sorting. Ascending order is used as default.
206206
String orderKey = "name"; // String | Order key to sort the items by. Only the value 'name' is currently applicable.
207207
try {
208-
ConsumerGroupList result = apiInstance.getConsumerGroups(size, page, topic, groupIdFilter, order, orderKey);
208+
ConsumerGroupList result = apiInstance.getConsumerGroups(limit, page, topic, groupIdFilter, order, orderKey);
209209
System.out.println(result);
210210
} catch (ApiException e) {
211211
System.err.println("Exception when calling GroupsApi#getConsumerGroups");
@@ -223,7 +223,7 @@ public class Example {
223223

224224
Name | Type | Description | Notes
225225
------------- | ------------- | ------------- | -------------
226-
**size** | **Integer**| Maximum number of consumer groups to return on single page | [optional]
226+
**limit** | **Integer**| Maximum number of consumer groups to return | [optional]
227227
**page** | **Integer**| The page when returning the list of consumer groups | [optional]
228228
**topic** | **String**| Return consumer groups where the topic name contains with this value | [optional]
229229
**groupIdFilter** | **String**| Return the consumer groups where the ID contains with this value | [optional]

packages/kafka-instance-sdk/docs/TopicsApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Name | Type | Description | Notes
239239

240240
## getTopics
241241

242-
> TopicsList getTopics(size, filter, page, order, orderKey)
242+
> TopicsList getTopics(limit, filter, page, order, orderKey)
243243
244244
List of topics
245245

@@ -266,13 +266,13 @@ public class Example {
266266
Bearer.setAccessToken("YOUR ACCESS TOKEN");
267267

268268
TopicsApi apiInstance = new TopicsApi(defaultClient);
269-
Integer size = 56; // Integer | Maximum number of topics to return on single page
269+
Integer limit = 56; // Integer | Maximum number of topics to return
270270
String filter = "filter_example"; // String | Filter to apply when returning the list of topics
271271
Integer page = 56; // Integer | The page when returning the limit of requested topics.
272272
String order = "asc"; // String | Order of the items sorting. Ascending order is used as default.
273273
String orderKey = "name"; // String | Order key to sort the topics by.
274274
try {
275-
TopicsList result = apiInstance.getTopics(size, filter, page, order, orderKey);
275+
TopicsList result = apiInstance.getTopics(limit, filter, page, order, orderKey);
276276
System.out.println(result);
277277
} catch (ApiException e) {
278278
System.err.println("Exception when calling TopicsApi#getTopics");
@@ -290,7 +290,7 @@ public class Example {
290290

291291
Name | Type | Description | Notes
292292
------------- | ------------- | ------------- | -------------
293-
**size** | **Integer**| Maximum number of topics to return on single page | [optional]
293+
**limit** | **Integer**| Maximum number of topics to return | [optional]
294294
**filter** | **String**| Filter to apply when returning the list of topics | [optional]
295295
**page** | **Integer**| The page when returning the limit of requested topics. | [optional]
296296
**order** | **String**| Order of the items sorting. Ascending order is used as default. | [optional] [enum: asc, desc]

packages/kafka-instance-sdk/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@
260260
</dependencies>
261261
<properties>
262262
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
263-
<swagger-annotations-version>1.6.5</swagger-annotations-version>
264-
<resteasy-version>5.0.2.Final</resteasy-version>
263+
<swagger-annotations-version>1.5.22</swagger-annotations-version>
264+
<resteasy-version>5.0.1.Final</resteasy-version>
265265
<jackson-version>2.10.5</jackson-version>
266266
<jackson-databind-version>2.10.5.1</jackson-databind-version>
267267
<jackson-databind-nullable-version>0.2.1</jackson-databind-nullable-version>

packages/kafka-instance-sdk/src/main/java/com/openshift/cloud/api/kas/auth/GroupsApi.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public ConsumerGroup getConsumerGroupById(String consumerGroupId, String order,
136136
/**
137137
* List of consumer groups in the Kafka instance.
138138
* Returns a list of all consumer groups for a particular Kafka instance. The consumer groups returned are limited to those records the requestor is authorized to view.
139-
* @param size Maximum number of consumer groups to return on single page (optional)
139+
* @param limit Maximum number of consumer groups to return (optional)
140140
* @param page The page when returning the list of consumer groups (optional)
141141
* @param topic Return consumer groups where the topic name contains with this value (optional)
142142
* @param groupIdFilter Return the consumer groups where the ID contains with this value (optional)
@@ -145,7 +145,7 @@ public ConsumerGroup getConsumerGroupById(String consumerGroupId, String order,
145145
* @return a {@code ConsumerGroupList}
146146
* @throws ApiException if fails to make API call
147147
*/
148-
public ConsumerGroupList getConsumerGroups(Integer size, Integer page, String topic, String groupIdFilter, String order, String orderKey) throws ApiException {
148+
public ConsumerGroupList getConsumerGroups(Integer limit, Integer page, String topic, String groupIdFilter, String order, String orderKey) throws ApiException {
149149
Object localVarPostBody = null;
150150

151151
// create path and map variables
@@ -157,7 +157,7 @@ public ConsumerGroupList getConsumerGroups(Integer size, Integer page, String to
157157
Map<String, String> localVarCookieParams = new HashMap<String, String>();
158158
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
159159

160-
localVarQueryParams.addAll(apiClient.parameterToPairs("", "size", size));
160+
localVarQueryParams.addAll(apiClient.parameterToPairs("", "limit", limit));
161161
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page", page));
162162
localVarQueryParams.addAll(apiClient.parameterToPairs("", "topic", topic));
163163
localVarQueryParams.addAll(apiClient.parameterToPairs("", "group-id-filter", groupIdFilter));

packages/kafka-instance-sdk/src/main/java/com/openshift/cloud/api/kas/auth/TopicsApi.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,15 @@ public Topic getTopic(String topicName) throws ApiException {
171171
/**
172172
* List of topics
173173
* Returns a list of all of the available topics, or the list of topics that meet the request query parameters. The topics returned are limited to those records the requestor is authorized to view.
174-
* @param size Maximum number of topics to return on single page (optional)
174+
* @param limit Maximum number of topics to return (optional)
175175
* @param filter Filter to apply when returning the list of topics (optional)
176176
* @param page The page when returning the limit of requested topics. (optional)
177177
* @param order Order of the items sorting. Ascending order is used as default. (optional)
178178
* @param orderKey Order key to sort the topics by. (optional)
179179
* @return a {@code TopicsList}
180180
* @throws ApiException if fails to make API call
181181
*/
182-
public TopicsList getTopics(Integer size, String filter, Integer page, String order, String orderKey) throws ApiException {
182+
public TopicsList getTopics(Integer limit, String filter, Integer page, String order, String orderKey) throws ApiException {
183183
Object localVarPostBody = null;
184184

185185
// create path and map variables
@@ -191,7 +191,7 @@ public TopicsList getTopics(Integer size, String filter, Integer page, String or
191191
Map<String, String> localVarCookieParams = new HashMap<String, String>();
192192
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
193193

194-
localVarQueryParams.addAll(apiClient.parameterToPairs("", "size", size));
194+
localVarQueryParams.addAll(apiClient.parameterToPairs("", "limit", limit));
195195
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter", filter));
196196
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page", page));
197197
localVarQueryParams.addAll(apiClient.parameterToPairs("", "order", order));

0 commit comments

Comments
 (0)