Skip to content

Commit

Permalink
update migrations list page
Browse files Browse the repository at this point in the history
  • Loading branch information
djiang9001 committed Sep 27, 2024
1 parent 96091d6 commit 51eebf8
Show file tree
Hide file tree
Showing 37 changed files with 2,675 additions and 1,780 deletions.
2,019 changes: 1,068 additions & 951 deletions yugabyted-ui/apiserver/cmd/server/.docs/api/openapi.yaml

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions yugabyted-ui/apiserver/cmd/server/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,8 @@ models/model_version_info.go
models/model_voyager_migrate_data_metrics.go
models/model_voyager_migrate_data_metrics_details.go
models/model_voyager_migration_details.go
models/model_voyager_migration_details_source_db.go
models/model_voyager_migration_details_target_cluster.go
models/model_voyager_migration_details_voyager.go
models/model_voyager_migrations_info.go
models/model_yb_api_enum.go
349 changes: 279 additions & 70 deletions yugabyted-ui/apiserver/cmd/server/handlers/api_voyager.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,25 @@ type VoyagerMigrationDetails struct {

MigrationName string `json:"migration_name"`

MigrationType string `json:"migration_type"`

MigrationPhase int32 `json:"migration_phase"`

InvocationSequence int32 `json:"invocation_sequence"`

SourceDb string `json:"source_db"`
SourceDb VoyagerMigrationDetailsSourceDb `json:"source_db"`

Complexity string `json:"complexity"`
Voyager VoyagerMigrationDetailsVoyager `json:"voyager"`

DatabaseName string `json:"database_name"`
TargetCluster VoyagerMigrationDetailsTargetCluster `json:"target_cluster"`

SchemaName string `json:"schema_name"`
Complexity string `json:"complexity"`

Status string `json:"status"`

Progress string `json:"progress"`

InvocationTimestamp string `json:"invocation_timestamp"`

StartTimestamp string `json:"start_timestamp"`
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package models

type VoyagerMigrationDetailsSourceDb struct {

Ip string `json:"ip"`

Port string `json:"port"`

Engine string `json:"engine"`

Version string `json:"version"`

Database string `json:"database"`

Schema string `json:"schema"`
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package models

type VoyagerMigrationDetailsTargetCluster struct {

Ip string `json:"ip"`

Port string `json:"port"`

Engine string `json:"engine"`

Version string `json:"version"`
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package models

type VoyagerMigrationDetailsVoyager struct {

MachineIp string `json:"machine_ip"`

Os string `json:"os"`

AvailDiskBytes string `json:"avail_disk_bytes"`

ExportDir string `json:"export_dir"`

ExportedSchemaLocation string `json:"exported_schema_location"`
}
Loading

0 comments on commit 51eebf8

Please sign in to comment.