Skip to content

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

Closed
wants to merge 11 commits into from
Closed

Conversation

tsohnugo
Copy link

Hi,GaussDB is a distributed relational database independently innovated and developed by Huawei.

This pr add the New Modules: GaussDB

Comment on lines +69 to +75
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");
}

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.

Copy link
Author

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

@eddumelendez
Copy link
Member

eddumelendez commented Apr 30, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants