Package com.cloudforge.core.local
package com.cloudforge.core.local
Cross-module contracts for post-synthesis local CloudFormation deployment and emulator lifecycle.
Implementations live in target modules such as cloudforge-ministack
and cloudforge-localstack, registered via LocalEmulatorRuntimeProvider
and StackPortRuntimeProvider. Resolve runtimes with LocalEmulatorRuntimes
and StackPortRuntimes. Shared nginx edge: EmulatorEdgeLifecycle.
CDK synthesis stays in cloudforge-api. See
docs/architecture/module-boundaries-and-refactor.plan.md.
-
ClassDescriptionShared Docker lifecycle for CloudForge local emulators.Shared Docker lifecycle for target-owned StackPort resource browsers.Semantic resource-level diff for canonical CloudFormation templates.Dockerized nginx edge for
*.cloudforge.localhostHost routing.Post-synthesis deployment target for CloudForge templates.Shared Docker CLI helpers for local emulator containers.Command-line entry point forEmulatorEdgeLifecycle— backsscripts/emulator-edge-*.sh.AppliesEmulatorEdgeLifecycleActionto the shared nginx emulator edge.Emulator edge (nginx) lifecycle actions for Maven goals andEmulatorLifecycle.Shared nginx edge in front of MiniStack/LocalStack host-published ECS ports.AppliesEmulatorLifecycleActionto aLocalEmulatorRuntime.Lifecycle operations exposed by Maven goals and programmatic callers.Reconciles local processes required when canonical templates include auth the emulator cannot execute at the load balancer (for example ALB OIDC/Cognito).Deploys adapted CloudFormation templates to a local emulator endpoint.Canonical, adapted, and adaptation-report paths for a local deployment.ResolvesapplicationIdfrom per-stack catalog files underdeployment-contexts/.Stack and artifact naming conventions for local deployment targets.Target-agnostic adapt → deploy → auth-runtime reconcile pipeline.Combined outcome of template adaptation and local CloudFormation deploy.Inputs for adapt-and-deploy against a local emulator target.Outcome of deploying an adapted template to a local emulator endpoint.Canonical Docker and gateway defaults shared by all CloudForge local emulators.Detects host ports already used by local emulator ECS tasks (Docker) or stack outputs (CFN).Resolves on-disk paths used by local emulator runtimes.Docker lifecycle for a local AWS emulator (MiniStack or LocalStack).ServiceLoader entry point forLocalEmulatorRuntimeimplementations in target modules.DiscoversLocalEmulatorRuntimeimplementations registered by target modules.Immutable metadata for a CloudForge-managed local emulator container.Blocks local emulator deploys when the requiredlocalhostport is already in use.A host port already claimed on the local machine by an emulator ECS task or stack output.Resolves the host port a MiniStack Fargate deploy will bind (localhost:port).One CloudFormation resource change from a local deploy change set.Deletes prior local emulator stacks for the same CloudForgeapplicationIdwhen redeploying under a new stack name.Snapshot of LocalStack health, edition, and service availability for adapt/deploy decisions.JSON-friendly projection ofLocalStackCapabilitySnapshotfor health APIs.AWS service areas CloudForge probes on LocalStack before adapt/deploy.LocalStack product tier profile used by the template adapter.Maps CloudFormation resource types to MiniStack support policy.How MiniStack treats a CloudFormation resource type.Lifecycle capability exposed by a local deployment platform.Target-owned platform lifecycle capability, discovered throughServiceLoader.Classpath registry for target-ownedPlatformRuntimeProviderimplementations.Resolves the best "open this application" URL from a deployed stack's CFN outputs.Formats preflight outcomes for CLI and exception messages.How local emulator deploy preflight treats violations.Outcome of a local emulator deploy preflight check.Single preflight finding.AppliesStackPortLifecycleActionto aStackPortRuntime.StackPort lifecycle operations exposed by Maven goals and programmatic callers.Docker lifecycle for a target-owned StackPort resource browser.ServiceLoader entry point forStackPortRuntimeimplementations in target modules.DiscoversStackPortRuntimeimplementations registered by target modules.Metadata for a target-owned StackPort resource browser container.One audited change applied while adapting a canonical template for local deployment.Adapted CloudFormation template plus an explicit adaptation audit trail.Adapts a canonical AWS CloudFormation template for a local emulator target.File-based helpers forTemplateAdapterimplementations.Reads canonical CloudFormation templates for preflight scans.