-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add GaussDB testcontainers module #10195
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
Conversation
GaussDB is adapted to testcontainers
final String password; | ||
if ("gaussdb".equalsIgnoreCase(connectionUrl.getDatabaseType())){ | ||
// At least one uppercase, lowercase, numeric, special character, and password length(8). | ||
password = connectionUrl.getQueryParameters().getOrDefault(pwdParamName, "Test@123"); | ||
}else { | ||
password = connectionUrl.getQueryParameters().getOrDefault(pwdParamName, "test"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this modification is not necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If jdbc:tc connection is used, the default password is test, which does not conform to the password specification of GaussDB, resulting in the failure to create the container
Hi @tsohnugo, thanks for your contribution. Next time, please reach out before raising a PR for a new module. Manage issues and PRs would require extra knowledge from the team. I suggest you can host the module and share it in our Official Module Catalog by raising a PR in testcontainers/community-module-registry. We will be happy to support best practices for the module. |
Hi,GaussDB is a distributed relational database independently innovated and developed by Huawei.
This pr add the New Modules: GaussDB