Skip to content

Commit fede129

Browse files
committed
address more reviewer comments
1 parent af9d3f2 commit fede129

7 files changed

Lines changed: 386 additions & 387 deletions

File tree

gen/go/qdrant/cloud/hybrid/v1/hybrid_cloud.pb.go

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

gen/openapiv2/qdrant/cloud/hybrid/v1/hybrid_cloud.swagger.json

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@
5555
]
5656
}
5757
},
58-
"/api/hybrid/v1/accounts/{accountId}/clusters/{hybridCloudEnvironmentId}": {
59-
"delete": {
60-
"summary": "Deletes a hybrid cloud environment in the account identified by the given ID.\nRequired permissions:\n- delete:hybrid_cloud_environments",
61-
"operationId": "HybridCloudService_DeleteHybridCloudEnvironment",
58+
"/api/hybrid/v1/accounts/{accountId}/hybrid-cloud-environments": {
59+
"get": {
60+
"summary": "Fetch all hybrid cloud environments in the account identified by the given ID.\nRequired permissions:\n- read:hybrid_cloud_environments",
61+
"operationId": "HybridCloudService_ListHybridCloudEnvironments",
6262
"responses": {
6363
"200": {
6464
"description": "A successful response.",
6565
"schema": {
66-
"$ref": "#/definitions/v1DeleteHybridCloudEnvironmentResponse"
66+
"$ref": "#/definitions/v1ListHybridCloudEnvironmentsResponse"
6767
}
6868
},
6969
"default": {
@@ -80,29 +80,22 @@
8080
"in": "path",
8181
"required": true,
8282
"type": "string"
83-
},
84-
{
85-
"name": "hybridCloudEnvironmentId",
86-
"description": "The identifier for the hybrid cloud environment (in GUID format).\nIt should be part of the provided account.\nThis is a required field.",
87-
"in": "path",
88-
"required": true,
89-
"type": "string"
9083
}
9184
],
9285
"tags": [
9386
"HybridCloudService"
9487
]
9588
}
9689
},
97-
"/api/hybrid/v1/accounts/{accountId}/hybrid-cloud-environments": {
90+
"/api/hybrid/v1/accounts/{accountId}/hybrid-cloud-environments/{hybridCloudEnvironmentId}": {
9891
"get": {
99-
"summary": "Fetch all hybrid cloud environments in the account identified by the given ID.\nRequired permissions:\n- read:hybrid_cloud_environments",
100-
"operationId": "HybridCloudService_ListHybridCloudEnvironments",
92+
"summary": "Fetch a hybrid cloud environment in the account identified by the given ID.\nRequired permissions:\n- read:hybrid_cloud_environments",
93+
"operationId": "HybridCloudService_GetHybridCloudEnvironment",
10194
"responses": {
10295
"200": {
10396
"description": "A successful response.",
10497
"schema": {
105-
"$ref": "#/definitions/v1ListHybridCloudEnvironmentsResponse"
98+
"$ref": "#/definitions/v1GetHybridCloudEnvironmentResponse"
10699
}
107100
},
108101
"default": {
@@ -119,22 +112,27 @@
119112
"in": "path",
120113
"required": true,
121114
"type": "string"
115+
},
116+
{
117+
"name": "hybridCloudEnvironmentId",
118+
"description": "The identifier for the hybrid cloud environment (in GUID format).\nIt should be part of the provided account.\nThis is a required field.",
119+
"in": "path",
120+
"required": true,
121+
"type": "string"
122122
}
123123
],
124124
"tags": [
125125
"HybridCloudService"
126126
]
127-
}
128-
},
129-
"/api/hybrid/v1/accounts/{accountId}/hybrid-cloud-environments/{hybridCloudEnvironmentId}": {
130-
"get": {
131-
"summary": "Fetch a hybrid cloud environment in the account identified by the given ID.\nRequired permissions:\n- read:hybrid_cloud_environments",
132-
"operationId": "HybridCloudService_GetHybridCloudEnvironment",
127+
},
128+
"delete": {
129+
"summary": "Deletes a hybrid cloud environment in the account identified by the given ID.\nRequired permissions:\n- delete:hybrid_cloud_environments",
130+
"operationId": "HybridCloudService_DeleteHybridCloudEnvironment",
133131
"responses": {
134132
"200": {
135133
"description": "A successful response.",
136134
"schema": {
137-
"$ref": "#/definitions/v1GetHybridCloudEnvironmentResponse"
135+
"$ref": "#/definitions/v1DeleteHybridCloudEnvironmentResponse"
138136
}
139137
},
140138
"default": {
@@ -669,9 +667,9 @@
669667
},
670668
"title": "Status of deployed component"
671669
},
672-
"readyForClusterCreation": {
670+
"clusterCreationReadiness": {
673671
"$ref": "#/definitions/v1QdrantClusterCreationStatus",
674-
"title": "True if the hybrid cloud environment is ready for Qdrant cluster creation"
672+
"title": "Report if the hybrid cloud environment is ready for Qdrant cluster creation"
675673
},
676674
"message": {
677675
"type": "string",

gen/python/qdrant/cloud/hybrid/v1/hybrid_cloud_pb2.py

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

gen/python/qdrant/cloud/hybrid/v1/hybrid_cloud_pb2.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,15 @@ class HybridCloudEnvironmentConfiguration(_message.Message):
220220
def __init__(self, last_modified_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., namespace: _Optional[str] = ..., http_proxy_url: _Optional[str] = ..., https_proxy_url: _Optional[str] = ..., no_proxy_configs: _Optional[_Iterable[str]] = ..., container_registry_url: _Optional[str] = ..., chart_repository_url: _Optional[str] = ..., registry_secret_name: _Optional[str] = ..., ca_certificates: _Optional[str] = ..., database_storage_class: _Optional[str] = ..., snapshot_storage_class: _Optional[str] = ..., volume_snapshot_storage_class: _Optional[str] = ..., ingress: _Optional[_Iterable[_Union[_generated_pb2.NetworkPolicyIngressRule, _Mapping]]] = ..., egress: _Optional[_Iterable[_Union[_generated_pb2.NetworkPolicyEgressRule, _Mapping]]] = ..., log_level: _Optional[_Union[HybridCloudEnvironmentConfigurationLogLevel, str]] = ..., tolerations: _Optional[_Iterable[_Union[_cluster_pb2.Toleration, _Mapping]]] = ..., node_selector: _Optional[_Iterable[_Union[_common_pb2.KeyValue, _Mapping]]] = ...) -> None: ...
221221

222222
class HybridCloudEnvironmentStatus(_message.Message):
223-
__slots__ = ("last_modified_at", "phase", "kubernetes_version", "kubernetes_distribution", "number_of_nodes", "capabilities", "component_statuses", "ready_for_cluster_creation", "message", "storage_classes", "volume_snapshot_classes")
223+
__slots__ = ("last_modified_at", "phase", "kubernetes_version", "kubernetes_distribution", "number_of_nodes", "capabilities", "component_statuses", "cluster_creation_readiness", "message", "storage_classes", "volume_snapshot_classes")
224224
LAST_MODIFIED_AT_FIELD_NUMBER: _ClassVar[int]
225225
PHASE_FIELD_NUMBER: _ClassVar[int]
226226
KUBERNETES_VERSION_FIELD_NUMBER: _ClassVar[int]
227227
KUBERNETES_DISTRIBUTION_FIELD_NUMBER: _ClassVar[int]
228228
NUMBER_OF_NODES_FIELD_NUMBER: _ClassVar[int]
229229
CAPABILITIES_FIELD_NUMBER: _ClassVar[int]
230230
COMPONENT_STATUSES_FIELD_NUMBER: _ClassVar[int]
231-
READY_FOR_CLUSTER_CREATION_FIELD_NUMBER: _ClassVar[int]
231+
CLUSTER_CREATION_READINESS_FIELD_NUMBER: _ClassVar[int]
232232
MESSAGE_FIELD_NUMBER: _ClassVar[int]
233233
STORAGE_CLASSES_FIELD_NUMBER: _ClassVar[int]
234234
VOLUME_SNAPSHOT_CLASSES_FIELD_NUMBER: _ClassVar[int]
@@ -239,11 +239,11 @@ class HybridCloudEnvironmentStatus(_message.Message):
239239
number_of_nodes: int
240240
capabilities: HybridCloudEnvironmentCapabilities
241241
component_statuses: _containers.RepeatedCompositeFieldContainer[HybridCloudEnvironmentComponentStatus]
242-
ready_for_cluster_creation: QdrantClusterCreationStatus
242+
cluster_creation_readiness: QdrantClusterCreationStatus
243243
message: str
244244
storage_classes: _containers.RepeatedCompositeFieldContainer[HybridCloudEnvironmentStorageClass]
245245
volume_snapshot_classes: _containers.RepeatedCompositeFieldContainer[HybridCloudEnvironmentVolumeSnapshotClass]
246-
def __init__(self, last_modified_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., phase: _Optional[_Union[HybridCloudEnvironmentStatusPhase, str]] = ..., kubernetes_version: _Optional[str] = ..., kubernetes_distribution: _Optional[_Union[KubernetesDistribution, str]] = ..., number_of_nodes: _Optional[int] = ..., capabilities: _Optional[_Union[HybridCloudEnvironmentCapabilities, _Mapping]] = ..., component_statuses: _Optional[_Iterable[_Union[HybridCloudEnvironmentComponentStatus, _Mapping]]] = ..., ready_for_cluster_creation: _Optional[_Union[QdrantClusterCreationStatus, str]] = ..., message: _Optional[str] = ..., storage_classes: _Optional[_Iterable[_Union[HybridCloudEnvironmentStorageClass, _Mapping]]] = ..., volume_snapshot_classes: _Optional[_Iterable[_Union[HybridCloudEnvironmentVolumeSnapshotClass, _Mapping]]] = ...) -> None: ...
246+
def __init__(self, last_modified_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., phase: _Optional[_Union[HybridCloudEnvironmentStatusPhase, str]] = ..., kubernetes_version: _Optional[str] = ..., kubernetes_distribution: _Optional[_Union[KubernetesDistribution, str]] = ..., number_of_nodes: _Optional[int] = ..., capabilities: _Optional[_Union[HybridCloudEnvironmentCapabilities, _Mapping]] = ..., component_statuses: _Optional[_Iterable[_Union[HybridCloudEnvironmentComponentStatus, _Mapping]]] = ..., cluster_creation_readiness: _Optional[_Union[QdrantClusterCreationStatus, str]] = ..., message: _Optional[str] = ..., storage_classes: _Optional[_Iterable[_Union[HybridCloudEnvironmentStorageClass, _Mapping]]] = ..., volume_snapshot_classes: _Optional[_Iterable[_Union[HybridCloudEnvironmentVolumeSnapshotClass, _Mapping]]] = ...) -> None: ...
247247

248248
class HybridCloudEnvironmentCapabilities(_message.Message):
249249
__slots__ = ("volume_snapshot", "volume_expansion")

gen/typescript/qdrant/cloud/hybrid/v1/hybrid_cloud_pb.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -541,11 +541,11 @@ export declare type HybridCloudEnvironmentStatus = Message<"qdrant.cloud.hybrid.
541541
componentStatuses: HybridCloudEnvironmentComponentStatus[];
542542

543543
/**
544-
* True if the hybrid cloud environment is ready for Qdrant cluster creation
544+
* Report if the hybrid cloud environment is ready for Qdrant cluster creation
545545
*
546-
* @generated from field: qdrant.cloud.hybrid.v1.QdrantClusterCreationStatus ready_for_cluster_creation = 9;
546+
* @generated from field: qdrant.cloud.hybrid.v1.QdrantClusterCreationStatus cluster_creation_readiness = 9;
547547
*/
548-
readyForClusterCreation: QdrantClusterCreationStatus;
548+
clusterCreationReadiness: QdrantClusterCreationStatus;
549549

550550
/**
551551
* Status message

0 commit comments

Comments
 (0)