- Async container deployment with health check polling - Stops previous deployment before starting new one - Configurable memory, CPU, health timeout via application properties - @EnableAsync on application class for Spring async proxy Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
29 lines
1.0 KiB
Java
29 lines
1.0 KiB
Java
package com.cameleer3.server.app;
|
|
|
|
import com.cameleer3.server.app.config.AgentRegistryConfig;
|
|
import com.cameleer3.server.app.config.IngestionConfig;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
/**
|
|
* Main entry point for the Cameleer3 Server application.
|
|
* <p>
|
|
* Scans {@code com.cameleer3.server.app} and {@code com.cameleer3.server.core} packages.
|
|
*/
|
|
@SpringBootApplication(scanBasePackages = {
|
|
"com.cameleer3.server.app",
|
|
"com.cameleer3.server.core"
|
|
})
|
|
@EnableAsync
|
|
@EnableScheduling
|
|
@EnableConfigurationProperties({IngestionConfig.class, AgentRegistryConfig.class})
|
|
public class Cameleer3ServerApplication {
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(Cameleer3ServerApplication.class, args);
|
|
}
|
|
}
|