ENV, Input, Outpu Expose, Container change of rules
This commit is contained in:
@@ -43,12 +43,15 @@ func (c ConfigItem) Get(key string) *int {
|
||||
type Workflow struct {
|
||||
utils.AbstractObject // AbstractObject contains the basic fields of an object (id, name)
|
||||
resources.ResourceSet
|
||||
Graph *graph.Graph `bson:"graph,omitempty" json:"graph,omitempty"` // Graph UI & logic representation of the workflow
|
||||
ScheduleActive bool `json:"schedule_active" bson:"schedule_active"` // ScheduleActive is a flag that indicates if the schedule is active, if not the workflow is not scheduled and no execution or booking will be set
|
||||
Graph *graph.Graph `bson:"graph,omitempty" json:"graph,omitempty"` // Graph UI & logic representation of the workflow
|
||||
// Schedule *WorkflowSchedule `bson:"schedule,omitempty" json:"schedule,omitempty"` // Schedule is the schedule of the workflow
|
||||
Shared []string `json:"shared,omitempty" bson:"shared,omitempty"` // Shared is the ID of the shared workflow // AbstractWorkflow contains the basic fields of a workflow
|
||||
Env []models.Param `json:"env,omitempty" bson:"env,omitempty"`
|
||||
Inputs []models.Param `json:"inputs,omitempty" bson:"inputs,omitempty"`
|
||||
Shared []string `json:"shared,omitempty" bson:"shared,omitempty"` // Shared is the ID of the shared workflow // AbstractWorkflow contains the basic fields of a workflow
|
||||
|
||||
Env map[string]models.Param `json:"env,omitempty" bson:"env,omitempty"`
|
||||
Inputs map[string]models.Param `json:"inputs,omitempty" bson:"inputs,omitempty"`
|
||||
Outputs map[string]models.Param `json:"outputs,omitempty" bson:"outputs,omitempty"`
|
||||
Args map[string]string `json:"args,omitempty" bson:"args,omitempty"`
|
||||
Exposes map[string]models.Expose `bson:"exposes,omitempty" json:"exposes,omitempty"` // Expose is the execution
|
||||
}
|
||||
|
||||
func (d *Workflow) GetAccessor(request *tools.APIRequest) utils.Accessor {
|
||||
@@ -618,7 +621,7 @@ func (wf *Workflow) Planify(start time.Time, end *time.Time, instances ConfigIte
|
||||
if start.Before(now) {
|
||||
start = now
|
||||
}
|
||||
// PLANNED: honour the caller's start date as-is.
|
||||
// PLANNED: honour the caller's start date as-is.
|
||||
}
|
||||
|
||||
priceds := map[tools.DataType]map[string]pricing.PricedItemITF{}
|
||||
|
||||
Reference in New Issue
Block a user