open-consul/ui/packages/consul-ui/app
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
..
abilities ui: Upgrade AuthDialog (#11913) 2022-01-07 19:08:25 +00:00
adapters ui: [Port] Ensure the tokens default nspace (and partition) is passed thru to the auth endpoint (#11490) 2021-11-11 12:02:29 +00:00
components ui: Upgrade AuthDialog (#11913) 2022-01-07 19:08:25 +00:00
controllers ui: Move nspace CRUD to use the same approach as partitions (#11633) 2021-12-01 11:04:02 +00:00
decorators ui: Serf Health Check warning notice (#10194) 2021-05-13 11:36:51 +01:00
filter/predicates ui: Adds basic support for partition exports to Service listings (#11702) 2021-12-06 11:06:33 +00:00
forms ui: Move nspace CRUD to use the same approach as partitions (#11633) 2021-12-01 11:04:02 +00:00
helpers ui: Support for SSO with Admin Partitions (#11604) 2021-11-24 14:53:12 +00:00
instance-initializers ui: Add XML syntax highlighting to key/value editor (#11785) 2022-01-04 16:24:09 +00:00
locations ui: Add selective no-console eslint rule (#11938) 2022-01-05 16:56:26 +00:00
machines ui: Adds initial CRUD for partitions (#11188) 2021-10-08 16:29:30 +01:00
mixins ui: Notifications re-organization/re-style (#11577) 2021-11-24 18:14:07 +00:00
models ui: Adds basic support for partition exports to Service listings (#11702) 2021-12-06 11:06:33 +00:00
modifiers ui: Notifications re-organization/re-style (#11577) 2021-11-24 18:14:07 +00:00
routes ui: Configure routes in route config rather than classes (#11900) 2022-01-05 09:34:28 +00:00
routing ui: Configure routes in route config rather than classes (#11900) 2022-01-05 09:34:28 +00:00
search/predicates ui: Fixup names of Meta for instance search, also add Node (#11774) 2021-12-21 07:00:02 +00:00
serializers ui: Change partitions to expect `[]` from the API (#11791) 2021-12-10 14:41:08 +00:00
services ui: Add selective no-console eslint rule (#11938) 2022-01-05 16:56:26 +00:00
sort/comparators ui: Adds initial CRUD for partitions (#11188) 2021-10-08 16:29:30 +01:00
styles ui: Upgrade AuthDialog (#11913) 2022-01-07 19:08:25 +00:00
templates ui: [BUGFIX] Fixes an issue when editing intentions from the service > intentions sub tab (#11937) 2022-01-07 19:09:40 +00:00
utils ui: Improve error messaging for when we can't make a slug (#11697) 2021-12-06 16:11:57 +00:00
validations ui: Move nspace CRUD to use the same approach as partitions (#11633) 2021-12-01 11:04:02 +00:00
app.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
env.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
formats.js ui: Install ember-intl (#9399) 2020-12-15 18:29:32 +00:00
index.html ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
router.js ui: Configure routes in route config rather than classes (#11900) 2022-01-05 09:34:28 +00:00