lib

package
v0.0.0-...-2c4a5bd Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const CAMUNDA_VARIABLES_DATA_EXPORT_CONFIG = "config"
View Source
const CAMUNDA_VARIABLES_PAYLOAD = "payload"

Variables

This section is empty.

Functions

func CheckAccess

func CheckAccess(id string, owner string) (err error)

func CloneAbstractProcess

func CloneAbstractProcess(id string, jwtimpersonate jwt_http_router.JwtImpersonate, owner string) (result model.AbstractProcess, err error)

func CloseEventSourcing

func CloseEventSourcing()

func GetAbstractTask

func GetAbstractTask(task *etree.Element) (result model.BpmnAbstractMsg, err error)

func GetBpmnAbstractPrepare

func GetBpmnAbstractPrepare(xmlValue string, jwtimpersonate jwt_http_router.JwtImpersonate) (resp model.AbstractProcess, err error)

func InitEventSourcing

func InitEventSourcing() (err error)

func InstantiateAbstractProcess

func InstantiateAbstractProcess(msg model.AbstractProcess, impersonate jwt_http_router.JwtImpersonate, userId string) (xmlString string, err error)

func MetadataExists

func MetadataExists(id string) (exists bool, err error)

func PublishDeployment

func PublishDeployment(userId string, deployment model.DeploymentRequest, xml string) (id string, err error)

func PublishDeploymentDelete

func PublishDeploymentDelete(id string) error

func RemoveMetadata

func RemoveMetadata(id string) (err error)

func SetMetadata

func SetMetadata(id string, deployment model.DeploymentRequest, owner string) (err error)

func StartRest

func StartRest()

Types

type DeploymentCommand

type DeploymentCommand struct {
	Command       string                  `json:"command"`
	Id            string                  `json:"id"`
	Owner         string                  `json:"owner"`
	Deployment    model.DeploymentRequest `json:"deployment"`
	DeploymentXml string                  `json:"deployment_xml"`
}

type Metadata

type Metadata struct {
	Process  string                `json:"process" bson:"process"`
	Abstract model.AbstractProcess `json:"abstract" bson:"abstract"`
	Online   bool                  `json:"online" bson:"-"`
	Owner    string                `json:"owner" bson:"owner"`
}

func GetAllMetadata

func GetAllMetadata(owner string) (result []Metadata, err error)

func GetMetadata

func GetMetadata(id string, owner string) (result Metadata, err error)

func GetMetadataWithOnlineState

func GetMetadataWithOnlineState(id string, jwtimpersonate jwt_http_router.JwtImpersonate, owner string) (metadata Metadata, err error)

Directories

Path Synopsis
Package etree provides XML services through an Element Tree abstraction.
Package etree provides XML services through an Element Tree abstraction.

Jump to

Keyboard shortcuts

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