- Swagger @Operation/@Schema 상세 설명 추가 (검색, 필터, 폴리곤 API) - Kafka 조건부 활성화 (KafkaAutoConfiguration exclude + @ConditionalOnProperty) - kafka.enabled=false일 때 Kafka 빈 미생성 (@Nullable 처리) - AisTargetResponseDto에 classType, core20Mmsi 필드 및 @Schema 추가 - ApiResponse에 @Schema 어노테이션 추가 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
631 B
Java
18 lines
631 B
Java
package com.snp.batch;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration;
|
|
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
@SpringBootApplication(exclude = KafkaAutoConfiguration.class)
|
|
@EnableScheduling
|
|
@ConfigurationPropertiesScan
|
|
public class SnpBatchApplication {
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(SnpBatchApplication.class, args);
|
|
}
|
|
}
|