fix: include properties in hasTrace for ProcessorExecution path
Now that cameleer3-common has getInputProperties/getOutputProperties on ProcessorExecution, add the check to the processors_json deserialization path as well. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -91,7 +91,8 @@ public class DetailService {
|
|||||||
List<ProcessorNode> result = new ArrayList<>();
|
List<ProcessorNode> result = new ArrayList<>();
|
||||||
for (ProcessorExecution p : executions) {
|
for (ProcessorExecution p : executions) {
|
||||||
boolean hasTrace = p.getInputBody() != null || p.getOutputBody() != null
|
boolean hasTrace = p.getInputBody() != null || p.getOutputBody() != null
|
||||||
|| p.getInputHeaders() != null || p.getOutputHeaders() != null;
|
|| p.getInputHeaders() != null || p.getOutputHeaders() != null
|
||||||
|
|| p.getInputProperties() != null || p.getOutputProperties() != null;
|
||||||
ProcessorNode node = new ProcessorNode(
|
ProcessorNode node = new ProcessorNode(
|
||||||
p.getProcessorId(), p.getProcessorType(),
|
p.getProcessorId(), p.getProcessorType(),
|
||||||
p.getStatus() != null ? p.getStatus().name() : null,
|
p.getStatus() != null ? p.getStatus().name() : null,
|
||||||
|
|||||||
Reference in New Issue
Block a user