Constructor and description |
---|
WorkFlow
(DeployDBApp app) |
Type | Name and description |
---|---|
void |
initializeDao() |
void |
initializeRegistry() Instantiate DAO objects |
void |
loadConfigModels(java.lang.String baseConfigDirName) Read configuration into each model |
void |
loadConfigModelsCommon(java.lang.String modelDirName, groovy.lang.Closure c) Instantiate registries for in memory storage |
void |
triggerArtifactCreated(Artifact artifact) Instantiate new registries for in memory storage. |
void |
triggerDeploymentCompleted(Deployment deployment) Work flow for deployment completed |
void |
triggerDeploymentCreated(Flow flow) Work flow for deployment created |
void |
triggerDeploymentFailed(Deployment deployment) Work flow for deployment failed |
void |
triggerDeploymentStarted(Deployment deployment) Work flow for deployment started |
void |
triggerPromotionFailed(Deployment deployment, PromotionResult promotionResult) Work flow for promotion failed |
void |
triggerPromotionSuccess(Deployment deployment, PromotionResult promotionResult) Work flow for promotion success |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Instantiate DAO objects
Read configuration into each model Throws an exception if dependency between models fails
Instantiate registries for in memory storage
Instantiate new registries for in memory storage. We will overwrite the older registries in the end
Work flow for deployment completed Updates the deployment status to note a forward progress
Work flow for deployment created This is an internal trigger fired when deployment is verified (success/failed) OR when artifact is created
Work flow for deployment failed Mark the deployment and flow with failure
Work flow for deployment started Updates the deployment status to note a forward progress
Work flow for promotion failed Update the deployment and flow with failed status
Work flow for promotion success Add promotion results to deployment. Updates deployment/flow when last promotion has succeeded