Context
temporalio/api#751 deprecates the namespace field on the following Protobuf command attribute messages, following Temporal Server 1.30.1 disabling cross-namespace operations by default (behind system.enableCrossNamespaceCommands):
RequestCancelExternalWorkflowExecutionCommandAttributes
SignalExternalWorkflowExecutionCommandAttributes
StartChildWorkflowExecutionCommandAttributes
Work needed
Once api#751 is merged and the API submodule is updated, reflect the deprecation in the Java SDK by marking the corresponding Java-level option fields/methods as deprecated. Specifically:
ChildWorkflowOptions.Builder#setNamespace / ChildWorkflowOptions#getNamespace
- Any
namespace setter/getter on external cancel or signal stub options (if exposed at the workflow API level)
Add @Deprecated annotations along with a Javadoc note: @deprecated Cross-namespace operations are disabled by default as of server 1.30.1.
References
Context
temporalio/api#751 deprecates the
namespacefield on the following Protobuf command attribute messages, following Temporal Server 1.30.1 disabling cross-namespace operations by default (behindsystem.enableCrossNamespaceCommands):RequestCancelExternalWorkflowExecutionCommandAttributesSignalExternalWorkflowExecutionCommandAttributesStartChildWorkflowExecutionCommandAttributesWork needed
Once api#751 is merged and the API submodule is updated, reflect the deprecation in the Java SDK by marking the corresponding Java-level option fields/methods as deprecated. Specifically:
ChildWorkflowOptions.Builder#setNamespace/ChildWorkflowOptions#getNamespacenamespacesetter/getter on external cancel or signal stub options (if exposed at the workflow API level)Add
@Deprecatedannotations along with a Javadoc note:@deprecated Cross-namespace operations are disabled by default as of server 1.30.1.References