Change in ovirt-engine-sdk-ruby[master]: Add path locator methods

juan.hernandez at redhat.com juan.hernandez at redhat.com
Mon Jan 18 18:33:46 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: Add path locator methods
......................................................................


Add path locator methods

This patch adds a "service" method to the connection and to all the
service implementations. This method receives a string parameter
containing the path to a service, for example "vms/123/disks" and
returns a reference to the corresponding service implementation.

The new method is intended to be part of the implementation of link
following that will be added by later patches.

Change-Id: Id16f8b320b27ea1ad347dc116d0f2653b3f72d57
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M generator/src/main/java/org/ovirt/sdk/ruby/ServicesGenerator.java
M sdk/lib/ovirt/sdk/v4/connection.rb
M sdk/spec/connection_spec.rb
3 files changed, 146 insertions(+), 2 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/52345
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id16f8b320b27ea1ad347dc116d0f2653b3f72d57
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list