public class TridionUnzipStep extends Object implements ExecutableStep
This step should run in Bootstrap pipeline in order to resolve action and verbs at the beginning. Verbs are
determined by parsing package type from file name (Binary Id) and reading transaction.xml in unzipped
content. On the other hand, action is determined by reading instructions.xml in unzipped content.
Once this step unzips the binary file, it stores unzipped content in
TridionConstants.DIRECTORY_UNZIP
directory in BinaryStorage.
Problematic cases are:
StepDataProvider. If there
are multiple entries found for same Execution Id and this key, then an ProcessingException is thrown
and execution is stopped.tcm: URI. If file name is not proper,
then an ProcessingException is thrown and execution is stopped.true then BinaryStorage is checked for corresponding wait package.
If not found, then an ProcessingException is thrown and execution is stopped.ProcessingException is thrown and execution is stopped.
Also unzipped content in BinaryStorage is deleted.The ExecutableStepResult produced by this step contains following properties:
java.util.Set<String>StringStringRETRY_POINT_ELEMENT| Constructor and Description |
|---|
TridionUnzipStep() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.sdl.delivery.configuration.Configuration configuration)
Configure the 'Executable Step' with the given configuration.
|
com.sdl.delivery.deployer.legacy.transport.LegacyTransportStateHelper |
getLegacyTransportStateHelper() |
ExecutableStepResult |
process(ProcessingContext context,
StepDataProvider provider)
Actual processing logic to execute in the scope of the 'pipeline step'.
|
void |
setLockRepository(org.springframework.integration.jdbc.lock.LockRepository lockRepository) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitretryPoint@Autowired public void setLockRepository(org.springframework.integration.jdbc.lock.LockRepository lockRepository)
public void configure(com.sdl.delivery.configuration.Configuration configuration)
throws com.sdl.delivery.configuration.ConfigurationException
ExecutableStepconfigure in interface ExecutableStepconfiguration - The given configuration.com.sdl.delivery.configuration.ConfigurationExceptionpublic ExecutableStepResult process(ProcessingContext context, StepDataProvider provider) throws ProcessingException
ExecutableStepprocess in interface ExecutableStepcontext - Contains information about current execution.provider - Provides access to get step data for a specific deployment execution.ProcessingException - When something went wrong executing the processing logic.public com.sdl.delivery.deployer.legacy.transport.LegacyTransportStateHelper getLegacyTransportStateHelper()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries