[OpenOrgsWf] graph construction wf: allow to skip the import openorgs node (importOpenorgs true|false)
This commit is contained in:
parent
940556f6d3
commit
7f4e9479ec
|
@ -10,6 +10,11 @@
|
||||||
<value>false</value>
|
<value>false</value>
|
||||||
<description>should import content from the aggregator or reuse a previous version</description>
|
<description>should import content from the aggregator or reuse a previous version</description>
|
||||||
</property>
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>importOpenorgs</name>
|
||||||
|
<value>true</value>
|
||||||
|
<description>should import content from the OpenOrgs database</description>
|
||||||
|
</property>
|
||||||
<property>
|
<property>
|
||||||
<name>contentPath</name>
|
<name>contentPath</name>
|
||||||
<description>path location to store (or reuse) content from the aggregator</description>
|
<description>path location to store (or reuse) content from the aggregator</description>
|
||||||
|
@ -202,10 +207,18 @@
|
||||||
<arg>--dbschema</arg><arg>${dbSchema}</arg>
|
<arg>--dbschema</arg><arg>${dbSchema}</arg>
|
||||||
<arg>--nsPrefixBlacklist</arg><arg>${nsPrefixBlacklist}</arg>
|
<arg>--nsPrefixBlacklist</arg><arg>${nsPrefixBlacklist}</arg>
|
||||||
</java>
|
</java>
|
||||||
<ok to="ImportDB_openorgs"/>
|
<ok to="should_import_openorgs"/>
|
||||||
<error to="Kill"/>
|
<error to="Kill"/>
|
||||||
</action>
|
</action>
|
||||||
|
|
||||||
|
<decision name="should_import_openorgs">
|
||||||
|
<switch>
|
||||||
|
<case to="ImportDB_openorgs">${wf:conf('importOpenorgs') eq true}</case>
|
||||||
|
<case to="ImportODF">${wf:conf('importOpenorgs') eq false}</case>
|
||||||
|
<default to="ImportDB_openorgs"/>
|
||||||
|
</switch>
|
||||||
|
</decision>
|
||||||
|
|
||||||
<action name="ImportDB_openorgs">
|
<action name="ImportDB_openorgs">
|
||||||
<java>
|
<java>
|
||||||
<prepare>
|
<prepare>
|
||||||
|
|
Loading…
Reference in New Issue