File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ const (
43
43
urlPathWorkflowIDKey = "workflowID"
44
44
urlPathRunIDKey = "runID"
45
45
urlPathTemplate = "/namespaces/%s/workflows/%s/%s/history"
46
- urlTemplate = "temporal://" + urlPathTemplate
47
46
48
47
linkWorkflowEventReferenceTypeKey = "referenceType"
49
48
linkEventReferenceEventIDKey = "eventID"
63
62
)
64
63
65
64
// ConvertLinkWorkflowEventToNexusLink converts a Link_WorkflowEvent type to Nexus Link.
65
+ //
66
+ // NOTE: Experimental
66
67
func ConvertLinkWorkflowEventToNexusLink (we * commonpb.Link_WorkflowEvent ) nexus.Link {
67
68
u := & url.URL {
68
69
Scheme : urlSchemeTemporalKey ,
@@ -86,6 +87,8 @@ func ConvertLinkWorkflowEventToNexusLink(we *commonpb.Link_WorkflowEvent) nexus.
86
87
}
87
88
88
89
// ConvertNexusLinkToLinkWorkflowEvent converts a Nexus Link to Link_WorkflowEvent.
90
+ //
91
+ // NOTE: Experimental
89
92
func ConvertNexusLinkToLinkWorkflowEvent (link nexus.Link ) (* commonpb.Link_WorkflowEvent , error ) {
90
93
we := & commonpb.Link_WorkflowEvent {}
91
94
if link .Type != string (we .ProtoReflect ().Descriptor ().FullName ()) {
You can’t perform that action at this time.
0 commit comments