Class CloudForgeDeployment
java.lang.Object
com.cloudforgeci.api.deploy.CloudForgeDeployment
Central deploy façade for MiniStack, LocalStack, and (as of the
deploy:create/
deploy:catalog work) direct-to-AWS.
The AWS case is deliberately the simplest of the three: no template adaptation (real ALB/
Route53 need no local port-remapping), no LocalSameApplicationStackReplacer (auto-
deleting a caller's other AWS stacks on redeploy is a MiniStack/LocalStack local-resource
convenience, not a safe default against real infrastructure — #replaceSameApplication() is ignored for this target), no emulator-edge reconciliation. See
AwsDirectDeployer for the actual CloudFormation mechanics and the CloudForge stack
tagging every AWS deploy applies.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeploymentResultdeploy(DeploymentRequest request) static DeploymentResultdeploy(DeploymentRequest request, StackProgressListener listener) Same asdeploy(DeploymentRequest), additionally reporting each CloudFormation stack event tolisteneras it happens for anDeploymentTarget.AWSrequest (ignored for MiniStack/LocalStack targets, which never callAwsDirectDeployer).
-
Method Details
-
deploy
- Throws:
IOException
-
deploy
public static DeploymentResult deploy(DeploymentRequest request, StackProgressListener listener) throws IOException Same asdeploy(DeploymentRequest), additionally reporting each CloudFormation stack event tolisteneras it happens for anDeploymentTarget.AWSrequest (ignored for MiniStack/LocalStack targets, which never callAwsDirectDeployer).- Throws:
IOException
-