Skip to content

Commit 6a3dad9

Browse files
committed
no major changes: changed because buildkite had problem in building
1 parent a5b5bab commit 6a3dad9

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

src/main/java/com/uber/cadence/migration/MigrationActivities.java

+11
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,20 @@
2222
import com.uber.cadence.activity.ActivityMethod;
2323

2424
public interface MigrationActivities {
25+
/**
26+
* Starts a new workflow execution in a new domain.
27+
*
28+
* @param request The request to start the workflow in new domain.
29+
* @return A response indicating the status of the operation.
30+
*/
2531
@ActivityMethod
2632
StartWorkflowInNewResponse startWorkflowInNewDomain(StartWorkflowExecutionRequest request);
2733

34+
/**
35+
* Cancels a workflow execution in the current domain.
36+
*
37+
* @param request The request to cancel the workflow.
38+
*/
2839
@ActivityMethod
2940
void cancelWorkflowInCurrentDomain(RequestCancelWorkflowExecutionRequest request);
3041
}

src/main/java/com/uber/cadence/migration/StartWorkflowInNewResponse.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121

2222
public class StartWorkflowInNewResponse {
2323
StartWorkflowExecutionResponse startWorkflowExecutionResponse;
24-
String message;
24+
String status;
2525

2626
StartWorkflowInNewResponse(StartWorkflowExecutionResponse startWorkflowResponse, String msg) {
2727
startWorkflowExecutionResponse = startWorkflowResponse;
28-
message = msg;
28+
status = msg;
2929
}
3030
}

0 commit comments

Comments
 (0)