inkoreakim пре 2 година
родитељ
комит
ba348ed953

+ 1 - 1
src/main/resources/application-local.properties

@@ -1,4 +1,4 @@
-#spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
+
 logging.level.org.springframework.web=INFO
 #local
 spring.datasource.url=jdbc:mysql://103.55.191.37:3306/iliweb_test?rewriteBatchedStatements=true&profileSQL=true&logger=Slf4JLogger&maxQuerySizeToLog=999999

+ 1 - 2
src/main/resources/application-prod.properties

@@ -1,5 +1,4 @@
-#spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
-logging.level.org.springframework.web=INFO
+\logging.level.org.springframework.web=INFO
 #server
 spring.datasource.url=jdbc:mysql://127.0.0.1:3306/iliweb_test?rewriteBatchedStatements=true&profileSQL=true&logger=Slf4JLogger&maxQuerySizeToLog=999999
 spring.datasource.username=logisticsbiz

+ 2 - 2
src/main/resources/application.properties

@@ -1,7 +1,7 @@
-#spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
+spring.profiles.active=${ACTIVE}
 logging.level.org.springframework.web=INFO
 #local
-spring.datasource.url=jdbc:mysql://103.55.191.37:3306/iliweb_test?rewriteBatchedStatements=true&profileSQL=true&logger=Slf4JLogger&maxQuerySizeToLog=999999
+#spring.datasource.url=jdbc:mysql://103.55.191.37:3306/iliweb_test?rewriteBatchedStatements=true&profileSQL=true&logger=Slf4JLogger&maxQuerySizeToLog=999999
 #server
 #spring.datasource.url=jdbc:mysql://127.0.0.1:3306/iliweb_test?rewriteBatchedStatements=true&profileSQL=true&logger=Slf4JLogger&maxQuerySizeToLog=999999
 spring.datasource.username=logisticsbiz