Change in ovirt-engine[ovirt-engine-4.0]: restapi: Update to model 4.0.35 and metamodel 1.0.20

tnisan at redhat.com tnisan at redhat.com
Sun Sep 25 09:35:43 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: restapi: Update to model 4.0.35 and metamodel 1.0.20
......................................................................


restapi: Update to model 4.0.35 and metamodel 1.0.20

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

* 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/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
6 files changed, 21 insertions(+), 17 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I13f46b544f8127438746ca4314e6d6fbf45a103a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>



More information about the Engine-commits mailing list