Change in ovirt-engine-sdk-ruby[master]: Add builtin types to the model

juan.hernandez at redhat.com juan.hernandez at redhat.com
Sat Feb 27 18:52:00 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: Add builtin types to the model
......................................................................


Add builtin types to the model

Currently the SDK contains types and reader written manually for the
"Fault" and "Action" builtin types. This patch changs the code generator
so that it adds the definitions of these types to the model before
generating the code. As a result the types and readers are also
generated automatically, so there is no need to write them manually.

Change-Id: Id2a08df2f12aa29a4f412443275e8d2667f1a13e
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M generator/src/main/java/org/ovirt/sdk/ruby/Tool.java
M sdk/lib/ovirt/sdk/v4.rb
D sdk/lib/ovirt/sdk/v4/action.rb
D sdk/lib/ovirt/sdk/v4/action_reader.rb
D sdk/lib/ovirt/sdk/v4/fault.rb
D sdk/lib/ovirt/sdk/v4/fault_reader.rb
6 files changed, 68 insertions(+), 184 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id2a08df2f12aa29a4f412443275e8d2667f1a13e
Gerrit-PatchSet: 2
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