-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1141 from valdar/issue/MGDCTRS-997
fix MGDCTRS-997: Admin API to list connectors with new revisions
- Loading branch information
Showing
46 changed files
with
1,340 additions
and
1,256 deletions.
There are no files selected for viewing
416 changes: 163 additions & 253 deletions
416
internal/connector/internal/api/admin/private/api/openapi.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
248 changes: 76 additions & 172 deletions
248
internal/connector/internal/api/admin/private/api_connector_clusters_admin.go
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
internal/connector/internal/api/admin/private/model_connector_available_type_upgrade.go
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
internal/connector/internal/api/admin/private/model_connector_available_type_upgrade_list.go
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...ector/internal/api/admin/private/model_connector_available_type_upgrade_shard_metadata.go
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
internal/connector/internal/api/admin/private/model_connector_deployment_admin_status.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Connector Service Fleet Manager Admin APIs | ||
* | ||
* Connector Service Fleet Manager Admin is a Rest API to manage connector clusters. | ||
* | ||
* API version: 0.0.3 | ||
* Generated by: OpenAPI Generator (https://openapi-generator.tech) | ||
*/ | ||
|
||
package private | ||
|
||
// ConnectorDeploymentAdminStatus The status of connector deployment | ||
type ConnectorDeploymentAdminStatus struct { | ||
Phase ConnectorState `json:"phase,omitempty"` | ||
ResourceVersion int64 `json:"resource_version,omitempty"` | ||
ShardMetadata ConnectorDeploymentAdminStatusShardMetadata `json:"shard_metadata,omitempty"` | ||
Operators ConnectorDeploymentAdminStatusOperators `json:"operators,omitempty"` | ||
Conditions []MetaV1Condition `json:"conditions,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...ctor/internal/api/admin/private/model_connector_deployment_admin_status_shard_metadata.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Connector Service Fleet Manager Admin APIs | ||
* | ||
* Connector Service Fleet Manager Admin is a Rest API to manage connector clusters. | ||
* | ||
* API version: 0.0.3 | ||
* Generated by: OpenAPI Generator (https://openapi-generator.tech) | ||
*/ | ||
|
||
package private | ||
|
||
// ConnectorDeploymentAdminStatusShardMetadata latest available revision of deployment shared metadata | ||
type ConnectorDeploymentAdminStatusShardMetadata struct { | ||
Assigned ConnectorShardMetadata `json:"assigned,omitempty"` | ||
Available ConnectorShardMetadata `json:"available,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
internal/connector/internal/api/admin/private/model_connector_deployment_status.go
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
internal/connector/internal/api/admin/private/model_connector_shard_metadata.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Connector Service Fleet Manager Admin APIs | ||
* | ||
* Connector Service Fleet Manager Admin is a Rest API to manage connector clusters. | ||
* | ||
* API version: 0.0.3 | ||
* Generated by: OpenAPI Generator (https://openapi-generator.tech) | ||
*/ | ||
|
||
package private | ||
|
||
// ConnectorShardMetadata identifies a shard metadata of a connector type. | ||
type ConnectorShardMetadata struct { | ||
// the channel of the shard metadata | ||
Channel string `json:"channel,omitempty"` | ||
// the connector type id this shard metadata refers to | ||
ConnectorTypeId string `json:"connector_type_id,omitempty"` | ||
// the revision of the shard metadate | ||
Revision int64 `json:"revision,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.