open-consul/ui/packages/consul-ui/tests/integration/adapters
John Cowen dc89b8d340
ui: [BUGFIX] Ensure namespace is used for node API requests (#9410)
Nodes themselves are not namespaced, so we'd originally assumed we did not need to pass through the ns query parameter when listing or viewing nodes.

As it turns out the API endpoints we use to list and view nodes (and related things) return things that are namespaced, therefore any API requests for nodes do require a the ns query parameter to be passed through to the request.

This PR adds the necessary ns query param to all things Node, apart from the querying for the leader which only returns node related information.

Additionally here we decided to show 0 Services text in the node listing if there are nodes with no service instances within the namespace you are viewing, as this is clearer than showing nothing at all. We also cleaned up/standardized the text we use to in the empty state for service instances.
2021-01-04 16:42:44 +00:00
..
acl-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
coordinate-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
dc-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
discovery-chain-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
intention-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
kv-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
node-test.js ui: [BUGFIX] Ensure namespace is used for node API requests (#9410) 2021-01-04 16:42:44 +00:00
nspace-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
oidc-provider-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
policy-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
role-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
service-instance-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
service-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
session-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
token-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
topology-test.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00