Change in ovirt-engine-sdk-ruby[sdk_4.0]: Update to model 4.0.37 and metamodel 1.0.21
by juan.hernandez@redhat.com
Juan Hernandez has submitted this change and it was merged.
Change subject: Update to model 4.0.37 and metamodel 1.0.21
......................................................................
Update to model 4.0.37 and metamodel 1.0.21
The more relevant changes in the new version of the model are the
following:
* Add `gluster` value to the `NetworkUsage` enum.
* Add `force` parameter to the operation that updates a storage server
connection.
* Move the `quota` link from the `Vm` type to the `VmBase` type.
* Fix the type of the `ticket` parameter of the `VmService.ticket`
method.
* Fix the type of the `authentication_method` attribute of the `Ssh`
type.
* Rename the `AuthenticationMethod` enum type to `SshAuthenticationMethod`.
* Fix the name of the `exclusive` parameter o the `TemplateService.export`
method.
* Add the missing `cluster` parameter to the `OpenstackImageService.import`
method.
* Add services to support disk attachments of virtual machines available
for import from storage domains.
* Add missing `template` and `storage_domain` parameters to the
operation that imports an image.
* Add the `next_run` parameter to the operation that updates a virtual
machine.
* Add the `all_content` parameters to the operations that list and
retrieve virtual machines.
Change-Id: I1eb963e70c6e9e668fb7d9f81bc1a13933a3f752
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M pom.xml
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/65551
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1eb963e70c6e9e668fb7d9f81bc1a13933a3f752
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
8 years, 3 months
Change in ovirt-engine-sdk-ruby[sdk_4.0]: Update CHANGES.adoc for release 4.0.6
by juan.hernandez@redhat.com
Juan Hernandez has submitted this change and it was merged.
Change subject: Update CHANGES.adoc for release 4.0.6
......................................................................
Update CHANGES.adoc for release 4.0.6
This patch updates the CHANGES.adoc file, documenting the relevant
changes in release 4.0.6.
Change-Id: I846cf068582c7391dacb9e694e4ba7fc67a60e08
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M sdk/CHANGES.adoc
1 file changed, 43 insertions(+), 0 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/65552
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I846cf068582c7391dacb9e694e4ba7fc67a60e08
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
8 years, 3 months
Change in ovirt-engine-sdk-ruby[sdk_4.0]: [maven-release-plugin] prepare for next development iteration
by juan.hernandez@redhat.com
Juan Hernandez has submitted this change and it was merged.
Change subject: [maven-release-plugin] prepare for next development iteration
......................................................................
[maven-release-plugin] prepare for next development iteration
Change-Id: I8920e76ab4c2675556d6ca6929f0c392955831ba
---
M generator/pom.xml
M pom.xml
M sdk/pom.xml
3 files changed, 4 insertions(+), 4 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/65554
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8920e76ab4c2675556d6ca6929f0c392955831ba
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
8 years, 3 months
Change in ovirt-engine-sdk-ruby[master]: Update to model 4.1.15 and metamodel 1.1.7
by juan.hernandez@redhat.com
Juan Hernandez has submitted this change and it was merged.
Change subject: Update to model 4.1.15 and metamodel 1.1.7
......................................................................
Update to model 4.1.15 and metamodel 1.1.7
The more relevant changes in the new version of the model are the
following:
* Add missing `template` and `storage_domain` parameters to the
operation that imports an image.
* Add the `next_run` parameter to the operation that updates a virtual
machine.
* Add the `all_content` parameters to the operations that list and
retrieve virtual machines.
Change-Id: I1eb963e70c6e9e668fb7d9f81bc1a13933a3f752
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M pom.xml
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/65555
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1eb963e70c6e9e668fb7d9f81bc1a13933a3f752
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
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: gerrit-hooks <automation(a)ovirt.org>
8 years, 3 months
Change in ovirt-engine[ovirt-engine-4.0.5]: core: convert memory volumes only on active snapshots to dis...
by piotr.kliczewski@gmail.com
Piotr Kliczewski has submitted this change and it was merged.
Change subject: core: convert memory volumes only on active snapshots to disks properly
......................................................................
core: convert memory volumes only on active snapshots to disks properly
We have no vm_configuration on snapshots of type ACTIVE, thus we need
special treatment for this case. The solution is:
- If the same memory resides on both ACTIVE and other than ACTIVE
snapshots, process one of the snapshots that is not ACTIVE.
- If the memory resides only on ACTIVE snapshot, compute its size
according to the values in vm_static rather than in vm_configuration.
Bug-Url: https://bugzilla.redhat.com/1384770
Signed-off-by: Arik Hadas <ahadas(a)redhat.com>
Signed-off-by: Marek Libra <mlibra(a)redhat.com>
Change-Id: I715082f267b5eaa325cc2bb8988b25ac89e3b043
---
M packaging/dbscripts/upgrade/04_00_0140_convert_memory_snapshots_to_disks.sql
1 file changed, 34 insertions(+), 3 deletions(-)
Approvals:
Martin Peřina: Looks good to me, approved
Jenkins CI: Passed CI tests
Michal Skrivanek: Verified; Looks good to me, but someone else must approve
--
To view, visit https://gerrit.ovirt.org/65454
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I715082f267b5eaa325cc2bb8988b25ac89e3b043
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0.5
Gerrit-Owner: Marek Libra <mlibra(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
8 years, 3 months
Change in ovirt-engine[ovirt-engine-4.0]: core: convert memory volumes only on active snapshots to dis...
by piotr.kliczewski@gmail.com
Piotr Kliczewski has submitted this change and it was merged.
Change subject: core: convert memory volumes only on active snapshots to disks properly
......................................................................
core: convert memory volumes only on active snapshots to disks properly
We have no vm_configuration on snapshots of type ACTIVE, thus we need
special treatment for this case. The solution is:
- If the same memory resides on both ACTIVE and other than ACTIVE
snapshots, process one of the snapshots that is not ACTIVE.
- If the memory resides only on ACTIVE snapshot, compute its size
according to the values in vm_static rather than in vm_configuration.
Bug-Url: https://bugzilla.redhat.com/1382746
Signed-off-by: Arik Hadas <ahadas(a)redhat.com>
Signed-off-by: Marek Libra <mlibra(a)redhat.com>
Change-Id: I715082f267b5eaa325cc2bb8988b25ac89e3b043
---
M packaging/dbscripts/upgrade/04_00_0140_convert_memory_snapshots_to_disks.sql
1 file changed, 34 insertions(+), 3 deletions(-)
Approvals:
Martin Peřina: Looks good to me, approved
Jenkins CI: Passed CI tests
Michal Skrivanek: Verified; Looks good to me, but someone else must approve
--
To view, visit https://gerrit.ovirt.org/65453
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I715082f267b5eaa325cc2bb8988b25ac89e3b043
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Marek Libra <mlibra(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
8 years, 3 months
Change in ovirt-engine-sdk-ruby[sdk_4.0]: Convert 'all_content' parameter to 'All-Content' header
by juan.hernandez@redhat.com
Juan Hernandez has submitted this change and it was merged.
Change subject: Convert 'all_content' parameter to 'All-Content' header
......................................................................
Convert 'all_content' parameter to 'All-Content' header
Older versions of the engine (before 4.1) only accepted the
'all_content' parameter as an HTTP header. To better support those
versions of the engine this patch changes the SDK so that when the
'all_content' parameter is specified its value is copied to the
'All-Content' request header. So a request like this:
GET /ovirt-engine/api/vms/123?all_content=true
Will be translated into this:
GET /ovirt-engine/api/vms/123?all_content=true
All-Content: true
Change-Id: I3c15fa5cc60a2c45406d4d892c68d1b6f54d38e1
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit 9dedf6aeb19ef9dedc89ff0212103a8474be134b)
---
M sdk/lib/ovirtsdk4/connection.rb
1 file changed, 11 insertions(+), 1 deletion(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/65535
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3c15fa5cc60a2c45406d4d892c68d1b6f54d38e1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
8 years, 3 months
Change in ovirt-engine-sdk-ruby[sdk_4.0]: Rename http.rb to connection.rb
by juan.hernandez@redhat.com
Juan Hernandez has submitted this change and it was merged.
Change subject: Rename http.rb to connection.rb
......................................................................
Rename http.rb to connection.rb
The http.rb file contains the implementation of the Connection class,
which is mostly independent of the underlying protocol, so connection.rb
is a better name.
Change-Id: Ia01cc15c52aa57002b0f767e5cfd6256f7ef9abf
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit cf9844612c65d746809e73b7efe346c89d48d3e5)
---
M sdk/lib/ovirtsdk4.rb
R sdk/lib/ovirtsdk4/connection.rb
2 files changed, 1 insertion(+), 1 deletion(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/65534
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia01cc15c52aa57002b0f767e5cfd6256f7ef9abf
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
8 years, 3 months
Change in ovirt-engine-sdk-ruby[sdk_4.0]: Implement == and eql? for types
by juan.hernandez@redhat.com
Juan Hernandez has submitted this change and it was merged.
Change subject: Implement == and eql? for types
......................................................................
Implement == and eql? for types
This patch changes the SDK so that struct types implement the '=='
operator and the 'eql?' methods comparing the values of the instance
variables. For example, the '==' operator generated for the
'ExternalVmImport' type is implemented like this:
#
# Returns `true` if `self` and `other` have the same attributes and
# values.
#
def ==(other)
super &&
@cluster == other.cluster &&
@cpu_profile == other.cpu_profile &&
@drivers_iso == other.drivers_iso &&
@host == other.host &&
@name == other.name &&
@password == other.password &&
@provider == other.provider &&
@quota == other.quota &&
@sparse == other.sparse &&
@storage_domain == other.storage_domain &&
@url == other.url &&
@username == other.username &&
@vm == other.vm
end
Change-Id: I945b79ba08fb9add2b47f862962d7487c1378868
Bug-Url: https://bugzilla.redhat.com/1383613
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit 9022c3fae787221175f680939800f0176e564439)
---
M generator/src/main/java/org/ovirt/sdk/ruby/TypesGenerator.java
M sdk/lib/ovirtsdk4/type.rb
M sdk/spec/type_spec.rb
3 files changed, 225 insertions(+), 21 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/65533
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I945b79ba08fb9add2b47f862962d7487c1378868
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
8 years, 3 months
Change in ovirt-engine-sdk-ruby[sdk_4.0]: Don't generate duplicate getters/setters
by juan.hernandez@redhat.com
Juan Hernandez has submitted this change and it was merged.
Change subject: Don't generate duplicate getters/setters
......................................................................
Don't generate duplicate getters/setters
Currently the code generator generates the getters and setters for
attributes without taking into account that they may also be defined in
base classes. This patch fixes that.
Change-Id: I15517c90ccf738518072658746aa4200ded5c636
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit a199906ba48006a272969d0b78f30014e0964826)
---
M generator/src/main/java/org/ovirt/sdk/ruby/TypesGenerator.java
1 file changed, 20 insertions(+), 8 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/65532
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I15517c90ccf738518072658746aa4200ded5c636
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
8 years, 3 months