Skip to content

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