add gateway timeout message
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -17,6 +17,7 @@ class ApiGatewayConfig {
|
||||
.filters { f -> f
|
||||
.hystrix { config ->
|
||||
config.name = "input-service-sample"
|
||||
config.setFallbackUri("forward:/fallback")
|
||||
}
|
||||
.rewritePath("/api/input/v1/sample", "/sample")
|
||||
}
|
||||
@@ -27,6 +28,7 @@ class ApiGatewayConfig {
|
||||
.filters { f -> f
|
||||
.hystrix { config ->
|
||||
config.name = "input-service-query"
|
||||
config.setFallbackUri("forward:/fallback")
|
||||
}
|
||||
.rewritePath("/api/input/v1/sample/(?<SAMPLEID>.*)", "/sample/\${SAMPLEID}")
|
||||
}
|
||||
@@ -37,6 +39,7 @@ class ApiGatewayConfig {
|
||||
.filters { f -> f
|
||||
.hystrix { config ->
|
||||
config.name = "output-service-result"
|
||||
config.setFallbackUri("forward:/fallback")
|
||||
}
|
||||
.rewritePath("//api/output/v1/result", "/result")
|
||||
}
|
||||
@@ -47,6 +50,7 @@ class ApiGatewayConfig {
|
||||
.filters { f -> f
|
||||
.hystrix { config ->
|
||||
config.name = "output-service-query"
|
||||
config.setFallbackUri("forward:/fallback")
|
||||
}
|
||||
.rewritePath("/api/output/v1/result/(?<RESULTID>.*)", "/result/\${RESULTID}")
|
||||
}
|
||||
@@ -57,6 +61,7 @@ class ApiGatewayConfig {
|
||||
.filters { f -> f
|
||||
.hystrix { config ->
|
||||
config.name = "output-service-negative"
|
||||
config.setFallbackUri("forward:/fallback")
|
||||
}
|
||||
.rewritePath("/api/output/v1/result/filter/negative", "/result/filter/negative")
|
||||
}
|
||||
@@ -67,6 +72,7 @@ class ApiGatewayConfig {
|
||||
.filters { f -> f
|
||||
.hystrix { config ->
|
||||
config.name = "output-service-positive"
|
||||
config.setFallbackUri("forward:/fallback")
|
||||
}
|
||||
.rewritePath("/api/output/v1/result/filter/positive", "/result/filter/positive")
|
||||
}
|
||||
@@ -77,6 +83,7 @@ class ApiGatewayConfig {
|
||||
.filters { f -> f
|
||||
.hystrix { config ->
|
||||
config.name = "output-service-after"
|
||||
config.setFallbackUri("forward:/fallback")
|
||||
}
|
||||
.rewritePath("/api/output/v1/result/after/(?<DATEAFTER>.*)", "/result/after/\${DATEAFTER}")
|
||||
}
|
||||
@@ -87,6 +94,7 @@ class ApiGatewayConfig {
|
||||
.filters { f -> f
|
||||
.hystrix { config ->
|
||||
config.name = "output-service-before"
|
||||
config.setFallbackUri("forward:/fallback")
|
||||
}
|
||||
.rewritePath("/api/output/v1/result/before/(?<DATEBEFORE>.*)", "/result/before/\${DATEBEFORE}")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user