Skip to content

Commit ff94337

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

9 files changed

Lines changed: 209 additions & 142 deletions

File tree

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

Lines changed: 67 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,71 @@ components:
893893
schema:
894894
type: string
895895
style: form
896+
orderBy:
897+
description: |-
898+
Specifies the order by criteria. The syntax of this parameter is
899+
similar to the syntax of the `order by` clause of an SQL statement.
900+
Each query can be ordered by any of the `ConnectorType` fields.
901+
For example, to return all Connector types ordered by their name, use the following syntax:
902+
903+
```sql
904+
name asc
905+
```
906+
907+
To return all Connector types ordered by their name _and_ version, use the following syntax:
908+
909+
```sql
910+
name asc, version asc
911+
```
912+
913+
If the parameter isn't provided, or if the value is empty, then
914+
the results are ordered by name.
915+
examples:
916+
orderBy:
917+
value: name asc
918+
explode: true
919+
in: query
920+
name: orderBy
921+
required: false
922+
schema:
923+
type: string
924+
style: form
925+
search:
926+
description: |
927+
Search criteria.
928+
929+
The syntax of this parameter is similar to the syntax of the `where` clause of a
930+
SQL statement. Allowed fields in the search are `name`, `description`, `version`, `label`, and `channel`. Allowed operators are `<>`, `=`, or `LIKE`.
931+
Allowed conjunctive operators are `AND` and `OR`. However, you can use a maximum of 10 conjunctions in a search query.
932+
933+
Examples:
934+
935+
To return a Connector Type with the name `aws-sqs-source` and the channel `stable`, use the following syntax:
936+
937+
```
938+
name = aws-sqs-source and channel = stable
939+
```[p-]
940+
941+
To return a Kafka instance with a name that starts with `aws`, use the following syntax:
942+
943+
```
944+
name like aws%25
945+
```
946+
947+
If the parameter isn't provided, or if the value is empty, then all the Connector Type
948+
that the user has permission to see are returned.
949+
950+
Note. If the query is invalid, an error is returned.
951+
examples:
952+
search:
953+
value: name = aws-sqs-source and channel = stable
954+
explode: true
955+
in: query
956+
name: search
957+
required: false
958+
schema:
959+
type: string
960+
style: form
896961
schemas:
897962
ConnectorType:
898963
allOf:
@@ -1029,7 +1094,7 @@ components:
10291094
description: Version of the connector type.
10301095
type: string
10311096
channels:
1032-
description: Version of the connector type.
1097+
description: Channels of the connector type.
10331098
items:
10341099
type: string
10351100
type: array
@@ -1040,7 +1105,7 @@ components:
10401105
description: URL to an icon of the connector.
10411106
type: string
10421107
labels:
1043-
description: labels used to categorize the connector
1108+
description: Labels used to categorize the connector
10441109
items:
10451110
enum:
10461111
- sink

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Name | Type | Description | Notes
1313
**href** | **String** | | [optional]
1414
**name** | **String** | Name of the connector type. |
1515
**version** | **String** | Version of the connector type. |
16-
**channels** | **List&lt;String&gt;** | Version of the connector type. | [optional]
16+
**channels** | **List&lt;String&gt;** | Channels of the connector type. | [optional]
1717
**description** | **String** | A description of the connector. | [optional]
1818
**iconHref** | **String** | URL to an icon of the connector. | [optional]
19-
**labels** | [**List&lt;LabelsEnum&gt;**](#List&lt;LabelsEnum&gt;) | labels used to categorize the connector | [optional]
19+
**labels** | [**List&lt;LabelsEnum&gt;**](#List&lt;LabelsEnum&gt;) | Labels used to categorize the connector | [optional]
2020
**jsonSchema** | **Object** | A json schema that can be used to validate a connectors connector_spec field. |
2121

2222

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
1010
**name** | **String** | Name of the connector type. | [optional]
1111
**version** | **String** | Version of the connector type. | [optional]
12-
**channels** | **List&lt;String&gt;** | Version of the connector type. | [optional]
12+
**channels** | **List&lt;String&gt;** | Channels of the connector type. | [optional]
1313
**description** | **String** | A description of the connector. | [optional]
1414
**iconHref** | **String** | URL to an icon of the connector. | [optional]
15-
**labels** | [**List&lt;LabelsEnum&gt;**](#List&lt;LabelsEnum&gt;) | labels used to categorize the connector | [optional]
15+
**labels** | [**List&lt;LabelsEnum&gt;**](#List&lt;LabelsEnum&gt;) | Labels used to categorize the connector | [optional]
1616
**jsonSchema** | **Object** | A json schema that can be used to validate a connectors connector_spec field. | [optional]
1717

1818

packages/connector-management-sdk/pom.xml

Lines changed: 43 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
23
<modelVersion>4.0.0</modelVersion>
34
<groupId>com.redhat.cloud</groupId>
45
<artifactId>connector-management-sdk</artifactId>
@@ -16,9 +17,9 @@
1617

1718
<distributionManagement>
1819
<repository>
19-
<id>ossrh</id>
20-
<name>Central Repository OSSRH</name>
21-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
20+
<id>ossrh</id>
21+
<name>Central Repository OSSRH</name>
22+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
2223
</repository>
2324
</distributionManagement>
2425

@@ -104,7 +105,8 @@
104105
</goals>
105106
</execution>
106107
</executions>
107-
<configuration></configuration>
108+
<configuration>
109+
</configuration>
108110
</plugin>
109111

110112
<plugin>
@@ -143,8 +145,8 @@
143145
<artifactId>maven-compiler-plugin</artifactId>
144146
<version>2.5.1</version>
145147
<configuration>
146-
<source>1.8</source>
147-
<target>1.8</target>
148+
<source>1.8</source>
149+
<target>1.8</target>
148150
</configuration>
149151
</plugin>
150152
<plugin>
@@ -169,10 +171,10 @@
169171
<artifactId>maven-source-plugin</artifactId>
170172
<executions>
171173
<execution>
172-
<id>attach-sources</id>
173-
<goals>
174-
<goal>jar</goal>
175-
</goals>
174+
<id>attach-sources</id>
175+
<goals>
176+
<goal>jar</goal>
177+
</goals>
176178
</execution>
177179
</executions>
178180
</plugin>
@@ -189,35 +191,6 @@
189191
</plugin>
190192
</plugins>
191193
</build>
192-
<profiles>
193-
<profile>
194-
<id>release</id>
195-
<build>
196-
<plugins>
197-
<plugin>
198-
<groupId>org.apache.maven.plugins</groupId>
199-
<artifactId>maven-gpg-plugin</artifactId>
200-
<version>1.6</version>
201-
<configuration>
202-
<gpgArguments>
203-
<arg>--pinentry-mode</arg>
204-
<arg>loopback</arg>
205-
</gpgArguments>
206-
</configuration>
207-
<executions>
208-
<execution>
209-
<id>sign-artifacts</id>
210-
<phase>verify</phase>
211-
<goals>
212-
<goal>sign</goal>
213-
</goals>
214-
</execution>
215-
</executions>
216-
</plugin>
217-
</plugins>
218-
</build>
219-
</profile>
220-
</profiles>
221194
<dependencies>
222195
<dependency>
223196
<groupId>io.swagger</groupId>
@@ -303,4 +276,33 @@
303276
<maven-plugin-version>1.0.0</maven-plugin-version>
304277
<junit-version>4.13</junit-version>
305278
</properties>
306-
</project>
279+
<profiles>
280+
<profile>
281+
<id>release</id>
282+
<build>
283+
<plugins>
284+
<plugin>
285+
<groupId>org.apache.maven.plugins</groupId>
286+
<artifactId>maven-gpg-plugin</artifactId>
287+
<version>1.6</version>
288+
<configuration>
289+
<gpgArguments>
290+
<arg>--pinentry-mode</arg>
291+
<arg>loopback</arg>
292+
</gpgArguments>
293+
</configuration>
294+
<executions>
295+
<execution>
296+
<id>sign-artifacts</id>
297+
<phase>verify</phase>
298+
<goals>
299+
<goal>sign</goal>
300+
</goals>
301+
</execution>
302+
</executions>
303+
</plugin>
304+
</plugins>
305+
</build>
306+
</profile>
307+
</profiles>
308+
</project>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,11 @@ public ConnectorType addChannelsItem(String channelsItem) {
261261
}
262262

263263
/**
264-
* Version of the connector type.
264+
* Channels of the connector type.
265265
* @return channels
266266
**/
267267
@javax.annotation.Nullable
268-
@ApiModelProperty(value = "Version of the connector type.")
268+
@ApiModelProperty(value = "Channels of the connector type.")
269269
@JsonProperty(JSON_PROPERTY_CHANNELS)
270270
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
271271

@@ -350,11 +350,11 @@ public ConnectorType addLabelsItem(LabelsEnum labelsItem) {
350350
}
351351

352352
/**
353-
* labels used to categorize the connector
353+
* Labels used to categorize the connector
354354
* @return labels
355355
**/
356356
@javax.annotation.Nullable
357-
@ApiModelProperty(value = "labels used to categorize the connector")
357+
@ApiModelProperty(value = "Labels used to categorize the connector")
358358
@JsonProperty(JSON_PROPERTY_LABELS)
359359
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
360360

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,11 @@ public ConnectorTypeAllOf addChannelsItem(String channelsItem) {
167167
}
168168

169169
/**
170-
* Version of the connector type.
170+
* Channels of the connector type.
171171
* @return channels
172172
**/
173173
@javax.annotation.Nullable
174-
@ApiModelProperty(value = "Version of the connector type.")
174+
@ApiModelProperty(value = "Channels of the connector type.")
175175
@JsonProperty(JSON_PROPERTY_CHANNELS)
176176
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
177177

@@ -256,11 +256,11 @@ public ConnectorTypeAllOf addLabelsItem(LabelsEnum labelsItem) {
256256
}
257257

258258
/**
259-
* labels used to categorize the connector
259+
* Labels used to categorize the connector
260260
* @return labels
261261
**/
262262
@javax.annotation.Nullable
263-
@ApiModelProperty(value = "labels used to categorize the connector")
263+
@ApiModelProperty(value = "Labels used to categorize the connector")
264264
@JsonProperty(JSON_PROPERTY_LABELS)
265265
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
266266

packages/kafka-instance-sdk/pom.xml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -191,35 +191,6 @@
191191
</plugin>
192192
</plugins>
193193
</build>
194-
<profiles>
195-
<profile>
196-
<id>release</id>
197-
<build>
198-
<plugins>
199-
<plugin>
200-
<groupId>org.apache.maven.plugins</groupId>
201-
<artifactId>maven-gpg-plugin</artifactId>
202-
<version>1.6</version>
203-
<configuration>
204-
<gpgArguments>
205-
<arg>--pinentry-mode</arg>
206-
<arg>loopback</arg>
207-
</gpgArguments>
208-
</configuration>
209-
<executions>
210-
<execution>
211-
<id>sign-artifacts</id>
212-
<phase>verify</phase>
213-
<goals>
214-
<goal>sign</goal>
215-
</goals>
216-
</execution>
217-
</executions>
218-
</plugin>
219-
</plugins>
220-
</build>
221-
</profile>
222-
</profiles>
223194
<dependencies>
224195
<dependency>
225196
<groupId>io.swagger</groupId>
@@ -305,4 +276,33 @@
305276
<maven-plugin-version>1.0.0</maven-plugin-version>
306277
<junit-version>4.13</junit-version>
307278
</properties>
279+
<profiles>
280+
<profile>
281+
<id>release</id>
282+
<build>
283+
<plugins>
284+
<plugin>
285+
<groupId>org.apache.maven.plugins</groupId>
286+
<artifactId>maven-gpg-plugin</artifactId>
287+
<version>1.6</version>
288+
<configuration>
289+
<gpgArguments>
290+
<arg>--pinentry-mode</arg>
291+
<arg>loopback</arg>
292+
</gpgArguments>
293+
</configuration>
294+
<executions>
295+
<execution>
296+
<id>sign-artifacts</id>
297+
<phase>verify</phase>
298+
<goals>
299+
<goal>sign</goal>
300+
</goals>
301+
</execution>
302+
</executions>
303+
</plugin>
304+
</plugins>
305+
</build>
306+
</profile>
307+
</profiles>
308308
</project>

0 commit comments

Comments
 (0)