mode adding to workflow
This commit is contained in:
parent
60fee8abe7
commit
4911e32ec2
@ -118,6 +118,7 @@ func (wfa *workflowMongoAccessor) book(id string, realData *Workflow, execs []*w
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
resp, err := wfa.Caller.CallPost(p.(*peer.Peer).Url, methods[tools.POST], (&workflow_execution.WorkflowExecutions{
|
resp, err := wfa.Caller.CallPost(p.(*peer.Peer).Url, methods[tools.POST], (&workflow_execution.WorkflowExecutions{
|
||||||
|
ResourceID: dc_id,
|
||||||
Executions: execs,
|
Executions: execs,
|
||||||
}).Serialize())
|
}).Serialize())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -40,6 +40,7 @@ func (d ScheduledType) EnumIndex() int {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type WorkflowExecutions struct {
|
type WorkflowExecutions struct {
|
||||||
|
ResourceID string `json:"resource_id" bson:"resource_id"`
|
||||||
Executions []*WorkflowExecution `json:"executions" bson:"executions"`
|
Executions []*WorkflowExecution `json:"executions" bson:"executions"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user