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

Implement a provider model for RDS/Stdout mysql providers. #29

Open
wants to merge 29 commits into
base: s3-export-import
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
9574ec2
Implement a provider-model configurable at CLI
fubarhouse Jun 21, 2024
bf3a5e4
remove legacy dumpparams
fubarhouse Jun 21, 2024
4e29c08
Update RDS provider test to match dumpparams
fubarhouse Jun 21, 2024
098bc64
add required provider param to existing tests
fubarhouse Jun 21, 2024
803c384
Fix errors with make lint and params
fubarhouse Jun 21, 2024
8777c98
goimports
fubarhouse Jun 21, 2024
b8fa08f
Update manifest syntax for RDS provider
fubarhouse Jun 21, 2024
bac5a29
Provider cleanup work
fubarhouse Jun 27, 2024
f0a121a
getProviderClient cleanup
fubarhouse Jun 27, 2024
45d8486
Fix up CLI params implementation
fubarhouse Jun 27, 2024
89dbfce
Cleanup
fubarhouse Jun 27, 2024
66689d1
Fix input params
fubarhouse Jun 27, 2024
01108af
init: functional test for stdout provider
fubarhouse Jun 27, 2024
968b024
add branch
fubarhouse Jun 27, 2024
761e7d2
Adjustments
fubarhouse Jun 27, 2024
cdee59e
Adjustments
fubarhouse Jun 27, 2024
be76bcf
Update functional tests
fubarhouse Jun 27, 2024
2f823bc
remove schema diff tool
fubarhouse Jun 27, 2024
c67b323
switch diff to quiet mode
fubarhouse Jun 27, 2024
3f57c67
debugging
fubarhouse Jun 27, 2024
094bdde
finish pipeline
fubarhouse Jun 27, 2024
836a3db
finish pipeline
fubarhouse Jun 27, 2024
64f621b
finish pipeline
fubarhouse Jun 27, 2024
b3c4f6d
debugging
fubarhouse Jun 27, 2024
5f754ae
update input sql file to clean indentation
fubarhouse Jun 27, 2024
797c3b9
update input sql file to clean indentation
fubarhouse Jun 27, 2024
4e8e3b5
try to reconcile the input database file
fubarhouse Jun 27, 2024
563fa35
Cleanup functional testing pipeline
fubarhouse Jun 27, 2024
d4e4d81
Cleanup
fubarhouse Jun 27, 2024
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
Prev Previous commit
Next Next commit
Fix input params
Signed-off-by: Karl Hepworth <[email protected]>
  • Loading branch information
fubarhouse committed Jun 27, 2024
commit 66689d12389b5584ab7b59330550df4087364b89
4 changes: 2 additions & 2 deletions cmd/mtk/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ func init() {
cmd.PersistentFlags().IntVar(&conn.MaxConn, "max-conn", envar.GetIntWithFallback(50, envar.MaxConn), "Sets the maximum number of open connections to the database")

cmd.PersistentFlags().StringVar(&providerName, "provider", envar.GetStringWithFallback("stdout", envar.Provider), "The provider to use (either 'stdout' or 'rds')")
cmd.PersistentFlags().StringVar(&awsRegion, "region", envar.Region, "The AWS region to use for S3 when connecting to the MySQL RDS instance")
cmd.PersistentFlags().StringVar(&s3Uri, "uri", envar.Uri, "The S3 URI to use for exporting to S3 when exporting data from the MySQL RDS instance")
cmd.PersistentFlags().StringVar(&awsRegion, "region", envar.GetStringWithFallback("", envar.Region), "The AWS region to use for S3 when connecting to the MySQL RDS instance")
cmd.PersistentFlags().StringVar(&s3Uri, "uri", envar.GetStringWithFallback("", envar.Uri), "The S3 URI to use for exporting to S3 when exporting data from the MySQL RDS instance")
}

func main() {
Expand Down
Loading