Change in ovirt-engine-sdk[sdk_3.4]: sdk: Use /api if the URL doesn't have a path

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Feb 18 09:55:14 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: sdk: Use /api if the URL doesn't have a path
......................................................................


sdk: Use /api if the URL doesn't have a path

Previous versions of the SDK hardcoded the location of the API, and some
clients rely on that and use URLs that don't have a path. This patch
changes the SDK so that it will automaticallu use /api in that case.

Change-Id: I334ec9b7010b9469dd5be78e51febeda39e404f3
Bug-Url: https://bugzilla.redhat.com/1066036
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit 38dc0765a4c5400ed2cd151ec4fbdff50efa9a9b)
---
M src/codegen/templates/entrypointtemplate
M src/ovirtsdk/api.py
2 files changed, 20 insertions(+), 8 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I334ec9b7010b9469dd5be78e51febeda39e404f3
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_3.4
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>



More information about the Engine-commits mailing list