On 01/11/2017 10:30 AM, Daniel Henrique Barboza wrote:
On 01/10/2017 01:48 PM, Lucio Correia wrote:
>
>>
>> - To make the changes effective we need to reboot WoK after
>> enabling/disabling
>> a plug-in. This can be done by either rebooting WoK in the same PUT
>> operation I
>> mentioned above or by a new 'reboot' API in WoK. I am more fond of a
>> new
>> API
>> but I can live with this 'super PUT' API too.
>>
>>
>
> I like the idea. My only suggestion is to name that new API "reload"
> (or "refresh") instead of "reboot".
Ok! I believe 'reload' is more suitable.
Now, I have another question: how should I develop this API? Should I
create
a 'server' resource and put the 'reload' POST action in it?
Maybe add that action to /config API.
POST /config/reload (?)
Daniel
>
>
> Cheers,
>
_______________________________________________
Kimchi-devel mailing list
Kimchi-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel