diff --git a/models/resources/processing.go b/models/resources/processing.go index b3371ef..02dac59 100755 --- a/models/resources/processing.go +++ b/models/resources/processing.go @@ -27,6 +27,7 @@ type ProcessingUsage struct { */ type ProcessingResource struct { AbstractInstanciatedResource[*ProcessingInstance] + IsEvent bool `json:"is_event,omitempty" bson:"is_event,omitempty"` Infrastructure enum.InfrastructureType `json:"infrastructure" bson:"infrastructure" default:"-1"` // Infrastructure is the infrastructure IsService bool `json:"is_service,omitempty" bson:"is_service,omitempty"` // IsService is a flag that indicates if the processing is a service Usage *ProcessingUsage `bson:"usage,omitempty" json:"usage,omitempty"` // Usage is the usage of the processing diff --git a/tools/nats_caller.go b/tools/nats_caller.go index d03e269..85a1c01 100644 --- a/tools/nats_caller.go +++ b/tools/nats_caller.go @@ -17,6 +17,7 @@ const ( REMOVE NATSMethod = iota CREATE DISCOVERY + WORKFLOW_EVENT ) // NameToMethod returns the NATSMethod enum value from a string