You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @alexkolson ,
Thanks for this solution and I was able to make it work for dev testing by following similar pattern for a Postgres db. (i.e. quarkus:dev)
However, when it is run as a jar, it still looks for datasource configuration(username/password) from application.properties. java -jar -Dquarkus.profile=test target/quarkus-app/quarkus-run.jar
And fails with Caused by: org.postgresql.util.PSQLException: The server requested SCRAM-based authentication, but no password was provided.
Apparently it goes to default tenant resolver.
It is also pointed out in your ProgrammaticDatasourceConfigurer that it might fail.
It feels like something between Agroal and hibernate, but I couldn't figure out.
Any thoughts or anyway you were able to resolve this?
The text was updated successfully, but these errors were encountered:
Hi @alexkolson ,
Thanks for this solution and I was able to make it work for dev testing by following similar pattern for a Postgres db. (i.e. quarkus:dev)
However, when it is run as a jar, it still looks for datasource configuration(username/password) from application.properties.
java -jar -Dquarkus.profile=test target/quarkus-app/quarkus-run.jar
And fails with
Caused by: org.postgresql.util.PSQLException: The server requested SCRAM-based authentication, but no password was provided.
Apparently it goes to default tenant resolver.
It is also pointed out in your
ProgrammaticDatasourceConfigurer
that it might fail.It feels like something between Agroal and hibernate, but I couldn't figure out.
Any thoughts or anyway you were able to resolve this?
The text was updated successfully, but these errors were encountered: