Change in ovirt-engine-sdk[master]: codegen, sdk: Use relative paths

mishka8520 at yahoo.com mishka8520 at yahoo.com
Mon Jan 20 16:00:22 UTC 2014


Michael Pasternak has submitted this change and it was merged.

Change subject: codegen, sdk: Use relative paths
......................................................................


codegen, sdk: Use relative paths

Currently the SDK assumes that resources are located in the /api URL,
but this might not be true, depending on the configuration of the
server. This patch changes the SDK to use relative paths for all
resources, so it will work with servers configured with any entry point
URL.

Change-Id: I0e39510541e34349fce5a8ad4a643cf65784bccc
Bug-Url: https://bugzilla.redhat.com/1038952
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M src/codegen/collection/collection.py
M src/codegen/collection/collectionexceptions.py
M src/codegen/entrypoint/entrypoint.py
M src/codegen/rsdl/rsdlcodegen.py
M src/codegen/templates/collectiongetcapabilitiestemplate
M src/codegen/templates/collectionlistcapabilitiestemplate
M src/codegen/templates/entrypointdyinamicmethodtemplate
M src/codegen/templates/entrypointmethodstemplate
M src/codegen/templates/entrypointtemplate
M src/codegen/utils/urlutils.py
M src/codegen/xsd/abstractxsdcodegen.py
M src/codegen/xsd/genparams.py
M src/ovirtsdk/api.py
M src/ovirtsdk/infrastructure/brokers.py
M src/ovirtsdk/infrastructure/proxy.py
15 files changed, 493 insertions(+), 472 deletions(-)

Approvals:
  Michael Pasternak: Looks good to me, approved
  Juan Hernandez: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0e39510541e34349fce5a8ad4a643cf65784bccc
Gerrit-PatchSet: 3
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: Yedidyah Bar David <didi at redhat.com>



More information about the Engine-commits mailing list