[Engine-devel] UI Plugins: PoC patch revision 7 update 3 is now available

------=_Part_16659810_2134251194.1355163009146 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 ------=_Part_16659810_2134251194.1355163009146 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><= div style=3D'font-family: times new roman,new york,times,serif; font-size: = 12pt; color: #000000'>Hi everyone,<br><br>just a quick update on <span id= =3D"DWT4657" class=3D"ZmSearchResult"><span id=3D"DWT4661" class=3D"ZmSearc= hResult"><span id=3D"DWT3745" class=3D"ZmSearchResult">UI</span></span></sp= an> <span id=3D"DWT4659" class=3D"ZmSearchResult"><span id=3D"DWT4663" clas= s=3D"ZmSearchResult"><span id=3D"DWT3747" class=3D"ZmSearchResult">Plugins<= /span></span></span> proof-of-c<span id=3D"DWT4653" class=3D"ZmSearchResult= "><span id=3D"DWT4665" class=3D"ZmSearchResult">on</span></span>cept patch = - new patch for revision 7 (update 3) is now available.<br><br>You can down= load and apply latest <span id=3D"DWT3757" class=3D"ZmSearchResult"></span>= patches from oVirt Gerrit code review system:<br><ul><li>rev<span id=3D"DWT= 3761" class=3D"ZmSearchResult">is</span>ion 6 - <span class=3D"Object" id= =3D"OBJ_PREFIX_DWT3762_com_zimbra_url"><span class=3D"Object" id=3D"OBJ_PRE= FIX_DWT6991_com_zimbra_url"><a target=3D"_blank" href=3D"http://gerrit.ovir= t.org/#/c/8120/">http://gerrit.ovirt.org/#/c/8120/</a></span></span></li><l= i>rev<span id=3D"DWT3764" class=3D"ZmSearchResult">is</span>ion 7 update 3 = - <span class=3D"Object" id=3D"OBJ_PREFIX_DWT3765_com_zimbra_url"><span cla= ss=3D"Object" id=3D"OBJ_PREFIX_DWT6992_com_zimbra_url"><a target=3D"_blank"= href=3D"http://gerrit.ovirt.org/#/c/9250/">http://gerrit.ovirt.org/#/c/925= 0/</a></span></span></li><li><span class=3D"Object" id=3D"OBJ_PREFIX_DWT376= 5_com_zimbra_url"><span class=3D"Object" id=3D"OBJ_PREFIX_DWT6992_com_zimbr= a_url">REST API session patch: http://gerrit.ovirt.org/#/c/9820/</span></sp= an></li></ul><p>Please read on to learn what's new.</p><p><br></p><hr style= =3D"width: 100%; height: 2px;"><br><p><strong>Engine REST API integration</= strong></p><p><br><strong></strong></p><p><strong><span style=3D"font-weigh= t: normal;">REST API session patch (see above) now ensures that new session= is acquired each time the user logs into WebAdmin, despite the fact that <= /span></strong>UI plugin infrastructure doesn't close existing REST API ses= sion on server after user logout. This means each user login equals new RES= T API session, based on provided login credentials. This fixes the problem = of reusing existing (un-closed) session from previous user login. Many than= ks to Michael Pasternak and Oved Ourfalli for the patch!<br></p><p><br></p>= <p>Additionally, known limitation with regard to auto login has been fixed = - <strong><span style=3D"font-weight: normal;"></span></strong>UI plugin in= frastructure now remembers REST API session ID on client (using HTML5 stora= ge / cookie fallback) and uses it for auto login process. <strong><span sty= le=3D"font-weight: normal;"></span></strong>UI plugin infrastructure assume= s that for auto login, REST API session has already been acquired (via clas= sic login) and is still active at the time of auto login.<br><strong><span = style=3D"font-weight: normal;"></span></strong></p><p><br><strong><span sty= le=3D"font-weight: normal;"></span></strong></p><p><strong><span style=3D"f= ont-weight: normal;"></span></strong></p><hr style=3D"width: 100%; height: = 2px;"><br><strong>Updated API function: register</strong><br style=3D"font-= weight: bold;"><br>To make it clear that <em>api.register</em> function sho= uld be called <u>exactly once</u>, the function behavior has been changed i= n the following way:<br><ul><li>previously, you could call <span style=3D"f= ont-style: italic;">api.register</span> multiple times, last call would "wi= n" with regard to passed event handler object</li><li>now, you can call <sp= an style=3D"font-style: italic;">api.register</span> only once, subsequent = calls will have no effect (the event handler object has already been set)<b= r></li></ul><p><br></p><hr style=3D"width: 100%; height: 2px;"><p><br></p>R= egards,<br>Vojtech<br><br><p><strong></strong></p></div></body></html> ------=_Part_16659810_2134251194.1355163009146--
participants (1)
-
Vojtech Szocs