[Enhancement] 升级底层 Spring Boot 版本至 2.7.2 (#1367) (#1435)

This commit is contained in:
HweiH
2024-07-20 14:38:46 +08:00
committed by GitHub
parent 7d64aa893c
commit 3797cc2ce8
18 changed files with 16176 additions and 12974 deletions

View File

@@ -72,6 +72,7 @@
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<configuration>
<tarLongFileMode>gnu</tarLongFileMode>
<skipAssembly>false</skipAssembly>
<archive>
<manifest>

View File

@@ -6,11 +6,13 @@ spring:
enabled: true
datasource:
driver-class-name: org.h2.Driver
schema: classpath:db/chat-schema-h2.sql
data: classpath:db/chat-data-h2.sql
url: jdbc:h2:mem:chat;DATABASE_TO_UPPER=false
username: root
password: chat
sql:
init:
schema-locations: classpath:db/chat-schema-h2.sql
data-locations: classpath:db/chat-data-h2.sql
server:
port: 9082

View File

@@ -2,4 +2,9 @@ spring:
profiles:
active: local
application:
name: chat
name: chat
main:
allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ANT_PATH_MATCHER

View File

@@ -83,6 +83,7 @@
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<configuration>
<tarLongFileMode>gnu</tarLongFileMode>
<skipAssembly>false</skipAssembly>
<archive>
<manifest>

View File

@@ -14,8 +14,10 @@ spring:
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false
username: root
password: semantic
schema: classpath:db/semantic-schema-h2.sql
data: classpath:db/semantic-data-h2.sql
sql:
init:
schema-locations: classpath:db/semantic-schema-h2.sql
data-locations: classpath:db/semantic-data-h2.sql
authentication:
enable: true

View File

@@ -2,4 +2,9 @@ spring:
profiles:
active: local
application:
name: headless
name: headless
main:
allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ANT_PATH_MATCHER

View File

@@ -147,6 +147,7 @@
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<configuration>
<tarLongFileMode>gnu</tarLongFileMode>
<skipAssembly>false</skipAssembly>
<archive>
<manifest>

View File

@@ -1,11 +1,13 @@
spring:
datasource:
driver-class-name: org.h2.Driver
schema: classpath:db/schema-h2.sql
data: classpath:db/data-h2.sql
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false
username: root
password: semantic
sql:
init:
schema-locations: classpath:db/schema-h2.sql
data-locations: classpath:db/data-h2.sql
h2:
console:
path: /h2-console/semantic

View File

@@ -21,6 +21,11 @@ spring:
- spring.dev.langchain4j.azure.openai.spring.AutoConfig
- spring.dev.langchain4j.azure.aisearch.spring.AutoConfig
- spring.dev.langchain4j.anthropic.spring.AutoConfig
main:
allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ANT_PATH_MATCHER
mybatis:
mapper-locations=classpath:mappers/custom/*.xml,classpath*:/mappers/*.xml

View File

@@ -1,11 +1,13 @@
spring:
datasource:
driver-class-name: org.h2.Driver
schema: classpath:db/schema-h2.sql
data: classpath:db/data-h2.sql
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false
username: root
password: semantic
sql:
init:
schema-locations: classpath:db/schema-h2.sql
data-locations: classpath:db/data-h2.sql
h2:
console:
path: /h2-console/semantic

View File

@@ -21,6 +21,11 @@ spring:
- spring.dev.langchain4j.azure.openai.spring.AutoConfig
- spring.dev.langchain4j.azure.aisearch.spring.AutoConfig
- spring.dev.langchain4j.anthropic.spring.AutoConfig
main:
allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ANT_PATH_MATCHER
mybatis:
mapper-locations=classpath:mappers/custom/*.xml,classpath*:/mappers/*.xml