Skip to content

Commit dab930b

Browse files
chore(all): re-generate OpenAPI client(s) (#239)
Co-authored-by: app-services-ci <app-services-ci@users.noreply.github.com>
1 parent 9da1d42 commit dab930b

64 files changed

Lines changed: 122 additions & 122 deletions

Some content is hidden

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

packages/connector-management-sdk/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
<plugin>
138138
<groupId>org.apache.maven.plugins</groupId>
139139
<artifactId>maven-compiler-plugin</artifactId>
140-
<version>3.10.1</version>
140+
<version>3.9.0</version>
141141
<configuration>
142142
<source>1.8</source>
143143
<target>1.8</target>
@@ -146,7 +146,7 @@
146146
<plugin>
147147
<groupId>org.apache.maven.plugins</groupId>
148148
<artifactId>maven-javadoc-plugin</artifactId>
149-
<version>3.3.2</version>
149+
<version>3.3.1</version>
150150
<configuration>
151151
<doclint>none</doclint>
152152
<source>1.8</source>
@@ -175,7 +175,7 @@
175175
<plugin>
176176
<groupId>org.sonatype.plugins</groupId>
177177
<artifactId>nexus-staging-maven-plugin</artifactId>
178-
<version>1.6.12</version>
178+
<version>1.6.8</version>
179179
<extensions>true</extensions>
180180
<configuration>
181181
<serverId>ossrh</serverId>

packages/kafka-instance-sdk/README.md

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

33
Kafka Admin REST API
44

5-
- API version: 0.7.1-SNAPSHOT
5+
- API version: 0.8.1-SNAPSHOT
66

77
An API to provide REST endpoints for query Kafka for admin operations
88

@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
4040
<dependency>
4141
<groupId>com.redhat.cloud</groupId>
4242
<artifactId>kafka-instance-sdk</artifactId>
43-
<version>0.7.1-SNAPSHOT</version>
43+
<version>0.8.1-SNAPSHOT</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-instance-sdk:0.7.1-SNAPSHOT"
59+
implementation "com.redhat.cloud:kafka-instance-sdk:0.8.1-SNAPSHOT"
6060
}
6161
```
6262

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

7171
Then manually install the following JARs:
7272

73-
- `target/kafka-instance-sdk-0.7.1-SNAPSHOT.jar`
73+
- `target/kafka-instance-sdk-0.8.1-SNAPSHOT.jar`
7474
- `target/lib/*.jar`
7575

7676
## Getting Started
@@ -116,21 +116,21 @@ All URIs are relative to *http://localhost*
116116

117117
Class | Method | HTTP request | Description
118118
------------ | ------------- | ------------- | -------------
119-
*AclsApi* | [**createAcl**](docs/AclsApi.md#createAcl) | **POST** /rest/acls | Create ACL binding
120-
*AclsApi* | [**deleteAcls**](docs/AclsApi.md#deleteAcls) | **DELETE** /rest/acls | Delete ACL bindings
121-
*AclsApi* | [**getAclResourceOperations**](docs/AclsApi.md#getAclResourceOperations) | **GET** /rest/acls/resource-operations | Retrieve allowed ACL resources and operations
122-
*AclsApi* | [**getAcls**](docs/AclsApi.md#getAcls) | **GET** /rest/acls | List ACL bindings
123-
*GroupsApi* | [**deleteConsumerGroupById**](docs/GroupsApi.md#deleteConsumerGroupById) | **DELETE** /rest/consumer-groups/{consumerGroupId} | Delete a consumer group.
124-
*GroupsApi* | [**getConsumerGroupById**](docs/GroupsApi.md#getConsumerGroupById) | **GET** /rest/consumer-groups/{consumerGroupId} | Get a single consumer group by its unique ID.
125-
*GroupsApi* | [**getConsumerGroups**](docs/GroupsApi.md#getConsumerGroups) | **GET** /rest/consumer-groups | List of consumer groups in the Kafka instance.
126-
*GroupsApi* | [**resetConsumerGroupOffset**](docs/GroupsApi.md#resetConsumerGroupOffset) | **POST** /rest/consumer-groups/{consumerGroupId}/reset-offset | Reset the offset for a consumer group.
127-
*RecordsApi* | [**consumeRecords**](docs/RecordsApi.md#consumeRecords) | **GET** /rest/topics/{topicName}/records | Consume records from a topic
128-
*RecordsApi* | [**produceRecord**](docs/RecordsApi.md#produceRecord) | **POST** /rest/topics/{topicName}/records | Send a record to a topic
129-
*TopicsApi* | [**createTopic**](docs/TopicsApi.md#createTopic) | **POST** /rest/topics | Creates a new topic
130-
*TopicsApi* | [**deleteTopic**](docs/TopicsApi.md#deleteTopic) | **DELETE** /rest/topics/{topicName} | Deletes a topic
131-
*TopicsApi* | [**getTopic**](docs/TopicsApi.md#getTopic) | **GET** /rest/topics/{topicName} | Retrieves a single topic
132-
*TopicsApi* | [**getTopics**](docs/TopicsApi.md#getTopics) | **GET** /rest/topics | Retrieves a list of topics
133-
*TopicsApi* | [**updateTopic**](docs/TopicsApi.md#updateTopic) | **PATCH** /rest/topics/{topicName} | Updates a single topic
119+
*AclsApi* | [**createAcl**](docs/AclsApi.md#createAcl) | **POST** /api/v1/acls | Create ACL binding
120+
*AclsApi* | [**deleteAcls**](docs/AclsApi.md#deleteAcls) | **DELETE** /api/v1/acls | Delete ACL bindings
121+
*AclsApi* | [**getAclResourceOperations**](docs/AclsApi.md#getAclResourceOperations) | **GET** /api/v1/acls/resource-operations | Retrieve allowed ACL resources and operations
122+
*AclsApi* | [**getAcls**](docs/AclsApi.md#getAcls) | **GET** /api/v1/acls | List ACL bindings
123+
*GroupsApi* | [**deleteConsumerGroupById**](docs/GroupsApi.md#deleteConsumerGroupById) | **DELETE** /api/v1/consumer-groups/{consumerGroupId} | Delete a consumer group.
124+
*GroupsApi* | [**getConsumerGroupById**](docs/GroupsApi.md#getConsumerGroupById) | **GET** /api/v1/consumer-groups/{consumerGroupId} | Get a single consumer group by its unique ID.
125+
*GroupsApi* | [**getConsumerGroups**](docs/GroupsApi.md#getConsumerGroups) | **GET** /api/v1/consumer-groups | List of consumer groups in the Kafka instance.
126+
*GroupsApi* | [**resetConsumerGroupOffset**](docs/GroupsApi.md#resetConsumerGroupOffset) | **POST** /api/v1/consumer-groups/{consumerGroupId}/reset-offset | Reset the offset for a consumer group.
127+
*RecordsApi* | [**consumeRecords**](docs/RecordsApi.md#consumeRecords) | **GET** /api/v1/topics/{topicName}/records | Consume records from a topic
128+
*RecordsApi* | [**produceRecord**](docs/RecordsApi.md#produceRecord) | **POST** /api/v1/topics/{topicName}/records | Send a record to a topic
129+
*TopicsApi* | [**createTopic**](docs/TopicsApi.md#createTopic) | **POST** /api/v1/topics | Creates a new topic
130+
*TopicsApi* | [**deleteTopic**](docs/TopicsApi.md#deleteTopic) | **DELETE** /api/v1/topics/{topicName} | Deletes a topic
131+
*TopicsApi* | [**getTopic**](docs/TopicsApi.md#getTopic) | **GET** /api/v1/topics/{topicName} | Retrieves a single topic
132+
*TopicsApi* | [**getTopics**](docs/TopicsApi.md#getTopics) | **GET** /api/v1/topics | Retrieves a list of topics
133+
*TopicsApi* | [**updateTopic**](docs/TopicsApi.md#updateTopic) | **PATCH** /api/v1/topics/{topicName} | Updates a single topic
134134

135135

136136
## Documentation for Models

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ info:
55
name: Apache 2.0
66
url: https://www.apache.org/licenses/LICENSE-2.0
77
title: Kafka Admin REST API
8-
version: 0.7.1-SNAPSHOT
8+
version: 0.8.1-SNAPSHOT
99
servers:
1010
- description: Kafka Admin REST API
1111
url: /
@@ -21,7 +21,7 @@ tags:
2121
- description: Send and receive records interactively
2222
name: records
2323
paths:
24-
/rest/topics:
24+
/api/v1/topics:
2525
get:
2626
description: Returns a list of all of the available topics, or the list of topics
2727
that meet the request query parameters. The topics returned are limited to
@@ -182,7 +182,7 @@ paths:
182182
- topics
183183
x-contentType: application/json
184184
x-accepts: application/json
185-
/rest/topics/{topicName}:
185+
/api/v1/topics/{topicName}:
186186
delete:
187187
description: Deletes the topic with the specified name.
188188
operationId: deleteTopic
@@ -359,7 +359,7 @@ paths:
359359
- topics
360360
x-contentType: application/json
361361
x-accepts: application/json
362-
/rest/consumer-groups:
362+
/api/v1/consumer-groups:
363363
get:
364364
description: Returns a list of all consumer groups for a particular Kafka instance.
365365
The consumer groups returned are limited to those records the requestor is
@@ -495,7 +495,7 @@ paths:
495495
tags:
496496
- groups
497497
x-accepts: application/json
498-
/rest/consumer-groups/{consumerGroupId}:
498+
/api/v1/consumer-groups/{consumerGroupId}:
499499
delete:
500500
description: Delete a consumer group, along with its consumers.
501501
operationId: deleteConsumerGroupById
@@ -640,7 +640,7 @@ paths:
640640
tags:
641641
- groups
642642
x-accepts: application/json
643-
/rest/consumer-groups/{consumerGroupId}/reset-offset:
643+
/api/v1/consumer-groups/{consumerGroupId}/reset-offset:
644644
post:
645645
description: Reset the offset for a particular consumer group.
646646
operationId: resetConsumerGroupOffset
@@ -718,7 +718,7 @@ paths:
718718
- groups
719719
x-contentType: application/json
720720
x-accepts: application/json
721-
/rest/acls:
721+
/api/v1/acls:
722722
delete:
723723
description: Deletes ACL bindings that match the query parameters.
724724
operationId: deleteAcls
@@ -1137,7 +1137,7 @@ paths:
11371137
- acls
11381138
x-contentType: application/json
11391139
x-accepts: application/json
1140-
/rest/acls/resource-operations:
1140+
/api/v1/acls/resource-operations:
11411141
get:
11421142
description: Retrieve the resources and associated operations that may have
11431143
ACLs configured.
@@ -1182,7 +1182,7 @@ paths:
11821182
tags:
11831183
- acls
11841184
x-accepts: application/json
1185-
/rest/topics/{topicName}/records:
1185+
/api/v1/topics/{topicName}/records:
11861186
get:
11871187
description: Consume a limited number of records from a topic, optionally specifying
11881188
a partition and an absolute offset or timestamp as the starting point for

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ All URIs are relative to *http://localhost*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**createAcl**](AclsApi.md#createAcl) | **POST** /rest/acls | Create ACL binding
8-
[**deleteAcls**](AclsApi.md#deleteAcls) | **DELETE** /rest/acls | Delete ACL bindings
9-
[**getAclResourceOperations**](AclsApi.md#getAclResourceOperations) | **GET** /rest/acls/resource-operations | Retrieve allowed ACL resources and operations
10-
[**getAcls**](AclsApi.md#getAcls) | **GET** /rest/acls | List ACL bindings
7+
[**createAcl**](AclsApi.md#createAcl) | **POST** /api/v1/acls | Create ACL binding
8+
[**deleteAcls**](AclsApi.md#deleteAcls) | **DELETE** /api/v1/acls | Delete ACL bindings
9+
[**getAclResourceOperations**](AclsApi.md#getAclResourceOperations) | **GET** /api/v1/acls/resource-operations | Retrieve allowed ACL resources and operations
10+
[**getAcls**](AclsApi.md#getAcls) | **GET** /api/v1/acls | List ACL bindings
1111

1212

1313

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ All URIs are relative to *http://localhost*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**deleteConsumerGroupById**](GroupsApi.md#deleteConsumerGroupById) | **DELETE** /rest/consumer-groups/{consumerGroupId} | Delete a consumer group.
8-
[**getConsumerGroupById**](GroupsApi.md#getConsumerGroupById) | **GET** /rest/consumer-groups/{consumerGroupId} | Get a single consumer group by its unique ID.
9-
[**getConsumerGroups**](GroupsApi.md#getConsumerGroups) | **GET** /rest/consumer-groups | List of consumer groups in the Kafka instance.
10-
[**resetConsumerGroupOffset**](GroupsApi.md#resetConsumerGroupOffset) | **POST** /rest/consumer-groups/{consumerGroupId}/reset-offset | Reset the offset for a consumer group.
7+
[**deleteConsumerGroupById**](GroupsApi.md#deleteConsumerGroupById) | **DELETE** /api/v1/consumer-groups/{consumerGroupId} | Delete a consumer group.
8+
[**getConsumerGroupById**](GroupsApi.md#getConsumerGroupById) | **GET** /api/v1/consumer-groups/{consumerGroupId} | Get a single consumer group by its unique ID.
9+
[**getConsumerGroups**](GroupsApi.md#getConsumerGroups) | **GET** /api/v1/consumer-groups | List of consumer groups in the Kafka instance.
10+
[**resetConsumerGroupOffset**](GroupsApi.md#resetConsumerGroupOffset) | **POST** /api/v1/consumer-groups/{consumerGroupId}/reset-offset | Reset the offset for a consumer group.
1111

1212

1313

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ All URIs are relative to *http://localhost*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**consumeRecords**](RecordsApi.md#consumeRecords) | **GET** /rest/topics/{topicName}/records | Consume records from a topic
8-
[**produceRecord**](RecordsApi.md#produceRecord) | **POST** /rest/topics/{topicName}/records | Send a record to a topic
7+
[**consumeRecords**](RecordsApi.md#consumeRecords) | **GET** /api/v1/topics/{topicName}/records | Consume records from a topic
8+
[**produceRecord**](RecordsApi.md#produceRecord) | **POST** /api/v1/topics/{topicName}/records | Send a record to a topic
99

1010

1111

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ All URIs are relative to *http://localhost*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**createTopic**](TopicsApi.md#createTopic) | **POST** /rest/topics | Creates a new topic
8-
[**deleteTopic**](TopicsApi.md#deleteTopic) | **DELETE** /rest/topics/{topicName} | Deletes a topic
9-
[**getTopic**](TopicsApi.md#getTopic) | **GET** /rest/topics/{topicName} | Retrieves a single topic
10-
[**getTopics**](TopicsApi.md#getTopics) | **GET** /rest/topics | Retrieves a list of topics
11-
[**updateTopic**](TopicsApi.md#updateTopic) | **PATCH** /rest/topics/{topicName} | Updates a single topic
7+
[**createTopic**](TopicsApi.md#createTopic) | **POST** /api/v1/topics | Creates a new topic
8+
[**deleteTopic**](TopicsApi.md#deleteTopic) | **DELETE** /api/v1/topics/{topicName} | Deletes a topic
9+
[**getTopic**](TopicsApi.md#getTopic) | **GET** /api/v1/topics/{topicName} | Retrieves a single topic
10+
[**getTopics**](TopicsApi.md#getTopics) | **GET** /api/v1/topics | Retrieves a list of topics
11+
[**updateTopic**](TopicsApi.md#updateTopic) | **PATCH** /api/v1/topics/{topicName} | Updates a single topic
1212

1313

1414

packages/kafka-instance-sdk/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
<plugin>
138138
<groupId>org.apache.maven.plugins</groupId>
139139
<artifactId>maven-compiler-plugin</artifactId>
140-
<version>3.10.1</version>
140+
<version>3.9.0</version>
141141
<configuration>
142142
<source>1.8</source>
143143
<target>1.8</target>
@@ -146,7 +146,7 @@
146146
<plugin>
147147
<groupId>org.apache.maven.plugins</groupId>
148148
<artifactId>maven-javadoc-plugin</artifactId>
149-
<version>3.3.2</version>
149+
<version>3.3.1</version>
150150
<configuration>
151151
<doclint>none</doclint>
152152
<source>1.8</source>
@@ -175,7 +175,7 @@
175175
<plugin>
176176
<groupId>org.sonatype.plugins</groupId>
177177
<artifactId>nexus-staging-maven-plugin</artifactId>
178-
<version>1.6.12</version>
178+
<version>1.6.8</version>
179179
<extensions>true</extensions>
180180
<configuration>
181181
<serverId>ossrh</serverId>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void createAcl(AclBinding aclBinding) throws ApiException {
5757
}
5858

5959
// create path and map variables
60-
String localVarPath = "/rest/acls".replaceAll("\\{format\\}","json");
60+
String localVarPath = "/api/v1/acls".replaceAll("\\{format\\}","json");
6161

6262
// query params
6363
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -100,7 +100,7 @@ public AclBindingListPage deleteAcls(AclResourceTypeFilter resourceType, String
100100
Object localVarPostBody = null;
101101

102102
// create path and map variables
103-
String localVarPath = "/rest/acls".replaceAll("\\{format\\}","json");
103+
String localVarPath = "/api/v1/acls".replaceAll("\\{format\\}","json");
104104

105105
// query params
106106
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -143,7 +143,7 @@ public Map<String, List<String>> getAclResourceOperations() throws ApiException
143143
Object localVarPostBody = null;
144144

145145
// create path and map variables
146-
String localVarPath = "/rest/acls/resource-operations".replaceAll("\\{format\\}","json");
146+
String localVarPath = "/api/v1/acls/resource-operations".replaceAll("\\{format\\}","json");
147147

148148
// query params
149149
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -190,7 +190,7 @@ public AclBindingListPage getAcls(AclResourceTypeFilter resourceType, String res
190190
Object localVarPostBody = null;
191191

192192
// create path and map variables
193-
String localVarPath = "/rest/acls".replaceAll("\\{format\\}","json");
193+
String localVarPath = "/api/v1/acls".replaceAll("\\{format\\}","json");
194194

195195
// query params
196196
List<Pair> localVarQueryParams = new ArrayList<Pair>();

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void deleteConsumerGroupById(String consumerGroupId) throws ApiException
5656
}
5757

5858
// create path and map variables
59-
String localVarPath = "/rest/consumer-groups/{consumerGroupId}".replaceAll("\\{format\\}","json")
59+
String localVarPath = "/api/v1/consumer-groups/{consumerGroupId}".replaceAll("\\{format\\}","json")
6060
.replaceAll("\\{" + "consumerGroupId" + "\\}", apiClient.escapeString(consumerGroupId.toString()));
6161

6262
// query params
@@ -104,7 +104,7 @@ public ConsumerGroup getConsumerGroupById(String consumerGroupId, SortDirection
104104
}
105105

106106
// create path and map variables
107-
String localVarPath = "/rest/consumer-groups/{consumerGroupId}".replaceAll("\\{format\\}","json")
107+
String localVarPath = "/api/v1/consumer-groups/{consumerGroupId}".replaceAll("\\{format\\}","json")
108108
.replaceAll("\\{" + "consumerGroupId" + "\\}", apiClient.escapeString(consumerGroupId.toString()));
109109

110110
// query params
@@ -152,7 +152,7 @@ public ConsumerGroupList getConsumerGroups(Integer limit, Integer page, String t
152152
Object localVarPostBody = null;
153153

154154
// create path and map variables
155-
String localVarPath = "/rest/consumer-groups".replaceAll("\\{format\\}","json");
155+
String localVarPath = "/api/v1/consumer-groups".replaceAll("\\{format\\}","json");
156156

157157
// query params
158158
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -207,7 +207,7 @@ public ConsumerGroupResetOffsetResult resetConsumerGroupOffset(String consumerGr
207207
}
208208

209209
// create path and map variables
210-
String localVarPath = "/rest/consumer-groups/{consumerGroupId}/reset-offset".replaceAll("\\{format\\}","json")
210+
String localVarPath = "/api/v1/consumer-groups/{consumerGroupId}/reset-offset".replaceAll("\\{format\\}","json")
211211
.replaceAll("\\{" + "consumerGroupId" + "\\}", apiClient.escapeString(consumerGroupId.toString()));
212212

213213
// query params

0 commit comments

Comments
 (0)