Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to propagate DPU template settings to all/selected instances #132

Closed
jakubklimek opened this issue Aug 22, 2014 · 5 comments
Closed

Comments

@jakubklimek
Copy link

All DPU instances should have an option to choose

  1. whether they should have the same settings as the template they come from - when template settings changes, so does theirs
  2. 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;
@skrchnavy
Copy link

Proposed solution (as discussed via skype)

  • checkbox in DPU instance to switch between configuration from template and from instance
  • when checked, instance configuration is displayed but is not editable.
  • Instance configuration is not updated when tempolate configuration is used
  • 'Copy from template' button allows user to replace instance configuration with template configuration.

@skodapetr
Copy link
Member

Just a note: rather then "not editable" I would use term "can not be saved".
As configuration dialog is created and managed by DPU, disabling every component may be possible but seems to me like unnecessary effort.

A label that announce fact that this is "read only" dialog, may also be considered.

@skodapetr
Copy link
Member

I merged this feature into developUK and it looks like it's OK - besides some dialog miss layouts. We will test it as soon as we deploy developUK.

@ghost
Copy link

ghost commented Oct 31, 2014

import export!

On 10/31/2014 03:20 PM, Petr Škoda wrote:

I merged this feature into developUK and it looks like it's OK -
besides some dialog miss layouts. We will test it as soon as we deploy
developUK.


Reply to this email directly or view it on GitHub
#132 (comment).

@skrchnavy skrchnavy added this to the Release v1.5.0 milestone Jan 27, 2015
@skrchnavy
Copy link

fixed in beec69c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants