代码-swagger3 pathmatch和nexus私服

This commit is contained in:
khalil
2024-05-07 12:49:56 +08:00
parent 13525d4902
commit a94a6188f1
6 changed files with 65 additions and 60 deletions

View File

@@ -6,12 +6,20 @@ spring:
main:
allow-bean-definition-overriding : true
allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
---
spring:
config:
activate:
on-profile: native
cloud:
nacos:
config:
server-addr: 129.226.216.54:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
name: ${spring.application.name}
file-extension: yml
shared-configs:
- data-id: application.yml
@@ -24,22 +32,17 @@ spring:
refresh: true
- data-id: threadpool.yml
refresh: true
---
spring:
application:
name: oauth2
config:
activate:
on-profile: dev
main:
allow-bean-definition-overriding: true
allow-circular-references: true
cloud:
nacos:
config:
server-addr: 129.226.216.54:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
name: ${spring.application.name}
file-extension: yml
shared-configs:
- data-id: application.yml
@@ -56,20 +59,14 @@ spring:
refresh: true
---
spring:
application:
name: oauth2
config:
activate:
on-profile: prod
main:
allow-bean-definition-overriding: true
allow-circular-references: true
cloud:
nacos:
config:
server-addr: 129.226.216.54:8848
namespace: 0c9bf047-19ca-4969-bf5d-bbc1f86b501a
name: ${spring.application.name}
file-extension: yml
shared-configs:
- data-id: application.yml