From 4648b9885e411ca98e8a16be8461a1fd42255fc1 Mon Sep 17 00:00:00 2001 From: "taylor.dang" Date: Fri, 9 Aug 2019 19:02:13 +0800 Subject: [PATCH] [Y] datasource --- pom.xml | 4 ++-- .../manage/pos/datasource/DataSourceConfiguration.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 330efacca..1c41ce7ce 100644 --- a/pom.xml +++ b/pom.xml @@ -10,11 +10,11 @@ 4.0.0 manage - 1.1.3 + 1.1.4 UTF-8 - 1.1.2 + 1.4.0 ${project.version} diff --git a/src/main/java/au/com/royalpay/payment/manage/pos/datasource/DataSourceConfiguration.java b/src/main/java/au/com/royalpay/payment/manage/pos/datasource/DataSourceConfiguration.java index 610a85c46..03e00ca47 100644 --- a/src/main/java/au/com/royalpay/payment/manage/pos/datasource/DataSourceConfiguration.java +++ b/src/main/java/au/com/royalpay/payment/manage/pos/datasource/DataSourceConfiguration.java @@ -22,13 +22,13 @@ import java.util.Map; public class DataSourceConfiguration { @Bean(name = "masterDataSource") - @ConfigurationProperties(prefix = "app.datasource.master") + @ConfigurationProperties(prefix = "spring.datasource.master") public DataSource masterDataSource() { return DataSourceBuilder.create().type(HikariDataSource.class).build(); } @Bean(name = "slaveDataSource") - @ConfigurationProperties(prefix = "app.datasource.slave") + @ConfigurationProperties(prefix = "spring.datasource.slave") public DataSource slaveDataSource() { return DataSourceBuilder.create().type(HikariDataSource.class).build(); }