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

uber / cadence-java-client / 1991

27 Sep 2023 06:06PM UTC coverage: 60.278% (+0.05%) from 60.226%
1991

push

buildkite

web-flow
fixed bug: Added alreadyStarted workflow case (#853)

If we get WorkflowExecutionAlreadyStartedError while starting workflow in new domain, then we don't require startWorkflowInNew domain again as well as not throw error. Hence, we will inform by giving status as "Workflow already started".

8 of 8 new or added lines in 2 files covered. (100.0%)

11345 of 18821 relevant lines covered (60.28%)

0.6 hits per line

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

0.0
/src/main/java/com/uber/cadence/migration/StartWorkflowInNewResponse.java
1
/*
2
 *  Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
 *
4
 *  Modifications copyright (C) 2017 Uber Technologies, Inc.
5
 *
6
 *  Licensed under the Apache License, Version 2.0 (the "License"). You may not
7
 *  use this file except in compliance with the License. A copy of the License is
8
 *  located at
9
 *
10
 *  http://aws.amazon.com/apache2.0
11
 *
12
 *  or in the "license" file accompanying this file. This file is distributed on
13
 *  an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
 *  express or implied. See the License for the specific language governing
15
 *  permissions and limitations under the License.
16
 */
17

18
package com.uber.cadence.migration;
19

20
import com.uber.cadence.StartWorkflowExecutionResponse;
21

22
public class StartWorkflowInNewResponse {
23
  StartWorkflowExecutionResponse startWorkflowExecutionResponse;
24
  String status;
25

26
  StartWorkflowInNewResponse(StartWorkflowExecutionResponse startWorkflowResponse, String msg) {
×
27
    startWorkflowExecutionResponse = startWorkflowResponse;
×
28
    status = msg;
×
29
  }
×
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc