Ondra Machacek has submitted this change and it was merged.
Change subject: Update to version 4.0.17 model and 1.0.11 of metamodel
......................................................................
Update to version 4.0.17 model and 1.0.11 of metamodel
The more relevant changes in this new version of the model is that the
"Status" type has been removed, and replaced by enums or strings. So the
tests and examples need to be updated to use "whatever.status()" instead
of "whatever.status().state()".
The patch also fixes some things that didn't work correctly in some of
the examples.
Change-Id: Iadbfc4b76342ddff7fb62447ceaa0dc8a0db9ce2
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M pom.xml
M sdk/src/test/java/org/ovirt/engine/sdk4/ActionReaderTest.java
M sdk/src/test/java/org/ovirt/engine/sdk4/examples/AddHost.java
M sdk/src/test/java/org/ovirt/engine/sdk4/examples/AddNfsDataStorageDomain.java
M sdk/src/test/java/org/ovirt/engine/sdk4/examples/AddNfsIsoStorageDomain.java
M sdk/src/test/java/org/ovirt/engine/sdk4/examples/AddVmDisk.java
M sdk/src/test/java/org/ovirt/engine/sdk4/examples/AddVmNic.java
M sdk/src/test/java/org/ovirt/engine/sdk4/examples/AttachNfsDataStorageDomain.java
M sdk/src/test/java/org/ovirt/engine/sdk4/examples/AttachNfsIsoStorageDomain.java
M sdk/src/test/java/org/ovirt/engine/sdk4/examples/FollowVmLinks.java
M sdk/src/test/java/org/ovirt/engine/sdk4/examples/ListVms.java
M sdk/src/test/java/org/ovirt/engine/sdk4/examples/RemoveHost.java
M sdk/src/test/java/org/ovirt/engine/sdk4/examples/StartVm.java
M sdk/src/test/java/org/ovirt/engine/sdk4/examples/StopVm.java
14 files changed, 102 insertions(+), 98 deletions(-)
Approvals:
Ondra Machacek: Looks good to me, approved
Juan Hernandez: Verified
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/57427
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iadbfc4b76342ddff7fb62447ceaa0dc8a0db9ce2
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>