Juan Hernandez has submitted this change and it was merged.

Change subject: codegen: Support plural exceptions
......................................................................


codegen: Support plural exceptions

Currently we have a set of entity names whose corresponding collection
name isn't formed by just adding an "s" to the end: the name of the
entity and the collection is the same. But we will soon introduce some
entities where the name of the collection can't be derived in this
simple way, in particular we will introduce the SchedulingPolicy entity
and the SchedulingPolicies collection. To support that, this patch
changes the list of collections to a map, so that the name of the entity
and the name of the collection can be different.

Change-Id: I97d45d533e12723426f98dad2874de3945fd483b
Related: https://bugzilla.redhat.com/1114655
Signed-off-by: Juan Hernandez <[email protected]>
---
M src/codegen/rsdl/rsdlcodegen.py
M src/codegen/utils/stringutils.py
2 files changed, 20 insertions(+), 11 deletions(-)

Approvals:
  Martin Sivák: Looks good to me, but someone else must approve
  Juan Hernandez: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/29418
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I97d45d533e12723426f98dad2874de3945fd483b
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Idan Shaby <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Martin Sivák <[email protected]>
Gerrit-Reviewer: [email protected]
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to