consul/ui-v2/tests/integration/adapters
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
..
acl UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
coordinate UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
dc UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
intention UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
kv UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
node UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
service UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
session UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00