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

Flyway Datasource Credentials for issue #24639 #29744

Closed
wants to merge 3 commits into from
Closed

Flyway Datasource Credentials for issue #24639 #29744

wants to merge 3 commits into from

Conversation

mfpc
Copy link
Contributor

@mfpc mfpc commented Dec 7, 2022

configure dedicated db user for database migrations: DML-only user for datasource, but DDL user for migration

Fixes: #24639

@quarkus-bot
Copy link

quarkus-bot bot commented Dec 7, 2022

Thanks for your pull request!

The title of your pull request does not follow our editorial rules. Could you have a look?

  • title should not contain an issue number (use Fix #1234 in the description instead)

This message is automatically generated by a bot.

*/

@ConfigItem
public Optional<String> password = Optional.empty();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The standard user credentials can also be supplied with CredentialsProvider so I believe the Flyway specific user credentials should also be managed the same way as it is done in Agroal

public Optional<String> username = Optional.empty();

/**
* Set a password that will Flyway will use to connect to the datasource.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Set a password that will Flyway will use to connect to the datasource.
* Set a password that Flyway will use to connect to the datasource.

public Optional<String> password = Optional.empty();

/**
* Set a new jdbcurl that will Flyway will use to connect to the datasource.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Set a new jdbcurl that will Flyway will use to connect to the datasource.
* Set a new jdbcurl that Flyway will use to connect to the datasource.

@mfpc mfpc closed this by deleting the head repository Dec 8, 2022
@quarkus-bot quarkus-bot bot added the triage/invalid This doesn't seem right label Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/flyway triage/invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

configure dedicated db user for database migrations: DML-only user for datasource, but DDL user for migration
2 participants