Documentation ¶
Index ¶
Constants ¶
View Source
const DeviceGroupIdOutputFieldName = "device_group_id"
View Source
const DeviceIdPrefix = devicemodel.URN_PREFIX + "device:"
View Source
const ModuleUpdateVersionField = "module_update_version"
Variables ¶
This section is empty.
Functions ¶
func StartDoneEventHandling ¶
Types ¶
type Config ¶
type Config struct { DeviceManagerUrl string `json:"device_manager_url"` DeviceSelectionUrl string `json:"device_selection_url"` WorkerParamPrefix string `json:"worker_param_prefix"` CreateDeviceGroupModuleType string `json:"create_device_group_module_type"` DefaultNamePrefix string `json:"default_name_prefix"` AttributeOrigin string `json:"attribute_origin"` Debug bool `json:"debug"` KafkaUrl string `json:"kafka_url"` KafkaConsumerGroup string `json:"kafka_consumer_group"` PermissionsDoneTopic string `json:"permissions_done_topic"` }
type DeviceGroupHelperResult ¶
type DeviceGroupHelperResult struct {
Criteria []devicemodel.DeviceGroupFilterCriteria `json:"criteria"`
}
type DoneNotification ¶
type ProcessDeploymentStart ¶
type ProcessDeploymentStart struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, wg *sync.WaitGroup, config Config, libConfig configuration.Config, auth *auth.Auth, smartServiceRepo SmartServiceRepo) (*ProcessDeploymentStart, error)
func (*ProcessDeploymentStart) Do ¶
func (this *ProcessDeploymentStart) Do(task model.CamundaExternalTask) (modules []model.Module, outputs map[string]interface{}, err error)
type SmartServiceRepo ¶
type SmartServiceRepo interface { GetInstanceUser(instanceId string) (userId string, err error) UseModuleDeleteInfo(info model.ModuleDeleteInfo) error ListExistingModules(processInstanceId string, query model.ModulQuery) (result []model.SmartServiceModule, err error) }
Click to show internal directories.
Click to hide internal directories.