consul/ui-v2/app/services
John Cowen 12811c0844
UI - Refactor Adapter.handleResponse (#4398)
* Add some tests to check the correct GET API endpoints are called

* Refactor adapters

1. Add integration tests for `urlFor...` and majority `handleResponse` methods
2. Refactor out `handleResponse` a little more into single/batch/boolean
methods
3. Move setting of the `Datacenter` property into the `handleResponse`
method, basically the same place that the uid is being set using the dc
parsed form the URL
4. Add some Errors for if you don't pass ids to certain `urlFor` methods
2018-07-30 17:55:44 +01:00
..
acls.js UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
atob.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
btoa.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
confirm.js More detailed error messages for duplicate intentions 2018-06-25 12:25:15 -07:00
coordinates.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
dc.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
error.js More detailed error messages for duplicate intentions 2018-06-25 12:25:15 -07:00
feedback.js More detailed error messages for duplicate intentions 2018-06-25 12:25:15 -07:00
intentions.js UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
kv.js UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
logger.js WIP: Logger 2018-06-25 12:25:14 -07:00
nodes.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
services.js UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
session.js UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
settings.js Make sure token is set to blank if nothing is typed in settings 2018-06-20 14:38:54 +01:00
store.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
timeout.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00