further fixes
This commit is contained in:
parent
d2832335fe
commit
4da2b3be3f
|
@ -170,7 +170,7 @@
|
||||||
"$ref": "#/definitions/filter"
|
"$ref": "#/definitions/filter"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["eventExpression", "timeout", "nextState"]
|
"required": ["eventExpression", "actions", "timeout", "nextState"]
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -191,7 +191,8 @@
|
||||||
"filter": {
|
"filter": {
|
||||||
"$ref": "#/definitions/filter"
|
"$ref": "#/definitions/filter"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": ["function", "filter"]
|
||||||
},
|
},
|
||||||
"retry": {
|
"retry": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -216,7 +217,8 @@
|
||||||
"description": "State to transition to when exceeding max-retry limit",
|
"description": "State to transition to when exceeding max-retry limit",
|
||||||
"minLength": 1
|
"minLength": 1
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": ["match", "nextState"]
|
||||||
},
|
},
|
||||||
"function": {
|
"function": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -233,7 +235,8 @@
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Function parameters"
|
"description": "Function parameters"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": ["name", "type"]
|
||||||
},
|
},
|
||||||
"branch": {
|
"branch": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -320,7 +323,8 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "State to transition to after all the delay."
|
"description": "State to transition to after all the delay."
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": ["name", "type", "timeDelay", "nextState"]
|
||||||
},
|
},
|
||||||
"eventstate": {
|
"eventstate": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -358,7 +362,8 @@
|
||||||
"$ref": "#/definitions/event"
|
"$ref": "#/definitions/event"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": ["name", "type", "events", "filter"]
|
||||||
},
|
},
|
||||||
"operationstate": {
|
"operationstate": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -408,7 +413,8 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "State to transition to after all the actions have been successfully executed"
|
"description": "State to transition to after all the actions have been successfully executed"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": ["name", "type", "actionMode", "actions", "filter", "nextState"]
|
||||||
},
|
},
|
||||||
"parallelstate": {
|
"parallelstate": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -450,7 +456,8 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "State to transition to after all branches have completed execution"
|
"description": "State to transition to after all branches have completed execution"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": ["name", "type", "branches", "filter", "nextState"]
|
||||||
},
|
},
|
||||||
"switchstate": {
|
"switchstate": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -509,7 +516,8 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Specifies the name of the next state if there is no match for any choices value"
|
"description": "Specifies the name of the next state if there is no match for any choices value"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": ["name", "type", "choices", "filter", "default"]
|
||||||
},
|
},
|
||||||
"subflowstate": {
|
"subflowstate": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -601,7 +609,8 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "State to transition to if there is a value match"
|
"description": "State to transition to if there is a value match"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": ["single", "nextState"]
|
||||||
},
|
},
|
||||||
"andchoice": {
|
"andchoice": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -619,7 +628,8 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "State to transition to if there is a value match"
|
"description": "State to transition to if there is a value match"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": ["and", "nextState"]
|
||||||
},
|
},
|
||||||
"orchoice": {
|
"orchoice": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -637,7 +647,8 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "State to transition to if there is a value match"
|
"description": "State to transition to if there is a value match"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": ["or", "nextState"]
|
||||||
},
|
},
|
||||||
"notchoice": {
|
"notchoice": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -652,7 +663,8 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "State to transition to if there is a value match"
|
"description": "State to transition to if there is a value match"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": ["not", "nextState"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -362,7 +362,7 @@ Event state can hold one or more events definitions, so let's define those:
|
||||||
"description": "State to transition to after all the actions for the matching event have been successfully executed"
|
"description": "State to transition to after all the actions for the matching event have been successfully executed"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["event-expression", "actions", "filter", "nextState"]
|
"required": ["eventExpression", "actions", "filter", "nextState"]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue