deployOCC
The deployOCC operation is a partial project deploy operation for use with FlexDeploy's partial deployment system. It deploys packages created by the buildOCC operation to a CX Commerce node using DCU and PLSU.
If the OCC Account and Source OCC Account are the same as the following screenshot, page layouts will be skipped automatically. They will not show up in the deployment files tab.
If the node of the OCC Account matches the node in the .ccc/config.json node property, a dcu --put
command will be used instead of a dcu --transfer
. Note that dcu --put
will check for modification before deployment. You can work around this by either checking in a modified config.json file with a different node (one that is not any of your actual nodes).
Target Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
OCC Account |
| Yes | The Oracle CX Commerce account with all the required properties like URL, App Key etc. The account will be different for each OCC environment. The target node that is receiving the contents of the deployment package. |
Source OCC Account |
| No | A link to an Oracle CX Commerce account with all the required properties like URL, App Key etc. This account designates the source node for the PLSU command. This is only used with Page Layout deployments. Page layout deployments transfer the page layouts directly from the source node to the target node. |
Node Executable Path |
| No | Paths to both node and npm packages (where the dcu/plsu executables are stored). Used in populate, build and deploy operations when provided. If not provided dcu and plsu commands must be on PATH. Windows example: C:\Program Files\nodejs\;C:\Users\developer\AppData\Roaming\npm Unix example: /path/to/node:/path/to/npm |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Publish After Deploy |
| No | Start and monitor a publish operation until complete as part of this deployment. If checked, a publish operation will be started after the deployment is complete, and the plugin operation will block until the publish is complete. |
Artifacts
This operation consumes a zip file artifact from the artifacts repository. The zip file may be empty if only Page Layouts are being transferred. Page Layouts are transferred directly from instance to instance.
Endpoint Selection
This operation will select all available endpoints associated to the Target. You can add any endpoint to Target as this operation does not depend on any external libraries or utilities.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.Â
- style