Change in ovirt-engine-sdk[master]: codegen: Move Python specific code to its own package

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Mar 3 08:39:41 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: codegen: Move Python specific code to its own package
......................................................................


codegen: Move Python specific code to its own package

This patch creates a new "python" package and moves all the classes that
are specific to the Python code generation into it.

Change-Id: Ie8c433255f861905998ac3bbd74009642583ffc6
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M generator/pom.xml
R generator/src/main/java/org/ovirt/engine/sdk/generator/BrokerRules.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/Location.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/LocationRules.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/RsdlData.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/SchemaRules.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/XsdData.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/Action.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/CodeHolder.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/Collection.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/CollectionExceptions.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/Documentation.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/EntryPoint.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/Import.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/Main.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/Resource.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/RsdlCodegen.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/SubCollection.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/SubResource.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/XsdCodegen.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/BrokersImportsTemplate
C generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/BrokersImportsTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionAddTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionAddTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionGetCapabilitiesTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionGetCapabilitiesTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionGetDisksTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionGetDisksTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionGetNotSearchableTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionGetNotSearchableTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionGetSearchableTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionGetSearchableTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionListCapabilitiesTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionListCapabilitiesTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionListNotSearchableTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionListNotSearchableTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionListSearchableTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionListSearchableTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CollectionTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CopyrightTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/CopyrightTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/EntryPointDynamicMethodTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/EntryPointDynamicMethodTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/EntryPointHeadTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/EntryPointHeadTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/EntryPointMethodsTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/EntryPointMethodsTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/EntryPointStaticMethodTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/EntryPointStaticMethodTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/EntryPointTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/EntryPointTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/FindRootClassTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/FindRootClassTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ParamsImportsTemplate
C generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ParamsImportsTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceActionTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceActionTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceDeleteTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceDeleteTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceDeleteWithBodyAndParamsTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceDeleteWithBodyAndParamsTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceDeleteWithBodyTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceDeleteWithBodyTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceDeleteWithParamsTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceDeleteWithParamsTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceUpdateTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/ResourceUpdateTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubCollectionAddTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubCollectionAddTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubCollectionGetTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubCollectionGetTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubCollectionListTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubCollectionListTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubCollectionListWithParamsTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubCollectionListWithParamsTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubCollectionTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubCollectionTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubResourceDeleteTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubResourceDeleteTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubResourceDeleteWithBodyTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubResourceDeleteWithBodyTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubResourceDeleteWithUrlParamsAndBodyTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubResourceDeleteWithUrlParamsAndBodyTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubResourceDeleteWithUrlParamsTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubResourceDeleteWithUrlParamsTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubResourceTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubResourceTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubResourceUpdateTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SubResourceUpdateTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SuperAttributesTemplate
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/SuperAttributesTemplate.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/utils/HeaderUtils.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/utils/ParamUtils.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/utils/ParamsContainer.java
R generator/src/main/java/org/ovirt/engine/sdk/generator/python/utils/UrlUtils.java
D generator/src/main/java/org/ovirt/engine/sdk/generator/rsdl/templates/ImportsTemplate.java
D generator/src/main/java/org/ovirt/engine/sdk/generator/utils/CollectionsUtils.java
D generator/src/main/java/org/ovirt/engine/sdk/generator/xsd/templates/ImportsTemplate.java
101 files changed, 176 insertions(+), 239 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie8c433255f861905998ac3bbd74009642583ffc6
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list