diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2012-07-06 15:50:45 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2012-07-06 15:50:45 +0200 |
| commit | b53164978a9a264fbe26679c07e32731a4d495f9 (patch) | |
| tree | b0f0335625c4ee11012d51df3da5daae270bdd2f /src/main/resources | |
| parent | 24314dc1699c7e73048fa24e33729f1aa1ec0e86 (diff) | |
Remove XML parsing from module processing, use Castor unmarshalling
instead.
Create module item with collection of imported Items and module XML
registered as an outcome.
Diffstat (limited to 'src/main/resources')
| -rw-r--r-- | src/main/resources/boot/CA/ModuleWorkflow.xml | 100 | ||||
| -rw-r--r-- | src/main/resources/boot/EA/EditModuleDefinition.xml | 1 | ||||
| -rw-r--r-- | src/main/resources/boot/allbootitems.txt | 2 |
3 files changed, 103 insertions, 0 deletions
diff --git a/src/main/resources/boot/CA/ModuleWorkflow.xml b/src/main/resources/boot/CA/ModuleWorkflow.xml new file mode 100644 index 0000000..20ce685 --- /dev/null +++ b/src/main/resources/boot/CA/ModuleWorkflow.xml @@ -0,0 +1,100 @@ +<CompositeActivityDef ID="-1" Name="ModuleWorkflow" Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData StartVertexId="1" NextId="8">
+ <JoinDef ID="6" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="308" y="379"/>
+ <OutlinePoint x="278" y="367"/>
+ <OutlinePoint x="338" y="367"/>
+ <OutlinePoint x="338" y="391"/>
+ <OutlinePoint x="278" y="391"/>
+ <InEdgeId>7</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <LoopDef ID="2" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="322" y="286"/>
+ <OutlinePoint x="292" y="274"/>
+ <OutlinePoint x="352" y="274"/>
+ <OutlinePoint x="352" y="298"/>
+ <OutlinePoint x="292" y="298"/>
+ <InEdgeId>4</InEdgeId>
+ <OutEdgeId>5</OutEdgeId>
+ <OutEdgeId>7</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptName" String=""/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ </Properties>
+ </LoopDef>
+ <JoinDef ID="1" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="308" y="42"/>
+ <OutlinePoint x="278" y="30"/>
+ <OutlinePoint x="338" y="30"/>
+ <OutlinePoint x="338" y="54"/>
+ <OutlinePoint x="278" y="54"/>
+ <InEdgeId>5</InEdgeId>
+ <OutEdgeId>3</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <ActivitySlotDef ID="0" Name="EditModuleDefinition slot" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="206" y="151"/>
+ <OutlinePoint x="141" y="121"/>
+ <OutlinePoint x="271" y="121"/>
+ <OutlinePoint x="271" y="181"/>
+ <OutlinePoint x="141" y="181"/>
+ <InEdgeId>3</InEdgeId>
+ <OutEdgeId>4</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Name" String="EditModuleDefinition"/>
+ <KeyValuePair Key="Version" String="0"/>
+ </Properties>
+ <activityDef>EditModuleDefinition</activityDef>
+ </ActivitySlotDef>
+ <NextDef ID="5" OriginVertexId="2" TerminusVertexId="1">
+ <OriginPoint x="322" y="286"/>
+ <TerminusPoint x="308" y="42"/>
+ <Properties>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="4" OriginVertexId="0" TerminusVertexId="2">
+ <OriginPoint x="206" y="151"/>
+ <TerminusPoint x="322" y="286"/>
+ <Properties/>
+ </NextDef>
+ <NextDef ID="3" OriginVertexId="1" TerminusVertexId="0">
+ <OriginPoint x="308" y="42"/>
+ <TerminusPoint x="206" y="151"/>
+ <Properties/>
+ </NextDef>
+ <NextDef ID="7" OriginVertexId="2" TerminusVertexId="6">
+ <OriginPoint x="322" y="286"/>
+ <TerminusPoint x="308" y="379"/>
+ <Properties>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Description" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Agent Role" String=""/>
+ <KeyValuePair Key="AlwaysUseOutcome" Boolean="false"/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ </Properties>
+</CompositeActivityDef>
\ No newline at end of file diff --git a/src/main/resources/boot/EA/EditModuleDefinition.xml b/src/main/resources/boot/EA/EditModuleDefinition.xml new file mode 100644 index 0000000..04afe4d --- /dev/null +++ b/src/main/resources/boot/EA/EditModuleDefinition.xml @@ -0,0 +1 @@ +<ActivityDef ID="-1" Name="EditModuleDefinition" Height="0" Width="0" IsLayoutable="false" IsComposite="false"><Properties><KeyValuePair Key="Description" String=""/><KeyValuePair Key="Ignorable" Boolean="false"/><KeyValuePair Key="ScriptVersion" String=""/><KeyValuePair Key="Mail Message" String=""/><KeyValuePair Key="Viewpoint" String="last"/><KeyValuePair Key="Agent Name" String=""/><KeyValuePair Key="SchemaVersion" String="0"/><KeyValuePair Key="Skippable" Boolean="false"/><KeyValuePair Key="ScriptName" String=""/><KeyValuePair Key="Mail event" String=""/><KeyValuePair Key="Autostart" Boolean="true"/><KeyValuePair Key="Repeatable" Boolean="false"/><KeyValuePair Key="Show time" Boolean="true"/><KeyValuePair Key="Agent Role" String=""/><KeyValuePair Key="AlwaysUseOutcome" Boolean="false"/><KeyValuePair Key="SchemaType" String="Module"/></Properties></ActivityDef>
\ No newline at end of file diff --git a/src/main/resources/boot/allbootitems.txt b/src/main/resources/boot/allbootitems.txt index 09a98b8..810d5ee 100644 --- a/src/main/resources/boot/allbootitems.txt +++ b/src/main/resources/boot/allbootitems.txt @@ -13,8 +13,10 @@ EA/EditSchema EA/EditScriptDefinition
EA/CreateNewItem
EA/CreateNewAgent
+EA/EditModuleDefinition
CA/NoWorkflow
CA/ServerItemWorkflow
+CA/ModuleWorkflow
CA/ManageCompositeActDef
CA/ManageElementaryActDef
CA/ManageSchema
|
