Documentation
¶
Index ¶
- Constants
- func NormalizeBpmnDeploymentId(id string) string
- type Deployment
- type DeploymentMetadata
- type DeploymentWardenInfo
- type DeploymentWardenInfoQuery
- type DeploymentWithEventDesc
- type ExtendedDeployment
- type HistoricProcessInstance
- type HistoryQuery
- type Incident
- type IncidentQuery
- type InstanceQuery
- type LastNetworkContact
- type Metadata
- type MetadataQuery
- type ProcessDefinition
- type ProcessInstance
- type StartMessage
- type SyncInfo
- type WardenInfo
- type WardenInfoQuery
Constants ¶
View Source
const WardenBusinessKeyPrefix = "wardened:"
Variables ¶
This section is empty.
Functions ¶
func NormalizeBpmnDeploymentId ¶ added in v0.0.25
Types ¶
type Deployment ¶
type Deployment struct {
camundamodel.Deployment
SyncInfo
}
type DeploymentMetadata ¶
type DeploymentWardenInfo ¶ added in v0.0.25
type DeploymentWardenInfo struct {
DeploymentId string `json:"deployment_id" bson:"deployment_id"`
NetworkId string `json:"network_id" bson:"network_id"`
Deployment DeploymentWithEventDesc `json:"deployment" bson:"deployment"`
}
type DeploymentWardenInfoQuery ¶ added in v0.0.25
type DeploymentWithEventDesc ¶
type DeploymentWithEventDesc struct {
deploymentmodel.Deployment `bson:",inline"`
DeviceIdToLocalId map[string]string `json:"device_id_to_local_id"`
ServiceIdToLocalId map[string]string `json:"service_id_to_local_id"`
EventDescriptions []model.EventDesc `json:"event_descriptions"`
}
type ExtendedDeployment ¶
type ExtendedDeployment struct {
Deployment
Diagram string `json:"diagram"`
DefinitionId string `json:"definition_id"`
Error string `json:"error"`
}
type HistoricProcessInstance ¶
type HistoricProcessInstance struct {
camundamodel.HistoricProcessInstance
SyncInfo
}
type HistoryQuery ¶
type Incident ¶
type Incident struct {
camundamodel.Incident
SyncInfo
}
type IncidentQuery ¶ added in v0.0.25
type InstanceQuery ¶ added in v0.0.25
type LastNetworkContact ¶
type Metadata ¶
type Metadata struct {
CamundaDeploymentId string `json:"camunda_deployment_id"`
ProcessParameter map[string]camundamodel.Variable `json:"process_parameter"`
DeploymentModel DeploymentWithEventDesc `json:"deployment_model"`
}
type MetadataQuery ¶
type ProcessDefinition ¶
type ProcessDefinition struct {
camundamodel.ProcessDefinition
SyncInfo
}
type ProcessInstance ¶
type ProcessInstance struct {
camundamodel.ProcessInstance
SyncInfo
}
type StartMessage ¶
type WardenInfo ¶ added in v0.0.25
type WardenInfo struct {
CreationTime int64 `json:"creation_time" bson:"creation_time"` //unix timestamp
NetworkId string `json:"network_id" bson:"network_id"` //must be the same as the process-instance network-id
BusinessKey string `json:"business_key" bson:"business_key"` //must be the same as the process-instance business-key and start with WardenBusinessKeyPrefix; the prefix may be set by Warden.MarkInstanceBusinessKeyAsWardenHandled
ProcessDeploymentId string `json:"process_deployment_id" bson:"process_deployment_id"` //must be the same as the process-instance process-deployment-id
StartParameters map[string]interface{} `json:"start_parameters" bson:"start_parameters"`
}
func (WardenInfo) IsOlderThen ¶ added in v0.0.25
func (this WardenInfo) IsOlderThen(duration time.Duration) bool
func (WardenInfo) Validate ¶ added in v0.0.25
func (this WardenInfo) Validate() error
Click to show internal directories.
Click to hide internal directories.