Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public static ChildWorkflowStateMachine newInstance(
attributes, metadata, startedCallback, completionCallback, commandSink, stateMachineSink);
}

@SuppressWarnings("deprecation")
private ChildWorkflowStateMachine(
StartChildWorkflowExecutionCommandAttributes startAttributes,
UserMetadata metadata,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,7 @@ public Functions.Proc newTimer(
* @param completionCallback invoked when child reports completion or failure
* @return cancellation callback that should be invoked to cancel the child
*/
@SuppressWarnings("deprecation")
public Functions.Proc startChildWorkflow(
StartChildWorkflowExecutionParameters parameters,
Functions.Proc2<WorkflowExecution, Exception> startedCallback,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public static final class Builder {

private Builder() {}

@SuppressWarnings("deprecation")
private Builder(ChildWorkflowOptions options) {
if (options == null) {
return;
Expand Down Expand Up @@ -91,7 +92,13 @@ private Builder(ChildWorkflowOptions options) {
* Specify namespace in which workflow should be started.
*
* <p>TODO: Resolve conflict with WorkflowClient namespace.
*
* @deprecated Cross-namespace child workflow execution is disabled by default in Temporal
* Server since version 1.30.1 (via {@code system.enableCrossNamespaceCommands} dynamic
* config flag). Setting this option will fail unless that flag is explicitly re-enabled on
* the server. This field may be removed at some point in the future.
*/
@Deprecated
public Builder setNamespace(String namespace) {
this.namespace = namespace;
return this;
Expand Down Expand Up @@ -447,6 +454,13 @@ private ChildWorkflowOptions(
this.priority = priority;
}

/**
* @deprecated Cross-namespace child workflow execution is disabled by default in Temporal Server
* since version 1.30.1 (via {@code system.enableCrossNamespaceCommands} dynamic config flag).
* Setting this option will fail unless that flag is explicitly re-enabled on the server. This
* field may be removed at some point in the future.
*/
@Deprecated
public String getNamespace() {
return namespace;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,7 @@ private static void childWorkflowCanceled(
ctx.addEvent(event);
}

@SuppressWarnings("deprecation")
private static void initiateChildWorkflow(
RequestContext ctx,
ChildWorkflowData data,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1670,6 +1670,7 @@ public void signalWithStartWorkflowExecution(
}
}

@SuppressWarnings("deprecation")
public void signalExternalWorkflowExecution(
String signalId,
SignalExternalWorkflowExecutionCommandAttributes commandAttributes,
Expand Down
Loading