Change in ovirt-engine[master]: restapi: Update to model 4.1.13 and metamodel 1.1.5

juan.hernandez at redhat.com juan.hernandez at redhat.com
Fri Sep 23 07:57:11 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Update to model 4.1.13 and metamodel 1.1.5
......................................................................


restapi: Update to model 4.1.13 and metamodel 1.1.5

The more relevant changes in the new version of the model are the
following:

* Add the `sparsify` method to `DiskService`.

* Add the `discardMaxSize` and `discardZeroesData` to the `LogicalUnit`
  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.

The more relevant change in the new version of the metamodel is that it
supports custom attributes in the generated AsciiDoc, and we actually
use the "product-name" and "engine-name" attributes to support branding
of the documentation. That means that we need to add "product.name" and
"engine.name" properties to the maven build, so that we will be able to
produce an engine with branded documentation using those properties. For
example, Red Hat could use this mechanism to use "RHV" instead of
"oVirt" and "RHV Manager" instead of "oVirt Engine":

  $ mvn clean install \
  -Dproduct.name='RHV' \
  -Dengine.name='RHV Manager'

Change-Id: I13f46b544f8127438746ca4314e6d6fbf45a103a
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/pom.xml
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendDiskResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/adapters/V3SSHInAdapter.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/adapters/V3SshOutAdapter.java
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/HostMapper.java
M pom.xml
7 files changed, 27 insertions(+), 18 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests
  Shmuel Leib Melamud: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I13f46b544f8127438746ca4314e6d6fbf45a103a
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Shmuel Leib Melamud <smelamud at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list