mirror of
https://github.com/status-im/consul.git
synced 2025-02-10 20:56:46 +00:00
We noticed that our mock API would sometimes respond with an empty array of addresses - which resulted in an empty space in the gateway upstream listing which looked as though it could be broken. I checked with backend, and as this will never happen, I made the change here also so the gateway upstream list is always fully populated with addresses.
consul-api-double
Super simple API 'double' for easily visualizing the Consul API via the filesystem.
This can be served via either a simple javascript HTTP server, or entirely via frontend methods if your project/circumstances means you are unable to use or it's complicated to use a backend server for testing.
See @hashicorp/api-double for more details.