Change in ovirt-engine-sdk[master]: Automatically replace bad tokens

From Ondra Machacek <omachace@redhat.com>:
Ondra Machacek has submitted this change and it was merged. Change subject: Automatically replace bad tokens ...................................................................... Automatically replace bad tokens Currently when the token used by the SDK is no longer valid, because it is expired or for any other reason, the following requests just fail. The only way to recover is to close the connection and open a new one. That isn't convenient for long running applications. To improve that this patch modifies the SDK so that it automatically replaces bad tokens, requesting new ones from the SSO service. Change-Id: I59e0dfef5a2b38b630a9c95ed19fea005acdf826 Bug-Url: https://bugzilla.redhat.com/1434830 Signed-off-by: Ondra Machacek <omachace@redhat.com> --- M sdk/lib/ovirtsdk4/__init__.py 1 file changed, 17 insertions(+), 4 deletions(-) Approvals: Ondra Machacek: Verified; Looks good to me, approved Juan Hernandez: Looks good to me, but someone else must approve Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/76187 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I59e0dfef5a2b38b630a9c95ed19fea005acdf826 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: master Gerrit-Owner: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review