3463
3464
// GetSystemInfo returns information about the Temporal system.
3465
>
func (wh *WorkflowHandler) GetSystemInfo(ctx context.Context, request *workflowservice.GetSystemInfoRequest) (_ *workflowservice.GetSystemInfoResponse, retError error) {
workflow_handler.go
3466
>
defer log.CapturePanic(wh.logger, &retError)
3467
>
3468
>
if request == nil {
3469
return nil, errRequestNotSet
3470
}
3471
3473
>
ServerVersion: headers.ServerVersion,
3474
>
// Capabilities should be added as needed. In many cases, capabilities are
3475
>
// hardcoded boolean true values since older servers will respond with a
3476
>
// form of this message without the field which is implied false.
3477
>
Capabilities: &workflowservice.GetSystemInfoResponse_Capabilities{
3478
>
SignalAndQueryHeader: true,
3479
>
InternalErrorDifferentiation: true,
3480
>
ActivityFailureIncludeHeartbeat: true,
3481
>
SupportsSchedules: true,
3482
>
EncodedFailureAttributes: true,
3483
>
UpsertMemo: true,
3484
>
EagerWorkflowStart: true,
3485
>
SdkMetadata: true,
3486
>
BuildIdBasedVersioning: true,
3487
>
CountGroupByExecutionStatus: true,
3488
>
Nexus: wh.httpEnabled,
3489
>
ServerScaledDeployments: true,
3490
>
},
3491
>
}, nil
3492
}
3493