Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Allowed operations in ACM-participant for the participant developer point of view.

The table show the the allowed values using the "updateAutomationCompositionElementState" method.


Method

StateChangeResult.NO_ERROR
StateChangeResult.FAILED
DeployStateLockStateDeployStateLockState
undeployUNDEPLOYEDnullDEPLOYEDnull
deployDEPLOYEDnullUNDEPLOYEDnull
locknullLOCKEDnullUNLOCKED
unlocknullUNLOCKEDnullLOCKED
deleteDELETEDnullUNDEPLOYEDnull
updateDEPLOYEDnullDEPLOYEDnull
migrateDEPLOYEDnullDEPLOYEDnull

handleRestartInstance
DEPLOYED/UNLOCK

DEPLOYEDUNLOCK

handleRestartInstance
DEPLOYED/LOCK

DEPLOYEDLOCK

handleRestartInstance
DEPLOYING

DEPLOYEDnullUNDEPLOYEDnull

handleRestartInstance
UNDEPLOYING

UNDEPLOYEDnullDEPLOYEDnull

handleRestartInstance
UPDATING

DEPLOYEDnullDEPLOYEDnull

handleRestartInstance
DELETING

DELETEDnullUNDEPLOYEDnull

handleRestartInstance
LOCKING

nullLOCKEDnullUNLOCKED

handleRestartInstance
UNLOCKING

nullUNLOCKEDnullLOCKED

Suggestions
Delete, updeploy and update could be considerate idempotent actions (It depend from the context). As example in a deleting or updating query (if they doesn't contain non-deterministic functional call) are idempotents.


The table show the the allowed values using the "updateCompositionState" method.

MethodStateChangeResult.NO_ERROR
StateChangeResult.FAILED
primePRIMEDCOMMISSIONED
deprimeCOMMISSIONEDPRIMED
handleRestartComposition
PRIMED
PRIMED
handleRestartComposition
PRIMING
PRIMEDCOMMISSIONED
handleRestartComposition
DEPRIMING
COMMISSIONEDPRIMED

Note:
"handleRestartInstance" and "handleRestartComposition" will be deprecated after the implementation of the BD for participants.

  • No labels