|
|
@@ -18,6 +18,9 @@ spring:
|
|
|
name: search-service
|
|
|
profiles:
|
|
|
active: @profile.active@
|
|
|
+ mvc:
|
|
|
+ pathmatch:
|
|
|
+ matching-strategy: ant_path_matcher
|
|
|
datasource:
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
|
@@ -30,6 +33,15 @@ spring:
|
|
|
max-lifetime: 1800000
|
|
|
connection-timeout: 30000
|
|
|
connection-test-query: SELECT 1
|
|
|
+ jpa:
|
|
|
+ show-sql: false
|
|
|
+ open-in-view: true
|
|
|
+ hibernate:
|
|
|
+ ddl-auto: update
|
|
|
+ properties:
|
|
|
+ hibernate.format_sql: true
|
|
|
+ hibernate.naming.physical-strategy: org.hibernate.scripts.model.naming.PhysicalNamingStrategyStandardImpl
|
|
|
+ hibernate.cache.use_second_level_cache: false
|
|
|
eureka:
|
|
|
instance:
|
|
|
prefer-ip-address: true
|