Skip to content

GG-651: Use options inside CreateConnectionPool() - #23

Merged
bandetto merged 6 commits into
feature/ADBDEV-7484from
GG-651
Aug 4, 2026
Merged

GG-651: Use options inside CreateConnectionPool()#23
bandetto merged 6 commits into
feature/ADBDEV-7484from
GG-651

Conversation

@VoidZeroNull0

@VoidZeroNull0 VoidZeroNull0 commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

What is it?
After merging implementation of utilitty functions and option parsing,
connection creation (CreateConnectionPool()) with parsed flags is still needed.
This PR implements exactly this. Also uses default values if no flag provided
according to SRS.

Ticket: GG-651

Use all flags (except for password ones) inside CreateConnectionPool() for
connecting to dbms. Change type and default values of some flags. Also, add
scrapeDbNames flag for future checks if source db name is not specified. -
names will need to be grabbed.
Add unit tests with mocking. Probably more need to come.
As SRS was further specified, we no longer need SOURCE_NO_PASSWORD and
TARGET_NO_PASSWORD options. They are either requested through pgpass file.
@VoidZeroNull0
VoidZeroNull0 marked this pull request as ready for review July 30, 2026 08:33
Comment thread checkmigrate/validate.go Outdated
Comment thread checkmigrate/validate_test.go
Comment thread options/flag.go Outdated
Comment thread checkmigrate/wrappers.go Outdated
Comment thread checkmigrate/wrappers.go Outdated
Comment thread checkmigrate/wrappers_test.go Outdated
@bandetto
bandetto merged commit 3d3b6bd into feature/ADBDEV-7484 Aug 4, 2026
4 checks passed
@bandetto
bandetto deleted the GG-651 branch August 4, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants