You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main API classes of the SDK are auto generated using the command `make generate`.
6
+
7
+
### Building and Testing Locally
8
+
9
+
To build the SDK locally run `mvn clean install` from the root directory.
10
+
11
+
### Troubleshooting
12
+
13
+
#### Error "No <dockerHost> given" message when testing
14
+
15
+
The sdk-tests package uses a container `quay.io/rhosak/api-mock` to emulate the data plane services. Therefore, to run the tests the host system needs a Docker compatible daemon running with a socker exposed using the `DOCKER_HOST` environment variable.
16
+
17
+
To set up the variable using [Podman](https://podman.io) run the following commands :
String size ="100"; // String | Number of items in each page
113
+
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 `ConnectorType` fields. For example, to return all Connector types ordered by their name, use the following syntax: ```sql name asc ``` To return all Connector types ordered by their name _and_ version, use the following syntax: ```sql name asc, version asc ``` If the parameter isn't provided, or if the value is empty, then the results are ordered by name.
114
+
String search ="name = aws-sqs-source and channel = stable"; // String | Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of a SQL statement. Allowed fields in the search are `name`, `description`, `version`, `label`, and `channel`. Allowed operators are `<>`, `=`, or `LIKE`. Allowed conjunctive operators are `AND` and `OR`. However, you can use a maximum of 10 conjunctions in a search query. Examples: To return a Connector Type with the name `aws-sqs-source` and the channel `stable`, use the following syntax: ``` name = aws-sqs-source and channel = stable ```[p-] To return a Kafka instance with a name that starts with `aws`, use the following syntax: ``` name like aws%25 ``` If the parameter isn't provided, or if the value is empty, then all the Connector Type that the user has permission to see are returned. Note. If the query is invalid, an error is returned.
113
115
try {
114
-
ConnectorTypeList result = apiInstance.listConnectorTypes(page, size);
116
+
ConnectorTypeList result = apiInstance.listConnectorTypes(page, size, orderBy, search);
115
117
System.out.println(result);
116
118
} catch (ApiException e) {
117
119
System.err.println("Exception when calling ConnectorTypesApi#listConnectorTypes");
@@ -131,6 +133,8 @@ Name | Type | Description | Notes
**size** | **String**| Number of items in each page | [optional]
136
+
**orderBy** | **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 `ConnectorType` fields. For example, to return all Connector types ordered by their name, use the following syntax: ```sql name asc ``` To return all Connector types ordered by their name _and_ version, use the following syntax: ```sql name asc, version asc ``` If the parameter isn't provided, or if the value is empty, then the results are ordered by name. | [optional]
137
+
**search** | **String**| Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of a SQL statement. Allowed fields in the search are `name`, `description`, `version`, `label`, and `channel`. Allowed operators are `<>`, `=`, or `LIKE`. Allowed conjunctive operators are `AND` and `OR`. However, you can use a maximum of 10 conjunctions in a search query. Examples: To return a Connector Type with the name `aws-sqs-source` and the channel `stable`, use the following syntax: ``` name = aws-sqs-source and channel = stable ```[p-] To return a Kafka instance with a name that starts with `aws`, use the following syntax: ``` name like aws%25 ``` If the parameter isn't provided, or if the value is empty, then all the Connector Type that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | [optional]
0 commit comments