From 95a269e9078b33d9ad9e4e5a3393e772bcab0cd5 Mon Sep 17 00:00:00 2001 From: tvallin Date: Tue, 7 Nov 2023 09:55:23 +0100 Subject: [PATCH] fix database template Signed-off-by: tvallin --- .../META-INF/microprofile-config.properties.mustache | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/archetypes/helidon/src/main/archetype/mp/common/files/src/main/resources/META-INF/microprofile-config.properties.mustache b/archetypes/helidon/src/main/archetype/mp/common/files/src/main/resources/META-INF/microprofile-config.properties.mustache index 77264a09972..138d100dabb 100644 --- a/archetypes/helidon/src/main/archetype/mp/common/files/src/main/resources/META-INF/microprofile-config.properties.mustache +++ b/archetypes/helidon/src/main/archetype/mp/common/files/src/main/resources/META-INF/microprofile-config.properties.mustache @@ -13,12 +13,12 @@ metrics.rest-request.enabled=false # Datasource properties javax.sql.DataSource.{{ds-name}}.dataSourceClassName={{jdbcDataSource}} javax.sql.DataSource.{{ds-name}}.dataSource.url={{databaseUrl}} -javax.sql.DataSource.{{ds-name}}.dataSource.user=db_user -javax.sql.DataSource.{{ds-name}}.dataSource.password=user_password +javax.sql.DataSource.{{ds-name}}.dataSource.user={{dbUser}} +javax.sql.DataSource.{{ds-name}}.dataSource.password={{userPassword}} {{/database-hikari}} {{#database-ucp}} oracle.ucp.jdbc.PoolDataSource.{{ds-name}}.URL={{databaseUrl}} oracle.ucp.jdbc.PoolDataSource.{{ds-name}}.connectionFactoryClassName={{jdbcDataSource}} -oracle.ucp.jdbc.PoolDataSource.{{ds-name}}.user=db_user -oracle.ucp.jdbc.PoolDataSource.{{ds-name}}.password=user_password +oracle.ucp.jdbc.PoolDataSource.{{ds-name}}.user={{dbUser}} +oracle.ucp.jdbc.PoolDataSource.{{ds-name}}.password={{userPassword}} {{/database-ucp}} \ No newline at end of file