consul/ui/packages/consul-ui/mock-api
Michael Klein 74ccbc5706
ui: remove with-peers query param (#13756)
* Don't request nodes/services `with-peers` anymore

This will be automatic - no need for the query-param anymore.

* Return peering data based on feature flag mock-api services/nodes

* Update tests to reflect removed with-peers query-param

* setup cookie for turning peer feature flag on in mock-api in testing

* Add missing `S` for renamed PEERING feature-flag cookie
2022-07-14 19:32:53 +01:00
..
v1 ui: remove with-peers query param (#13756) 2022-07-14 19:32:53 +01:00
README.md

README.md

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.