Skip to content

Commit

Permalink
no major changes: changed because buildkite had problem in building
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekj720 committed Sep 27, 2023
1 parent a5b5bab commit 6a3dad9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions src/main/java/com/uber/cadence/migration/MigrationActivities.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,20 @@
import com.uber.cadence.activity.ActivityMethod;

public interface MigrationActivities {
/**
* Starts a new workflow execution in a new domain.
*
* @param request The request to start the workflow in new domain.
* @return A response indicating the status of the operation.
*/
@ActivityMethod
StartWorkflowInNewResponse startWorkflowInNewDomain(StartWorkflowExecutionRequest request);

/**
* Cancels a workflow execution in the current domain.
*
* @param request The request to cancel the workflow.
*/
@ActivityMethod
void cancelWorkflowInCurrentDomain(RequestCancelWorkflowExecutionRequest request);
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

public class StartWorkflowInNewResponse {
StartWorkflowExecutionResponse startWorkflowExecutionResponse;
String message;
String status;

StartWorkflowInNewResponse(StartWorkflowExecutionResponse startWorkflowResponse, String msg) {
startWorkflowExecutionResponse = startWorkflowResponse;
message = msg;
status = msg;
}
}

0 comments on commit 6a3dad9

Please sign in to comment.