Skip to content

Commit b65f539

Browse files
chore(all): re-generate OpenAPI client(s) (#662)
Co-authored-by: app-services-ci <[email protected]>
1 parent a4c2426 commit b65f539

File tree

6 files changed

+15
-71
lines changed

6 files changed

+15
-71
lines changed

kafkamgmt/apiv1/client/api/openapi.yaml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ paths:
456456
Search criteria.
457457
458458
The syntax of this parameter is similar to the syntax of the `where` clause of an
459-
SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`.
459+
SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, `status` and `cluster_id`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`.
460460
Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query.
461461
462462
Examples:
@@ -465,7 +465,7 @@ paths:
465465
466466
```
467467
name = my-kafka and cloud_provider = aws
468-
```[p-]
468+
```
469469
470470
To return a Kafka instance with a name that starts with `my`, use the following syntax:
471471
@@ -962,7 +962,8 @@ paths:
962962
examples:
963963
"500Example":
964964
$ref: '#/components/examples/500Example'
965-
schema: {}
965+
schema:
966+
$ref: '#/components/schemas/Error'
966967
description: Unexpected error occurred
967968
security:
968969
- Bearer: []
@@ -1042,7 +1043,8 @@ paths:
10421043
examples:
10431044
"500Example":
10441045
$ref: '#/components/examples/500Example'
1045-
schema: {}
1046+
schema:
1047+
$ref: '#/components/schemas/Error'
10461048
description: Unexpected error occurred
10471049
security:
10481050
- Bearer: []
@@ -1968,7 +1970,6 @@ components:
19681970
EnterpriseOsdClusterPayloadExample:
19691971
value:
19701972
cluster_id: 1234abcd1234abcd1234abcd1234abcd
1971-
cluster_external_id: 69d631de-9b7f-4bc2-bf4f-4d3295a7b25e
19721973
cluster_ingress_dns_name: apps.enterprise-aws.awdk.s1.devshift.org
19731974
kafka_machine_pool_node_count: 9
19741975
access_kafkas_via_private_network: false
@@ -2104,7 +2105,7 @@ components:
21042105
Search criteria.
21052106
21062107
The syntax of this parameter is similar to the syntax of the `where` clause of an
2107-
SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`.
2108+
SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, `status` and `cluster_id`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`.
21082109
Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query.
21092110
21102111
Examples:
@@ -2113,7 +2114,7 @@ components:
21132114
21142115
```
21152116
name = my-kafka and cloud_provider = aws
2116-
```[p-]
2117+
```
21172118
21182119
To return a Kafka instance with a name that starts with `my`, use the following syntax:
21192120
@@ -2606,7 +2607,6 @@ components:
26062607
example:
26072608
kafka_machine_pool_node_count: 0
26082609
cluster_id: cluster_id
2609-
cluster_external_id: cluster_external_id
26102610
access_kafkas_via_private_network: true
26112611
cluster_ingress_dns_name: cluster_ingress_dns_name
26122612
properties:
@@ -2618,10 +2618,6 @@ components:
26182618
description: The data plane cluster ID. This is the ID of the cluster obtained
26192619
from OpenShift Cluster Manager (OCM) API
26202620
type: string
2621-
cluster_external_id:
2622-
description: external cluster ID. Can be obtained from the response JSON
2623-
of OCM get /api/clusters_mgmt/v1/clusters/<cluster_id>
2624-
type: string
26252621
cluster_ingress_dns_name:
26262622
description: dns name of the cluster. Can be obtained from the response
26272623
JSON of the /api/clusters_mgmt/v1/clusters/<cluster_id>/ingresses (dns_name)
@@ -2637,7 +2633,6 @@ components:
26372633
type: integer
26382634
required:
26392635
- access_kafkas_via_private_network
2640-
- cluster_external_id
26412636
- cluster_id
26422637
- cluster_ingress_dns_name
26432638
- kafka_machine_pool_node_count

kafkamgmt/apiv1/client/api_security.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kafkamgmt/apiv1/client/docs/DefaultApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ func main() {
539539
page := "1" // string | Page index (optional)
540540
size := "100" // string | Number of items in each page (optional)
541541
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 following `kafkaRequests` fields: * bootstrap_server_host * admin_api_server_url * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn't provided, or if the value is empty, then the results are ordered by name. (optional)
542-
search := "name = my-kafka and cloud_provider = aws" // string | Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` To return a Kafka instance with a name containing `test` matching any character case combinations, use the following syntax: ``` name ilike %25test%25 ``` If the parameter isn't provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. (optional)
542+
search := "name = my-kafka and cloud_provider = aws" // string | Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, `status` and `cluster_id`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ``` To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` To return a Kafka instance with a name containing `test` matching any character case combinations, use the following syntax: ``` name ilike %25test%25 ``` If the parameter isn't provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. (optional)
543543

544544
configuration := openapiclient.NewConfiguration()
545545
api_client := openapiclient.NewAPIClient(configuration)
@@ -567,7 +567,7 @@ Name | Type | Description | Notes
567567
**page** | **string** | Page index |
568568
**size** | **string** | Number of items in each page |
569569
**orderBy** | **string** | Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the &#x60;order by&#x60; clause of an SQL statement. Each query can be ordered by any of the following &#x60;kafkaRequests&#x60; fields: * bootstrap_server_host * admin_api_server_url * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: &#x60;&#x60;&#x60;sql name asc &#x60;&#x60;&#x60; To return all Kafka instances ordered by their name _and_ created date, use the following syntax: &#x60;&#x60;&#x60;sql name asc, created_at asc &#x60;&#x60;&#x60; If the parameter isn&#39;t provided, or if the value is empty, then the results are ordered by name. |
570-
**search** | **string** | Search criteria. The syntax of this parameter is similar to the syntax of the &#x60;where&#x60; clause of an SQL statement. Allowed fields in the search are &#x60;cloud_provider&#x60;, &#x60;name&#x60;, &#x60;owner&#x60;, &#x60;region&#x60;, and &#x60;status&#x60;. Allowed comparators are &#x60;&lt;&gt;&#x60;, &#x60;&#x3D;&#x60;, &#x60;LIKE&#x60;, or &#x60;ILIKE&#x60;. Allowed joins are &#x60;AND&#x60; and &#x60;OR&#x60;. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name &#x60;my-kafka&#x60; and the region &#x60;aws&#x60;, use the following syntax: &#x60;&#x60;&#x60; name &#x3D; my-kafka and cloud_provider &#x3D; aws &#x60;&#x60;&#x60;[p-] To return a Kafka instance with a name that starts with &#x60;my&#x60;, use the following syntax: &#x60;&#x60;&#x60; name like my%25 &#x60;&#x60;&#x60; To return a Kafka instance with a name containing &#x60;test&#x60; matching any character case combinations, use the following syntax: &#x60;&#x60;&#x60; name ilike %25test%25 &#x60;&#x60;&#x60; If the parameter isn&#39;t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. |
570+
**search** | **string** | Search criteria. The syntax of this parameter is similar to the syntax of the &#x60;where&#x60; clause of an SQL statement. Allowed fields in the search are &#x60;cloud_provider&#x60;, &#x60;name&#x60;, &#x60;owner&#x60;, &#x60;region&#x60;, &#x60;status&#x60; and &#x60;cluster_id&#x60;. Allowed comparators are &#x60;&lt;&gt;&#x60;, &#x60;&#x3D;&#x60;, &#x60;LIKE&#x60;, or &#x60;ILIKE&#x60;. Allowed joins are &#x60;AND&#x60; and &#x60;OR&#x60;. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name &#x60;my-kafka&#x60; and the region &#x60;aws&#x60;, use the following syntax: &#x60;&#x60;&#x60; name &#x3D; my-kafka and cloud_provider &#x3D; aws &#x60;&#x60;&#x60; To return a Kafka instance with a name that starts with &#x60;my&#x60;, use the following syntax: &#x60;&#x60;&#x60; name like my%25 &#x60;&#x60;&#x60; To return a Kafka instance with a name containing &#x60;test&#x60; matching any character case combinations, use the following syntax: &#x60;&#x60;&#x60; name ilike %25test%25 &#x60;&#x60;&#x60; If the parameter isn&#39;t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. |
571571

572572
### Return type
573573

kafkamgmt/apiv1/client/docs/EnterpriseDataplaneClustersApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ import (
304304
)
305305

306306
func main() {
307-
enterpriseOsdClusterPayload := *openapiclient.NewEnterpriseOsdClusterPayload(false, "ClusterId_example", "ClusterExternalId_example", "ClusterIngressDnsName_example", int32(123)) // EnterpriseOsdClusterPayload | Enterprise data plane cluster details
307+
enterpriseOsdClusterPayload := *openapiclient.NewEnterpriseOsdClusterPayload(false, "ClusterId_example", "ClusterIngressDnsName_example", int32(123)) // EnterpriseOsdClusterPayload | Enterprise data plane cluster details
308308

309309
configuration := openapiclient.NewConfiguration()
310310
api_client := openapiclient.NewAPIClient(configuration)

kafkamgmt/apiv1/client/docs/EnterpriseOsdClusterPayload.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**AccessKafkasViaPrivateNetwork** | **bool** | Sets whether Kafkas created on this data plane cluster have to be accessed via private network |
88
**ClusterId** | **string** | The data plane cluster ID. This is the ID of the cluster obtained from OpenShift Cluster Manager (OCM) API |
9-
**ClusterExternalId** | **string** | external cluster ID. Can be obtained from the response JSON of OCM get /api/clusters_mgmt/v1/clusters/&lt;cluster_id&gt; |
109
**ClusterIngressDnsName** | **string** | dns name of the cluster. Can be obtained from the response JSON of the /api/clusters_mgmt/v1/clusters/&lt;cluster_id&gt;/ingresses (dns_name) |
1110
**KafkaMachinePoolNodeCount** | **int32** | The node count given to the created kafka machine pool. The machine pool must be created via /api/clusters_mgmt/v1/clusters/&lt;cluster_id&gt;/machine_pools prior to passing this value. The created machine pool must have a &#x60;bf2.org/kafkaInstanceProfileType&#x3D;standard&#x60; label and a &#x60;bf2.org/kafkaInstanceProfileType&#x3D;standard:NoExecute&#x60; taint. The name of the machine pool must be &#x60;kafka-standard&#x60; The node count value has to be a multiple of 3 with a minimum of 3 nodes. |
1211

1312
## Methods
1413

1514
### NewEnterpriseOsdClusterPayload
1615

17-
`func NewEnterpriseOsdClusterPayload(accessKafkasViaPrivateNetwork bool, clusterId string, clusterExternalId string, clusterIngressDnsName string, kafkaMachinePoolNodeCount int32, ) *EnterpriseOsdClusterPayload`
16+
`func NewEnterpriseOsdClusterPayload(accessKafkasViaPrivateNetwork bool, clusterId string, clusterIngressDnsName string, kafkaMachinePoolNodeCount int32, ) *EnterpriseOsdClusterPayload`
1817

1918
NewEnterpriseOsdClusterPayload instantiates a new EnterpriseOsdClusterPayload object
2019
This constructor will assign default values to properties that have it defined,
@@ -69,26 +68,6 @@ and a boolean to check if the value has been set.
6968
SetClusterId sets ClusterId field to given value.
7069

7170

72-
### GetClusterExternalId
73-
74-
`func (o *EnterpriseOsdClusterPayload) GetClusterExternalId() string`
75-
76-
GetClusterExternalId returns the ClusterExternalId field if non-nil, zero value otherwise.
77-
78-
### GetClusterExternalIdOk
79-
80-
`func (o *EnterpriseOsdClusterPayload) GetClusterExternalIdOk() (*string, bool)`
81-
82-
GetClusterExternalIdOk returns a tuple with the ClusterExternalId field if it's non-nil, zero value otherwise
83-
and a boolean to check if the value has been set.
84-
85-
### SetClusterExternalId
86-
87-
`func (o *EnterpriseOsdClusterPayload) SetClusterExternalId(v string)`
88-
89-
SetClusterExternalId sets ClusterExternalId field to given value.
90-
91-
9271
### GetClusterIngressDnsName
9372

9473
`func (o *EnterpriseOsdClusterPayload) GetClusterIngressDnsName() string`

kafkamgmt/apiv1/client/model_enterprise_osd_cluster_payload.go

Lines changed: 1 addition & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)