Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(all): re-generate SDKs #56

Merged
merged 1 commit into from
Jan 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
161 changes: 158 additions & 3 deletions .openapi/kas-fleet-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/EnterpriseClusterRegistrationResponse'
$ref: '#/components/schemas/EnterpriseClusterWithAddonParameters'
description: Enterprise cluster registered
"400":
content:
Expand Down Expand Up @@ -1100,6 +1100,128 @@ paths:
description: Unexpected error occurred
security:
- Bearer: [ ]
get:
tags:
- enterprise-dataplane-clusters
operationId: getEnterpriseClusterById
description: Returns enterprise data plane cluster by ID
parameters:
- in: path
name: id
description: ID of the enterprise data plane cluster
schema:
type: string
required: true
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/EnterpriseCluster'
examples:
EnterpriseClusterExample:
$ref: '#/components/examples/EnterpriseClusterExample'
description: Found enterprise data plane cluster with provided ID
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
401Example:
$ref: '#/components/examples/401Example'
description: Auth token is invalid
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
403Example:
$ref: '#/components/examples/403Example'
description: User not authorized to access the service
"404":
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
404Example:
$ref: '#/components/examples/404Example'
description: No Enterprise data plane cluster with specified ID exists
"500":
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
500Example:
$ref: '#/components/examples/500Example'
description: Unexpected error occurred
security:
- Bearer: [ ]

/api/kafkas_mgmt/v1/clusters/{id}/addon_parameters:
get:
tags:
- enterprise-dataplane-clusters
operationId: getEnterpriseClusterWithAddonParameters
description: Returns enterprise data plane cluster by ID along with its addon parameters
parameters:
- in: path
name: id
description: ID of the enterprise data plane cluster
schema:
type: string
required: true
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/EnterpriseClusterWithAddonParameters'
examples:
EnterpriseClusterWithAddonsExample:
$ref: '#/components/examples/EnterpriseClusterWithAddonParametersExample'
description: Returns the enterprise data plane cluster with addon parameters for an existing enterprise data plane cluster with provided ID
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
401Example:
$ref: '#/components/examples/401Example'
description: Auth token is invalid
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
403Example:
$ref: '#/components/examples/403Example'
description: User not authorized to access the service
"404":
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
404Example:
$ref: '#/components/examples/404Example'
description: No Enterprise data plane cluster with specified ID exists
"500":
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
500Example:
$ref: '#/components/examples/500Example'
description: Unexpected error occurred
security:
- Bearer: [ ]

components:
schemas:
Expand Down Expand Up @@ -1818,8 +1940,8 @@ components:
The node count value has to be a multiple of 3 with a minimum of 3 nodes.
type: integer
format: int32
EnterpriseClusterRegistrationResponse:
description: Enterprise cluster registration endpoint response
EnterpriseClusterWithAddonParameters:
description: Enterprise cluster with addon parameters
allOf:
- $ref: "#/components/schemas/ObjectReference"
- type: object
Expand Down Expand Up @@ -2028,13 +2150,46 @@ components:
name: "test_kafka"
plan: "standard.x1"
EnterpriseClusterExample:
value:
id: "abcd1234ascd3456fdks9485lskd030h"
kind: "cluster"
href: "/api/kafkas_mgmr/v1/clusters/abcd1234ascd3456fdks9485lskd030h"
status: "ready"
cluster_id: "abcd1234ascd3456fdks9485lskd030h"
EnterpriseClusterWithAddonParametersExample:
value:
id: "abcd1234ascd3456fdks9485lskd030h"
kind: "cluster"
href: "/api/kafkas_mgmr/v1/clusters/abcd1234ascd3456fdks9485lskd030h"
status: "ready"
cluster_id: "abcd1234ascd3456fdks9485lskd030h"
access_kafkas_via_private_network: true
fleetshard_parameters: [
{
id: "sso-auth-server-url",
value: "http://someurl/auth/realms/rhoas"
},
{
id: "sso-client-id",
value: "kas-fleetshard-agent-1234abcd1234abcd1234abcd1234abcd"
},
{
id: "sso-secret",
value: "some-secret"
},
{
id: "cluster-id",
value: "1234abcd1234abcd1234abcd1234abcd"
},
{
id: "poll-interval",
value: "15s"
},
{
id: "resync-interval",
value: "60s"
}
]
KafkaRequestExample:
value:
id: "1iSY6RQ3JKI8Q0OTmjQFd3ocFRg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ docs/EnterpriseCluster.md
docs/EnterpriseClusterAllOf.md
docs/EnterpriseClusterList.md
docs/EnterpriseClusterListAllOf.md
docs/EnterpriseClusterRegistrationResponse.md
docs/EnterpriseClusterRegistrationResponseAllOf.md
docs/EnterpriseClusterWithAddonParameters.md
docs/EnterpriseClusterWithAddonParametersAllOf.md
docs/EnterpriseDataplaneClustersApi.md
docs/EnterpriseOsdClusterPayload.md
docs/Error.md
Expand Down Expand Up @@ -72,8 +72,8 @@ model_enterprise_cluster.go
model_enterprise_cluster_all_of.go
model_enterprise_cluster_list.go
model_enterprise_cluster_list_all_of.go
model_enterprise_cluster_registration_response.go
model_enterprise_cluster_registration_response_all_of.go
model_enterprise_cluster_with_addon_parameters.go
model_enterprise_cluster_with_addon_parameters_all_of.go
model_enterprise_osd_cluster_payload.go
model_error.go
model_error_list.go
Expand Down
Loading