open-consul/ui/packages/consul-ui/mock-api/v1/kv/.config

13 lines
304 B
Plaintext

---
"*":
PUT:
"_":
"*":
latency: ${ env('CONSUL_LATENCY', 0)}
GET:
"*":
latency: ${ location.search.index ? env('CONSUL_LATENCY', 60000) : env('CONSUL_LATENCY', 0) }
headers:
response:
X-Consul-Index: ${ parseInt((location.search.index || 1)) + 1}