In the sample deployer-conf.xml of the Experience Optimization the following is stated:
Add the following pipelines after the existing "PostCommit" pipelines
Xml fragment below for reference:
<!-- Add the following pipelines after the existing "PostCommit" pipelines -->
<Pipeline Id="Tridion-Process-PostCommit" Action="Deploy" Verb="Process">
<Steps>
<Step Id="SmartTargetDeploy" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Class="com.tridion.smarttarget.deployer.FredhopperDeployerModule" Type="SmartTargetDeploy">
<Transformer Class="com.tridion.deployer.TCDLTransformer"/>
</Module>
</Step>
</Steps>
</Pipeline>
<Pipeline Id="Tridion-Undeploy-PostCommit" Action="Undeploy" Verb="Process">
<Steps>
<Step Id="SmartTargetUndeploy" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
<Module Class="com.tridion.smarttarget.deployer.FredhopperUndeployModule" Type="SmartTargetUndeploy"/>
</Step>
</Steps>
</Pipeline>
On the other hand, the official documentation HERE states to "add it to the end of the pipelines" which is different from the instructions from the sample xml:
Add the following Pipeline section for deployment below the last Pipeline section in the file:
So my questions would be:
- What exaclty defines a pipeline as "post-commit", its
Verb
, because in a vanilla Deployer they are none with "post-commit", onlyPreCommit
andCommit
? Some Pipelines also have (pre)commit in their Ids but I doubt that this is meant by the instructions. - Based on the instructions form the sample config, am I right to assume that this needs to be added after the following fragment, or is the instruction from the official docs the correct place?
Pipelines fragment:
<Pipeline Id="Tridion-Commit-TX" Action="Deploy,Undeploy" Verb="Commit">
<Steps>
<Step Id="TridionCommitStep">
<RetryPoint PipelineId="Tridion-PreCommit-TX" StepId="TridionPreCommitStep"/>
</Step>
</Steps>
</Pipeline>