• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

temporalio / sdk-java / #431

18 Nov 2026 09:28PM UTC coverage: 71.813% (+0.01%) from 71.8%
#431

push

github

web-flow
Include inherited fields in service stub options toString (#3152)

* Include inherited fields in service stub options toString

WorkflowServiceStubsOptions.toString rendered only the five fields
declared on the subclass, silently dropping every field inherited from
ServiceStubsOptions. Target, TLS settings, timeouts, and headers were
absent from the output, which is exactly the connection information
wanted when diagnosing a client from logs.

OperatorServiceStubsOptions and CloudServiceStubsOptions had no
toString at all and fell back to Object.toString, logging as an
unreadable identity hash.

Extract the field rendering on ServiceStubsOptions into a
package-private toStringFields helper and have each subclass inline it
alongside its own fields. The helper is package-private because all
four classes live in io.temporal.serviceclient, so this adds no public
API surface.

Also include apiKeyProvided, which already participates in equals and
hashCode but was omitted from toString. The API key itself is held by a
metadata provider and is still never rendered.

Fixes #2148.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Render header names instead of header values in toString

Metadata.toString renders header values in the clear. The previous
commit propagated the inherited headers field into
WorkflowServiceStubsOptions, OperatorServiceStubsOptions, and
CloudServiceStubsOptions, which would have newly exposed any credential
supplied through setHeaders, such as a static Authorization header.

Render the header names only. This keeps the diagnostic signal that
matters when reading the output, whether a header is configured and
which ones, without printing what they contain.

Also add a regression test for the missing separator before
congestionInitialInterval in RpcRetryOptions.toString.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Add changelog entry for service stub options toString

Co-Authored-By: Claude Opus 5.5 <noreply@anthro... (continued)

8779 of 14371 branches covered (61.09%)

Branch coverage included in aggregate %.

5 of 6 new or added lines in 4 files covered. (83.33%)

892 existing lines in 36 files now uncovered.

34625 of 46069 relevant lines covered (75.16%)

0.75 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.27
/temporal-testing/src/main/java/io/temporal/testing/internal/TracingWorkerInterceptor.java
1
package io.temporal.testing.internal;
2

3
import static org.junit.Assert.assertNotNull;
4
import static org.junit.Assert.assertTrue;
5

6
import com.uber.m3.tally.Scope;
7
import io.nexusrpc.OperationException;
8
import io.nexusrpc.handler.OperationContext;
9
import io.temporal.activity.ActivityExecutionContext;
10
import io.temporal.client.ActivityCompletionException;
11
import io.temporal.common.SearchAttributeUpdate;
12
import io.temporal.common.interceptors.*;
13
import io.temporal.internal.sync.WorkflowMethodThreadNameStrategy;
14
import io.temporal.workflow.*;
15
import io.temporal.workflow.unsafe.WorkflowUnsafe;
16
import java.lang.reflect.Type;
17
import java.time.Duration;
18
import java.util.*;
19
import java.util.function.BiPredicate;
20
import java.util.function.Supplier;
21
import javax.annotation.Nonnull;
22
import org.slf4j.Logger;
23
import org.slf4j.LoggerFactory;
24

25
public class TracingWorkerInterceptor implements WorkerInterceptor {
26

27
  private static final Logger log = LoggerFactory.getLogger(TracingWorkerInterceptor.class);
1 ✔
28

29
  private final FilteredTrace trace;
30
  private List<String> expected;
31

32
  public TracingWorkerInterceptor(FilteredTrace trace) {
1 ✔
33
    this.trace = trace;
1 ✔
34
  }
1 ✔
35

36
  public String getTrace() {
37
    return String.join("\n", trace.getImpl());
1 ✔
38
  }
39

40
  public void setExpected(String... expected) {
41
    this.expected = Arrays.asList(expected);
1 ✔
42
  }
1 ✔
43

44
  public void assertExpected() {
45
    // As it stands, when the trace is empty but the expected list isn't this still passes.
46
    if (expected != null) {
1 ✔
47
      List<String> traceElements = trace.getImpl();
1 ✔
48
      for (int i = 0; i < traceElements.size(); i++) {
1 ✔
49
        String t = traceElements.get(i);
1 ✔
50
        String expectedRegExp;
51
        if (expected.size() <= i) {
1 !
52
          expectedRegExp = "";
×
53
        } else {
54
          expectedRegExp = expected.get(i);
1 ✔
55
        }
56
        assertTrue(
1 ✔
57
            t
58
                + " doesn't match "
59
                + expectedRegExp
60
                + ": \n expected=\n"
61
                + String.join("\n", expected)
1 ✔
62
                + "\n actual=\n"
63
                + String.join("\n", traceElements)
1 ✔
64
                + "\n",
65
            t.matches(expectedRegExp));
1 ✔
66
      }
67
    }
68
  }
1 ✔
69

70
  @Override
71
  public WorkflowInboundCallsInterceptor interceptWorkflow(WorkflowInboundCallsInterceptor next) {
72
    if (!WorkflowUnsafe.isReplaying()) {
1 ✔
73
      trace.add("interceptExecuteWorkflow " + Workflow.getInfo().getWorkflowId());
1 ✔
74
    }
75
    return new WorkflowInboundCallsInterceptorBase(next) {
1 ✔
76
      @Override
77
      public void init(WorkflowOutboundCallsInterceptor outboundCalls) {
78
        next.init(new TracingWorkflowOutboundCallsInterceptor(trace, outboundCalls));
1 ✔
79
      }
1 ✔
80

81
      @Override
82
      public void handleSignal(SignalInput input) {
83
        trace.add("handleSignal " + input.getSignalName());
1 ✔
84
        super.handleSignal(input);
1 ✔
85
      }
1 ✔
86

87
      @Override
88
      public QueryOutput handleQuery(QueryInput input) {
89
        trace.add("handleQuery " + input.getQueryName());
1 ✔
90
        return super.handleQuery(input);
1 ✔
91
      }
92

93
      @Nonnull
94
      @Override
95
      public Object newWorkflowMethodThread(Runnable runnable, String name) {
96
        if (!WorkflowUnsafe.isReplaying()) {
1 ✔
97
          if (name.startsWith(WorkflowMethodThreadNameStrategy.WORKFLOW_MAIN_THREAD_PREFIX)) {
1 !
98
            // strip the IDs we add to identify WF thread method
99
            trace.add("newThread " + WorkflowMethodThreadNameStrategy.WORKFLOW_MAIN_THREAD_PREFIX);
1 ✔
100
          } else {
101
            trace.add("newThread " + name);
×
102
          }
103
        }
104
        return next.newWorkflowMethodThread(runnable, name);
1 ✔
105
      }
106
    };
107
  }
108

109
  @Override
110
  public ActivityInboundCallsInterceptor interceptActivity(ActivityInboundCallsInterceptor next) {
111
    return new TracingActivityInboundCallsInterceptor(trace, next);
1 ✔
112
  }
113

114
  @Override
115
  public NexusOperationInboundCallsInterceptor interceptNexusOperation(
116
      OperationContext context, NexusOperationInboundCallsInterceptor next) {
117
    return new TracingNexusOperationInboundCallsInterceptor(trace, next);
1 ✔
118
  }
119

120
  public static class FilteredTrace {
1 ✔
121

122
    private final List<String> impl = Collections.synchronizedList(new ArrayList<>());
1 ✔
123

124
    public boolean add(String s) {
125
      log.trace("FilteredTrace isReplaying=" + WorkflowUnsafe.isReplaying());
1 ✔
126
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
127
        return impl.add(s);
1 ✔
128
      }
129
      return true;
1 ✔
130
    }
131

132
    List<String> getImpl() {
133
      return impl;
1 ✔
134
    }
135
  }
136

137
  static class TracingWorkflowOutboundCallsInterceptor implements WorkflowOutboundCallsInterceptor {
138

139
    private final FilteredTrace trace;
140
    private final WorkflowOutboundCallsInterceptor next;
141

142
    private TracingWorkflowOutboundCallsInterceptor(
143
        FilteredTrace trace, WorkflowOutboundCallsInterceptor next) {
1 ✔
144
      WorkflowInfo workflowInfo =
145
          Workflow.getInfo(); // checks that info is available in the constructor
1 ✔
146
      assertNotNull(workflowInfo);
1 ✔
147
      this.trace = trace;
1 ✔
148
      this.next = Objects.requireNonNull(next);
1 ✔
149
    }
1 ✔
150

151
    @Override
152
    public <R> ActivityOutput<R> executeActivity(ActivityInput<R> input) {
153
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
154
        trace.add("executeActivity " + input.getActivityName());
1 ✔
155
      }
156
      return next.executeActivity(input);
1 ✔
157
    }
158

159
    @Override
160
    public <R> LocalActivityOutput<R> executeLocalActivity(LocalActivityInput<R> input) {
161
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
162
        trace.add("executeLocalActivity " + input.getActivityName());
1 ✔
163
      }
164
      return next.executeLocalActivity(input);
1 ✔
165
    }
166

167
    @Override
168
    public <R> ChildWorkflowOutput<R> executeChildWorkflow(ChildWorkflowInput<R> input) {
169
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
170
        trace.add("executeChildWorkflow " + input.getWorkflowType());
1 ✔
171
      }
172
      return next.executeChildWorkflow(input);
1 ✔
173
    }
174

175
    @Override
176
    public <R> ExecuteNexusOperationOutput<R> executeNexusOperation(
177
        ExecuteNexusOperationInput<R> input) {
178
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
179
        trace.add("executeNexusOperation " + input.getService() + " " + input.getOperation());
1 ✔
180
      }
181
      return next.executeNexusOperation(input);
1 ✔
182
    }
183

184
    @Override
185
    public Random newRandom() {
186
      if (!WorkflowUnsafe.isReplaying()) {
×
187
        trace.add("newRandom");
×
188
      }
189
      return next.newRandom();
×
190
    }
191

192
    @Override
193
    public SignalExternalOutput signalExternalWorkflow(SignalExternalInput input) {
194
      if (!WorkflowUnsafe.isReplaying()) {
1 !
195
        trace.add(
1 ✔
196
            "signalExternalWorkflow "
197
                + input.getExecution().getWorkflowId()
1 ✔
198
                + " "
199
                + input.getSignalName());
1 ✔
200
      }
201
      return next.signalExternalWorkflow(input);
1 ✔
202
    }
