process

package
v0.0.0-...-5ea0f31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSQLProcessStore

func NewSQLProcessStore(sqlConfig config.SQL, logger log.Logger) (persistence.ProcessStore, error)

Types

type HandleStateDecisionRequest

type HandleStateDecisionRequest struct {
	Namespace          string
	ProcessId          string
	ProcessType        string
	ProcessExecutionId uuid.UUID
	StateDecision      xcapi.StateDecision
	AppDatabaseConfig  *data_models.InternalAppDatabaseConfig
	WorkerUrl          string

	// for ProcessExecutionRowForUpdate
	ProcessExecutionRowStateExecutionSequenceMaps *data_models.StateExecutionSequenceMapsJson
	ProcessExecutionRowGracefulCompleteRequested  bool
	ProcessExecutionRowStatus                     data_models.ProcessExecutionStatus

	TaskShardId int32
}

type HandleStateDecisionResponse

type HandleStateDecisionResponse struct {
	HasNewImmediateTask bool

	// for ProcessExecutionRowForUpdate to update
	ProcessExecutionRowNewStateExecutionSequenceMaps *data_models.StateExecutionSequenceMapsJson
	ProcessExecutionRowNewGracefulCompleteRequested  bool
	ProcessExecutionRowNewStatus                     data_models.ProcessExecutionStatus
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL