Juan Hernandez has submitted this change and it was merged.
Change subject: codegen: Make URL, user and password configurable
......................................................................
codegen: Make URL, user and password configurable
Currently the main class of the generator hardcodes the URL, the user
name and the password used to connect to the engine in order to retrieve
the XML schema of the entities and the RSDL. This patch makes them
configurable, using the --url, --user and --password command line
options. If these options aren't provided default values are used, so
the class can be used exactly as before.
Change-Id: I95c77cb8dfcdf4d1baeb186376c800d100e923e5
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/Main.java
1 file changed, 33 insertions(+), 5 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/22944
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I95c77cb8dfcdf4d1baeb186376c800d100e923e5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>