203

204
    @Override
205
    public CancelWorkflowOutput cancelWorkflow(CancelWorkflowInput input) {
206
      if (!WorkflowUnsafe.isReplaying()) {
1 !
207
        trace.add("cancelWorkflow " + input.getExecution().getWorkflowId());
1 ✔
208
      }
209
      return next.cancelWorkflow(input);
1 ✔
210
    }
211

212
    @Override
213
    public void sleep(Duration duration) {
214
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
215
        trace.add("sleep " + duration);
1 ✔
216
      }
217
      next.sleep(duration);
1 ✔
218
    }
1 ✔
219

220
    @Override
221
    public void sleep(Duration duration, TimerOptions options) {
222
      if (!WorkflowUnsafe.isReplaying()) {
1 !
223
        trace.add("sleep " + duration);
1 ✔
224
      }
225
      next.sleep(duration, options);
1 ✔
226
    }
1 ✔
227

228
    @Override
229
    public boolean await(Duration timeout, String reason, Supplier<Boolean> unblockCondition) {
230
      if (!WorkflowUnsafe.isReplaying()) {
1 !
231
        trace.add("await " + timeout + " " + reason);
1 ✔
232
      }
233
      return next.await(timeout, reason, unblockCondition);
1 ✔
234
    }
235

236
    @Override
237
    public boolean await(
238
        Duration timeout, TimerOptions options, String reason, Supplier<Boolean> unblockCondition) {
239
      if (!WorkflowUnsafe.isReplaying()) {
1 !
240
        trace.add("await " + timeout + " " + reason);
1 ✔
241
      }
242
      return next.await(timeout, options, reason, unblockCondition);
1 ✔
243
    }
244

245
    @Override
