executionmodel

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const CAMUNDA_VARIABLES_OVERWRITE = "overwrite"
View Source
const CAMUNDA_VARIABLES_PAYLOAD = "payload"
View Source
const CAMUNDE_VARIABLES_OVERWRITE_COLLECTION = "collection"

Variables

This section is empty.

Functions

This section is empty.

Types

type Documentation

type Documentation struct {
	Order int64 `json:"order"`
}

type EventDocumentation

type EventDocumentation struct {
	Order            int64  `json:"order"`
	CharacteristicId string `json:"characteristic_id,omitempty"`
}

type NotificationPayload

type NotificationPayload struct {
	//information direct from model
	Message string `json:"message"`
	UserId  string `json:"userId"`
	Title   string `json:"title"`
	IsRead  bool   `json:"isRead"`
}

type Overwrite

type Overwrite struct {
	DeviceId   string `json:"device_id,omitempty"`
	ServiceId  string `json:"service_id,omitempty"`
	ProtocolId string `json:"protocol_id,omitempty"`
}

type Task

type Task struct {
	Version int64 `json:"version"`

	//modeling time
	Function         devicemodel.Function `json:"function"`
	CharacteristicId string               `json:"characteristic_id"`

	//optional modeling time (used to limit/filter device and service selection in deployment)
	DeviceClass *devicemodel.DeviceClass `json:"device_class,omitempty"`
	Aspect      *devicemodel.AspectNode  `json:"aspect,omitempty"`

	//deployment time
	DeviceGroupId string `json:"device_group_id,omitempty"`
	DeviceId      string `json:"device_id,omitempty"`
	ServiceId     string `json:"service_id,omitempty"`
	ProtocolId    string `json:"protocol_id,omitempty"`

	//version >= 3
	InputPaths      []string                            `json:"input_paths,omitempty"`
	OutputPath      string                              `json:"output_path,omitempty"`
	ConfigurablesV2 []deviceselectionmodel.Configurable `json:"configurables_v2,omitempty"`

	PreferEvent bool `json:"prefer_event,omitempty"`

	//runtime
	Input  interface{} `json:"input,omitempty"`
	Output interface{} `json:"output,omitempty"`

	Retries int64 `json:"retries,omitempty"`
}

Jump to

Keyboard shortcuts

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