consul/ui/packages/consul-ui/mock-api
John Cowen 30014ff8fe
ui: Convert Service.GatewayConfig to a model fragment (#9586)
* ui: Convert Service.GatewayConfig to a model fragment

We added the ember-intl addon, which has its own format-number helper.
We replaced our own similarly named helper with this one, but the
ember-intl one is far stricter and errors if the arguments passed are
undefined. Our previously one would cope with this.

We'd rather continue to use the stricter ember-intl helper, so here we
convert the GatewayConfig property to a model fragment so that we can
give the GatewayConfig.AssociatedServices property a default zero value.
2021-01-20 15:36:23 +00:00
..
v1 ui: Convert Service.GatewayConfig to a model fragment (#9586) 2021-01-20 15:36:23 +00:00
README.md ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00

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.