test: add integration tests for runtime management API
- 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:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user