Change in ovirt-engine-sdk[sdk_3.3]: codegen, sdk: Use relative paths

juan.hernandez at redhat.com juan.hernandez at redhat.com
Fri Jan 24 19:16:14 UTC 2014


Juan Hernandez 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, 462 insertions(+), 441 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0e39510541e34349fce5a8ad4a643cf65784bccc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_3.3
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