246
    public void await(String reason, Supplier<Boolean> unblockCondition) {
247
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
248
        trace.add("await " + reason);
1 ✔
249
      }
250
      next.await(reason, unblockCondition);
1 ✔
251
    }
1 ✔
252

253
    @Override
254
    public Promise<Void> newTimer(Duration duration) {
255
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
256
        trace.add("newTimer " + duration);
1 ✔
257
      }
258
      return next.newTimer(duration);
1 ✔
259
    }
260

261
    @Override
262
    public Promise<Void> newTimer(Duration duration, TimerOptions options) {
263
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
264
        trace.add("newTimer " + duration);
1 ✔
265
      }
266
      return next.newTimer(duration, options);
1 ✔
267
    }
268

269
    @Override
270
    public <R> R sideEffect(Class<R> resultClass, Type resultType, Functions.Func<R> func) {
271
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
272
        trace.add("sideEffect");
1 ✔
273
      }
274
      return next.sideEffect(resultClass, resultType, func);
1 ✔
275
    }
276

277
    @Override
278
    public <R> R sideEffect(
279
        Class<R> resultClass, Type resultType, Functions.Func<R> func, SideEffectOptions options) {
280
      if (!WorkflowUnsafe.isReplaying()) {
1 !
281
        trace.add("sideEffect");
1 ✔
282
      }
283
      return next.sideEffect(resultClass, resultType, func, options);
1 ✔
284
    }
285

286
    @Override
287
    public <R> R mutableSideEffect(
288
        String id,
289
        Class<R> resultClass,
290
        Type resultType,
291
        BiPredicate<R, R> updated,
292
        Functions.Func<R> func) {
293
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
294
        trace.add("mutableSideEffect");
1 ✔
295
      }
296
      return next.mutableSideEffect(id, resultClass, resultType, updated, func);
1 ✔
297
    }
298

299
    @Override
300
    public <R> R mutableSideEffect(
301
        String id,
302
        Class<R> resultClass,
303
        Type resultType,
304
        BiPredicate<R, R> updated,
305
        Functions.Func<R> func,
306
        MutableSideEffectOptions options) {
307
      if (!WorkflowUnsafe.isReplaying()) {
1 !
308
        trace.add("mutableSideEffect");
1 ✔
309
      }
310
      return next.mutableSideEffect(id, resultClass, resultType, updated, func, options);
1 ✔
311
    }
312

313
    @Override
314
    public int getVersion(String changeId, int minSupported, int maxSupported) {
315
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
316
        trace.add("getVersion");
1 ✔
317
      }
318
      return next.getVersion(changeId, minSupported, maxSupported);
1 ✔
319
    }
320

321
    @Override
322
    public int getVersion(
323
        String changeId, int minSupported, int maxSupported, GetVersionOptions options) {
324
      if (!WorkflowUnsafe.isReplaying()) {
1 !
325
        trace.add("getVersion");
1 ✔
326
      }
327
      return next.getVersion(changeId, minSupported, maxSupported, options);
1 ✔
328
    }
329

330
    @Override
331
    public void continueAsNew(ContinueAsNewInput input) {
332
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
333
        trace.add("continueAsNew");
1 ✔
334
      }
UNCOV
335
      next.continueAsNew(input);
×
UNCOV
336
    }
×
337

338
    @Override
339
    public void registerQuery(RegisterQueryInput input) {
340
      String queryType = input.getQueryType();
1 ✔
341
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
342
        trace.add("registerQuery " + queryType);
1 ✔
343
      }
344
      next.registerQuery(
1 ✔
345
          new RegisterQueryInput(
346
              queryType,
347
              input.getDescription(),
1 ✔
348
              input.getArgTypes(),
1 ✔
349
              input.getGenericArgTypes(),
1 ✔
350
              (args) -> {
351
                Object result = input.getCallback().apply(args);
1 ✔
352
                if (!WorkflowUnsafe.isReplaying()) {
1 !
353
                  if (queryType.equals("query")) {
1 ✔
354
                    log.trace("query", new Throwable());
1 ✔
355
                  }
356
                  trace.add("query " + queryType);
1 ✔
357
                }
358
                return result;
1 ✔
359
              }));
