Michael Pasternak has posted comments on this change.

Change subject: restapi: Add new action - reloadconfigurations
......................................................................


Patch Set 1: Do not submit

i don't like this resolution for your use-case, 

1. having this done via api means that you will have
   to store authorisation credentials in your script.

2. if api is must: it should be implemented using rest
   principals:

2.1 GET|PUT(update) api/configuration
2.2 POST(action) api/configuration/reload
    2.2.1 alternatively reload() can happen on get()
          request as we do with files on ISO domain 
(i prefer 2.2.1 is sake of consistency, but if it too heavy/risky/bug prone - 
2.2 also works)

--
To view, visit http://gerrit.ovirt.org/4503
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I47002df34e91270985780f742cb9e857382c15c1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Muli Salem <msa...@redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com>
Gerrit-Reviewer: Ori Liel <ol...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to