SamCooper / COMMON_SPEC_RIDS

1 stars 0 forks source link

[Configuration service] What should the source of the config switched event be if the body indicates failure to switch configs? #113

Closed apinder closed 5 years ago

apinder commented 5 years ago

The ConfigurationSwitched event emitted as a result of the Activate operation has a boolean body indicating success or failure, the source relation is defined in the spec as referencing the last activated configuration.

Normal successful execution should link to the last activated configuration in the source of the config switched event, if it fails to switch do we set this instead to the current config (as we never switched) or to null?

lacourte commented 5 years ago

As it is not defined in the spec, I assume any value is valid. I do not check this in the tests.

apinder commented 5 years ago

I've updated this to be NULL in the spec