test: add integration tests for runtime management API
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m40s
CI / docker (push) Successful in 4m11s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 37s

- EnvironmentAdminControllerIT: CRUD, access control, default env protection
- AppControllerIT: create, list, JAR upload, viewer access denied
- DeploymentControllerIT: deploy, list, not-found handling
- Fix bean name conflict: rename executor bean to deploymentTaskExecutor

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-07 23:52:07 +02:00
parent 3d20d7a0cb
commit 36e8b2d8ff
5 changed files with 455 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ public class RuntimeBeanConfig {
return new DeploymentService(deployRepo, appService, envService);
}
@Bean(name = "deploymentExecutor")
@Bean(name = "deploymentTaskExecutor")
public Executor deploymentTaskExecutor() {
ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
executor.setCorePoolSize(4);

View File

@@ -63,7 +63,7 @@ public class DeploymentExecutor {
this.envService = envService;
}
@Async("deploymentExecutor")
@Async("deploymentTaskExecutor")
public void executeAsync(Deployment deployment) {
try {
// Stop existing deployment in same environment for same app