open-consul/ui/packages/consul-ui/tests/acceptance/dc
John Cowen 3ab747109b
ui: [BUGFIX] Fixes an issue when editing intentions from the service > intentions sub tab (#11937)
We recently changed the intentions form to take a full model of a dc rather than just the string identifier (so {Name: 'dc', Primary: true} vs just 'dc' in order to know whether the DC is the primary or not.

Unfortunately, we only did this on the global intentions page not the per service intentions page. This makes it impossible to save an intention from the per service intention page (whilst you can still save intentions from the global intention page as normal).

The fix here pretty much copy/pastes the approach taken in the global intention edit template over to the per service intention edit template.

Tests have been added for creation in the per service intention section, which again are pretty much just copied from the global one, unfortunately this didn't exist previously which would have helped prevent this.
2022-01-07 19:09:40 +00:00
..
acls ui: Always show main navigation Key/Value link (#10916) 2021-09-22 18:23:59 +01:00
intentions ui: Check for `intention` ACL resources, not `intentions` ACL resources (#11880) 2021-12-21 06:43:14 +00:00
kvs ui: Fix URL params decoding (#11931) 2022-01-04 16:08:06 +00:00
nodes ui: Adds Partitions to the HTTP layer (#10447) 2021-09-15 18:09:55 +01:00
nspaces ui: Move nspace CRUD to use the same approach as partitions (#11633) 2021-12-01 11:04:02 +00:00
services ui: [BUGFIX] Fixes an issue when editing intentions from the service > intentions sub tab (#11937) 2022-01-07 19:09:40 +00:00
error.feature ui: Gracefully recover from non-existent DC errors (#11077) 2021-09-22 18:26:36 +01:00
forwarding.feature ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
index.feature ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
list-blocking.feature ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
list.feature ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
routing-config.feature ui: Create Routing Configurations route and page (#10835) 2021-08-16 12:04:04 -04:00