Change in ovirt-engine[master]: restapi: Move schema type name generation to "SchemaNames"

juan.hernandez at redhat.com juan.hernandez at redhat.com
Mon Nov 30 18:36:12 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Move schema type name generation to "SchemaNames"
......................................................................


restapi: Move schema type name generation to "SchemaNames"

Currently the method that generates a XML schema type name from an model
name is used only in order to generate XML schema, and it is located in
the "SchemaGenerator" class. In the future this method will also be
needed to generate the RSDL from the model. This patch moves it to the
"SchemaNames" class where it can be used from other places.

Change-Id: I01ceb285527f8a0eb00f70f09990fbcefe5b40b3
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/metamodel/tool/src/main/java/org/ovirt/api/metamodel/tool/SchemaGenerator.java
M backend/manager/modules/restapi/metamodel/tool/src/main/java/org/ovirt/api/metamodel/tool/SchemaNames.java
2 files changed, 28 insertions(+), 27 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I01ceb285527f8a0eb00f70f09990fbcefe5b40b3
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
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: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list