Hi everyone, 

just a quick update on UI Plugins proof-of-c on cept patch - new patch for 
revision 7 (update 3) is now available. 

You can download and apply latest patches from oVirt Gerrit code review system: 

    * rev is ion 6 - http://gerrit.ovirt.org/#/c/8120/ 
    * rev is ion 7 update 3 - http://gerrit.ovirt.org/#/c/9250/ 
    * REST API session patch: http://gerrit.ovirt.org/#/c/9820/ 


Please read on to learn what's new. 




Engine REST API integration 


REST API session patch (see above) now ensures that new session is acquired 
each time the user logs into WebAdmin, despite the fact that UI plugin 
infrastructure doesn't close existing REST API session on server after user 
logout. This means each user login equals new REST API session, based on 
provided login credentials. This fixes the problem of reusing existing 
(un-closed) session from previous user login. Many thanks to Michael Pasternak 
and Oved Ourfalli for the patch! 



Additionally, known limitation with regard to auto login has been fixed - UI 
plugin infrastructure now remembers REST API session ID on client (using HTML5 
storage / cookie fallback) and uses it for auto login process. UI plugin 
infrastructure assumes that for auto login, REST API session has already been 
acquired (via classic login) and is still active at the time of auto login. 





Updated API function: register 

To make it clear that api.register function should be called exactly once , the 
function behavior has been changed in the following way: 

    * previously, you could call api.register multiple times, last call would 
"win" with regard to passed event handler object 
    * now, you can call api.register only once, subsequent calls will have no 
effect (the event handler object has already been set ) 





Regards, 
Vojtech 


_______________________________________________
Engine-devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-devel

Reply via email to