-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#23630]yugabyted: Modiying the APIs required for the new Migrate Sch…
…ema Page. Summary: Adding new components for Migrate schema page to display the recommended refactoring graph and suggested modifications. Jira: DB-12545 Test Plan: Manual Testts Reviewers: djiang Reviewed By: djiang Subscribers: yugabyted-dev Differential Revision: https://phorge.dev.yugabyte.com/D37537
- Loading branch information
1 parent
e80d60f
commit 5230f5a
Showing
10 changed files
with
1,195 additions
and
86 deletions.
There are no files selected for viewing
1,071 changes: 1,008 additions & 63 deletions
1,071
yugabyted-ui/apiserver/cmd/server/.docs/api/openapi.yaml
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
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
13 changes: 13 additions & 0 deletions
13
yugabyted-ui/apiserver/cmd/server/models/model_schema_analysis_report.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,13 @@ | ||
package models | ||
|
||
// SchemaAnalysisReport - Voyager data migration metrics details | ||
type SchemaAnalysisReport struct { | ||
|
||
UnsupportedFunctions []UnsupportedSqlWithDetails `json:"unsupported_functions"` | ||
|
||
UnsupportedFeatures []UnsupportedSqlWithDetails `json:"unsupported_features"` | ||
|
||
UnsupportedDatatypes []UnsupportedSqlWithDetails `json:"unsupported_datatypes"` | ||
|
||
RecommendedRefactoring RecommendedRefactoringGraph `json:"recommended_refactoring"` | ||
} |
11 changes: 11 additions & 0 deletions
11
yugabyted-ui/apiserver/cmd/server/models/model_unsupported_sql_with_details.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,11 @@ | ||
package models | ||
|
||
// UnsupportedSqlWithDetails - Schema for Suggested refactoring tab in Migrate Schema page | ||
type UnsupportedSqlWithDetails struct { | ||
|
||
SuggestionsErrors []ErrorsAndSuggestionsDetails `json:"suggestions_errors"` | ||
|
||
UnsupportedType string `json:"unsupported_type"` | ||
|
||
Count int32 `json:"count"` | ||
} |
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