All DPU instances should have an option to choose
- whether they should have the same settings as the template they come from - when template settings changes, so does theirs
- whether they should have their own settings - when DPU template settings changes, their does not.
This should be realized by a checkbox that switches this behavior.
Minimalistic version is a button that propagates template settings to all instances. It can use the DPU template ID in the following simple SQL query:
UPDATE unifiedviews.dpu_instance AS t JOIN unifiedviews.dpu_template AS s on s.id = <DPU TEMPLATE ID>
SET t.configuration = s.configuration
WHERE t.dpu_id = s.id;
All DPU instances should have an option to choose
This should be realized by a checkbox that switches this behavior.
Minimalistic version is a button that propagates template settings to all instances. It can use the DPU template ID in the following simple SQL query: