Interface EmulatorEdgeRuntime
- All Known Implementing Classes:
DefaultEmulatorEdgeRuntime
public interface EmulatorEdgeRuntime
Shared nginx edge in front of MiniStack/LocalStack host-published ECS ports.
Lifecycle is owned by EmulatorEdgeLifecycle and by EmulatorLifecycle
companion orchestration (start/stop/restart with the emulator).
-
Method Summary
Modifier and TypeMethodDescriptionEnsure the edge is running, then reconcile routes.booleanbooleanvoidrebuild()Remove container and recreate (same image; refresh bind mounts).Rewrite vhosts from Docker publishes and reload if the container is running.voidreload()default voidrestart()voidstart()voidstop()
-
Method Details
-
containerName
String containerName() -
browserUrl
URI browserUrl() -
start
- Throws:
IOException
-
stop
- Throws:
IOException
-
restart
- Throws:
IOException
-
rebuild
Remove container and recreate (same image; refresh bind mounts).- Throws:
IOException
-
reload
- Throws:
IOException
-
reconcile
Rewrite vhosts from Docker publishes and reload if the container is running.- Throws:
IOException
-
ensureRunningAndReconcile
Ensure the edge is running, then reconcile routes. Used after emulator start and after local deploys so Host routing stays current without a separate step.- Throws:
IOException
-
isRunning
- Throws:
IOException
-
isHealthy
boolean isHealthy()
-