Change in ovirt-engine-sdk[master]: 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:54:11 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>
---
M src/codegen/templates/entrypointtemplate
M src/ovirtsdk/api.py
2 files changed, 20 insertions(+), 8 deletions(-)

Approvals:
  Michael Pasternak: Looks good to me, approved
  Ravi Nori: Looks good to me, but someone else must approve
  Juan Hernandez: Verified



-- 
To view, visit http://gerrit.ovirt.org/24595
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: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mishka8520 at yahoo.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>



More information about the Engine-commits mailing list