360
    }
1 ✔
361

362
    @Override
363
    public void registerSignalHandlers(RegisterSignalHandlersInput input) {
364
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
365
        StringBuilder signals = new StringBuilder();
1 ✔
366
        for (SignalRegistrationRequest request : input.getRequests()) {
1 ✔
367
          if (signals.length() > 0) {
1 ✔
368
            signals.append(", ");
1 ✔
369
          }
370
          signals.append(request.getSignalType());
1 ✔
371
        }
1 ✔
372
        trace.add("registerSignalHandlers " + signals);
1 ✔
373
      }
374
      next.registerSignalHandlers(input);
1 ✔
375
    }
1 ✔
376

377
    @Override
378
    public void registerUpdateHandlers(RegisterUpdateHandlersInput input) {
379
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
380
        StringBuilder updates = new StringBuilder();
1 ✔
381
        for (UpdateRegistrationRequest request : input.getRequests()) {
1 ✔
382
          if (updates.length() > 0) {
1 ✔
383
            updates.append(", ");
1 ✔
384
          }
385
          updates.append(request.getUpdateName());
1 ✔
386
        }
1 ✔
387
        trace.add("registerUpdateHandlers " + updates);
1 ✔
388
      }
389
      next.registerUpdateHandlers(input);
1 ✔
390
    }
1 ✔
391

392
    @Override
393
    public void registerDynamicUpdateHandler(RegisterDynamicUpdateHandlerInput input) {
394
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
395
        trace.add("registerDynamicUpdateHandler");
1 ✔
396
      }
397
      next.registerDynamicUpdateHandler(input);
1 ✔
398
    }
1 ✔
399

400
    @Override
401
    public void registerDynamicSignalHandler(RegisterDynamicSignalHandlerInput input) {
402
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
403
        trace.add("registerDynamicSignalHandler");
1 ✔
404
      }
405
      next.registerDynamicSignalHandler(input);
1 ✔
406
    }
1 ✔
407

408
    @Override
409
    public void registerDynamicQueryHandler(RegisterDynamicQueryHandlerInput input) {
410
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
411
        trace.add("registerDynamicQueryHandler");
1 ✔
412
      }
413
      next.registerDynamicQueryHandler(input);
1 ✔
414
    }
1 ✔
415

416
    @Override
417
    public UUID randomUUID() {
UNCOV
418
      if (!WorkflowUnsafe.isReplaying()) {
×
UNCOV
419
        trace.add("randomUUID");
×
420
      }
UNCOV
421
      return next.randomUUID();
×
422
    }
423

424
    @Override
425
    public void upsertSearchAttributes(Map<String, ?> searchAttributes) {
426
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
427
        trace.add("upsertSearchAttributes");
1 ✔
428
      }
429
      next.upsertSearchAttributes(searchAttributes);
1 ✔
430
    }
1 ✔
431

432
    @Override
433
    public void upsertTypedSearchAttributes(SearchAttributeUpdate<?>... searchAttributeUpdates) {
434
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
435
        trace.add("upsertTypedSearchAttributes");
1 ✔
436
      }
437
      next.upsertTypedSearchAttributes(searchAttributeUpdates);
1 ✔
438
    }
1 ✔
439

440
    @Override
441
    public void upsertTypedSearchAttributes(
442
        UpsertSearchAttributesOptions options, SearchAttributeUpdate<?>... searchAttributeUpdates) {
443
      if (!WorkflowUnsafe.isReplaying()) {
1 !
444
        trace.add("upsertTypedSearchAttributes");
1 ✔
445
      }
446
      next.upsertTypedSearchAttributes(options, searchAttributeUpdates);
1 ✔
447
    }
1 ✔
448

449
    @Override
450
    public void upsertMemo(Map<String, Object> memo) {
UNCOV
451
      if (!WorkflowUnsafe.isReplaying()) {
×
UNCOV
452
        trace.add("upsertMemo");
×
453
      }
UNCOV
454
      next.upsertMemo(memo);
×
UNCOV
455
    }
