summaryrefslogtreecommitdiff
path: root/src/main/resources/mapFiles/NewEntityMap.xml
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2013-05-17 11:44:46 +0200
committerAndrew Branson <andrew.branson@cern.ch>2013-05-17 11:44:46 +0200
commitbe9aa9c636204051381f4efe4b895dff968f0c4d (patch)
tree71e1c27aecd0c6231a216fb37df039549a53f193 /src/main/resources/mapFiles/NewEntityMap.xml
parentd6919d4772e79c3de3df8a69355b84e1677c011f (diff)
Add Role management support to module, instead of just creating one if
it's not already there. Supports 'jobList' attribute to enable job pushing
Diffstat (limited to 'src/main/resources/mapFiles/NewEntityMap.xml')
-rw-r--r--src/main/resources/mapFiles/NewEntityMap.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/resources/mapFiles/NewEntityMap.xml b/src/main/resources/mapFiles/NewEntityMap.xml
index a5d5006..dcbab09 100644
--- a/src/main/resources/mapFiles/NewEntityMap.xml
+++ b/src/main/resources/mapFiles/NewEntityMap.xml
@@ -124,4 +124,13 @@
<bind-xml name="Property" node="element"/>
</field>
</class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.NewRole">
+ <map-to xml="Role"/>
+ <field name="name" type="string" direct="true">
+ <bind-xml name="name" node="text"/>
+ </field>
+ <field name="jobList" type="boolean" direct="true">
+ <bind-xml name="jobList" node="attribute"/>
+ </field>
+ </class>
</mapping>