fixing(Gateway)
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
server:
|
||||
port: 0
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: api-gateway-test
|
||||
main:
|
||||
web-application-type: reactive
|
||||
cloud:
|
||||
discovery:
|
||||
enabled: false
|
||||
consul:
|
||||
enabled: false
|
||||
config:
|
||||
enabled: false
|
||||
discovery:
|
||||
register: false
|
||||
loadbalancer:
|
||||
enabled: false
|
||||
gateway:
|
||||
discovery:
|
||||
locator:
|
||||
enabled: false
|
||||
httpclient:
|
||||
connect-timeout: 1000
|
||||
response-timeout: 5s
|
||||
# IMPORTANT: Do not load production lb:// routes in tests
|
||||
routes: []
|
||||
globalcors:
|
||||
corsConfigurations:
|
||||
'[/**]':
|
||||
allowedOriginPatterns:
|
||||
- "http://localhost:*"
|
||||
- "https://*.meldestelle.at"
|
||||
allowedMethods:
|
||||
- GET
|
||||
- POST
|
||||
- PUT
|
||||
- DELETE
|
||||
- PATCH
|
||||
- OPTIONS
|
||||
allowedHeaders:
|
||||
- "*"
|
||||
allowCredentials: true
|
||||
maxAge: 3600
|
||||
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: health,info
|
||||
endpoint:
|
||||
health:
|
||||
show-details: always
|
||||
health:
|
||||
circuitbreakers:
|
||||
enabled: false
|
||||
|
||||
logging:
|
||||
level:
|
||||
org.springframework.cloud.gateway: WARN
|
||||
at.mocode.infrastructure.gateway: DEBUG
|
||||
|
||||
gateway:
|
||||
security:
|
||||
jwt:
|
||||
enabled: false
|
||||
Reference in New Issue
Block a user