Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

Tool for syncing component configuration with remote model #14

Closed
robhrt7 opened this issue Feb 4, 2015 · 5 comments
Closed

Tool for syncing component configuration with remote model #14

robhrt7 opened this issue Feb 4, 2015 · 5 comments
Milestone

Comments

@robhrt7
Copy link
Contributor

robhrt7 commented Feb 4, 2015

Apart from standalone tool, for editing component configuration #13, we need sync command, that will send all the updates of local developed component to remote model.

During execution, command will do following actions:

@igord

  1. get properties of the widget from the portal
  2. check index.html(if it exists) for g:preference tag its and modification date
  3. check config file(if it exists) where properties are stored and its modification date
  4. compare values and optionally dates
  5. submit changes to the portal

Subjects for discussion:

  • name of the command
  • default targets for editing files
  • should we have watch task for it, or not
@robhrt7
Copy link
Contributor Author

robhrt7 commented Feb 4, 2015

In my opinion, we should not have watch command for this action, as it could lead to some unexpected remote model changing. Especially, if IDE have auto-save, we don't want to submit not finished configuration and spam server with requests.

@robhrt7 robhrt7 changed the title Tool for syncing component configuration Tool for syncing component configuration with remote model Feb 4, 2015
@igord
Copy link
Collaborator

igord commented Feb 4, 2015

@operatino see #13
All this is solved by one command. There are no 'unexpected' changes as you are always submitting standard REST API xml and you always keep your property data only inside it.

@craigwalkeruk
Copy link
Contributor

I agree,

Also see this strange atribute used for removing properties:
https://my.backbase.com/resources/documentation/portal/5.5.1.1/refc_xsd_type_propertytype.html

markedForDeletion

Igor might be something you could add into the REST API?

On 4 February 2015 at 12:30, Robert Haritonov notifications@github.com
wrote:

In my opinion, we should not have watch command for this action, as it
could lead to some unexpected remote model changing. Especially, if IDE
have auto-save, we don't want to submit not finished configuration and spam
server with requests.

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

@robhrt7
Copy link
Contributor Author

robhrt7 commented Feb 5, 2015

If @igord and @craigwalkeruk don't see any problems with watch process for syncing model with remote, and watch will run only with flag, then I don't have any issues with that.

@igord igord closed this as completed Feb 9, 2015
@robhrt7
Copy link
Contributor Author

robhrt7 commented Feb 9, 2015

@igord, please mention issue number in commit, to link tasks 8242865

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

No branches or pull requests

3 participants