×
456

457
    @Override
458
    public void upsertMemo(Map<String, Object> memo, UpsertMemoOptions options) {
459
      if (!WorkflowUnsafe.isReplaying()) {
1 !
460
        trace.add("upsertMemo");
1 ✔
461
      }
462
      next.upsertMemo(memo, options);
1 ✔
463
    }
1 ✔
464

465
    @Override
466
    public Scope getMetricsScope() {
UNCOV
467
      if (!WorkflowUnsafe.isReplaying()) {
×
UNCOV
468
        trace.add("getMetricsScope");
×
469
      }
UNCOV
470
      return next.getMetricsScope();
×
471
    }
472

473
    @Override
474
    public Object newChildThread(Runnable runnable, boolean detached, String name) {
475
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
476
        trace.add("newThread " + name);
1 ✔
477
      }
478
      return next.newChildThread(runnable, detached, name);
1 ✔
479
    }
480

481
    @Override
482
    public long currentTimeMillis() {
483
      if (!WorkflowUnsafe.isReplaying()) {
1 ✔
484
        trace.add("currentTimeMillis");
1 ✔
485
      }
486
      return next.currentTimeMillis();
1 ✔
487
    }
488
  }
489

490
  private static class TracingActivityInboundCallsInterceptor
491
      implements ActivityInboundCallsInterceptor {
492

493
    private final FilteredTrace trace;
494
    private final ActivityInboundCallsInterceptor next;
495
    private String type;
496
    private boolean local;
497

498
    public TracingActivityInboundCallsInterceptor(
499
        FilteredTrace trace, ActivityInboundCallsInterceptor next) {
1 ✔
500
      this.trace = trace;
1 ✔
501
      this.next = next;
1 ✔
502
    }
1 ✔
503

504
    @Override
505
    public void init(ActivityExecutionContext context) {
506
      this.type = context.getInfo().getActivityType();
1 ✔
507
      this.local = context.getInfo().isLocal();
1 ✔
508
      next.init(
1 ✔
509
          new ActivityExecutionContextBase(context) {
1 ✔
510
            @Override
511
            public <V> void heartbeat(V details) throws ActivityCompletionException {
512
              trace.add("heartbeat " + details);
1 ✔
513
              super.heartbeat(details);
1 ✔
514
            }
1 ✔
515
          });
516
    }
1 ✔
517

518
    @Override
519
    public ActivityOutput execute(ActivityInput input) {
520
      trace.add((local ? "local " : "") + "activity " + type);
1 ✔
521
      return next.execute(input);
1 ✔
522
    }
523
  }
524

525
  private static class TracingNexusOperationInboundCallsInterceptor
526
      implements NexusOperationInboundCallsInterceptor {
527
    private final NexusOperationInboundCallsInterceptor next;
528
    private final FilteredTrace trace;
529

530
    public TracingNexusOperationInboundCallsInterceptor(
531
        FilteredTrace trace, NexusOperationInboundCallsInterceptor next) {
1 ✔
532
      this.trace = trace;
1 ✔
533
      this.next = next;
1 ✔
534
    }
1 ✔
535

536
    @Override
537
    public void init(NexusOperationOutboundCallsInterceptor outboundCalls) {
538
      next.init(outboundCalls);
1 ✔
539
    }
1 ✔
540

541
    @Override
542
    public StartOperationOutput startOperation(StartOperationInput input)
543
        throws OperationException {
544
      trace.add(
1 ✔
545
          "startNexusOperation "
546
              + input.getOperationContext().getService()
1 ✔
547
              + " "
548
              + input.getOperationContext().getOperation());
1 ✔
549
      return next.startOperation(input);
1 ✔
550
    }
551

552
    @Override
553
    public CancelOperationOutput cancelOperation(CancelOperationInput input) {
554
      trace.add(
1 ✔
555
          "cancelNexusOperation "
556
              + input.getOperationContext().getService()
1 ✔
557
              + " "
558
              + input.getOperationContext().getOperation());
1 ✔
559
      return next.cancelOperation(input);
1 ✔
560
    }
561
  }
562
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc