fix: register JavaTimeModule on DetailService ObjectMapper
Same issue as IngestionService — the ObjectMapper deserializing processors_json lacked JavaTimeModule, causing Instant parsing to fail silently and falling back to the broken flat reconstruction. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,7 @@ import java.util.*;
|
|||||||
public class DetailService {
|
public class DetailService {
|
||||||
|
|
||||||
private static final ObjectMapper JSON = new ObjectMapper()
|
private static final ObjectMapper JSON = new ObjectMapper()
|
||||||
|
.findAndRegisterModules()
|
||||||
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
||||||
private static final TypeReference<Map<String, String>> STR_MAP = new TypeReference<>() {};
|
private static final TypeReference<Map<String, String>> STR_MAP = new TypeReference<>() {};
|
||||||
private static final TypeReference<List<ProcessorExecution>> PROCESSOR_EXEC_LIST = new TypeReference<>() {};
|
private static final TypeReference<List<ProcessorExecution>> PROCESSOR_EXEC_LIST = new TypeReference<>() {};
|
||||||
|
|||||||
Reference in New Issue
Block a user