statelint 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/statelint +2 -0
- data/data/StateMachine.j2119 +3 -4
- data/statelint.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83cf5707431888af8653e736364be7ad28ae7a5a
|
4
|
+
data.tar.gz: b1feea27017f4e8bd3285cbc360531ba21c9103e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aed7e855cc467b5201649e337899c39c998f2cc928a35ccebe4d2c885ff060eeb3c51fb3e598b84a7b42a34b7e522953e4c811de11c5a87ac356741436f8a009
|
7
|
+
data.tar.gz: 8672c7fa044d72b2974d8e8d990a1cd9d45585699158b6eb5a85146885366a8fffe5b9dae460b437f8343eca01e621882588d96c10b091ef04cb802dffc578e0
|
data/bin/statelint
CHANGED
data/data/StateMachine.j2119
CHANGED
@@ -19,11 +19,10 @@ Each of a Succeed State and a Fail State is a "Terminal State".
|
|
19
19
|
A State which is not a Terminal State or a Choice State MUST have a string field named "Next".
|
20
20
|
A Terminal State MUST NOT have a field named "Next".
|
21
21
|
A State MAY have a nullable-JSONPath field named "InputPath".
|
22
|
-
|
22
|
+
Each of a Pass State, a Task State, a Wait State, and a Parallel State MAY have a nullable-referencePath field named "ResultPath".
|
23
23
|
A State MAY have a nullable-JSONPath field named "OutputPath".
|
24
24
|
A Pass State MAY have a field named "Result".
|
25
25
|
A Fail State MUST NOT have a field named "InputPath".
|
26
|
-
A Fail State MUST NOT have a field named "ResultPath".
|
27
26
|
A Fail State MUST NOT have a field named "OutputPath".
|
28
27
|
A Fail State MAY have a string field named "Cause".
|
29
28
|
A Fail State MAY have a string field named "Error".
|
@@ -31,12 +30,12 @@ Each of a Task State and a Parallel State MAY have an object-array field named "
|
|
31
30
|
A Task State MUST have a URI field named "Resource".
|
32
31
|
A Task State MAY have a positive-integer field named "TimeoutSeconds" whose value MUST be less than 99999999.
|
33
32
|
A Task State MAY have a positive-integer field named "HeartbeatSeconds" whose value MUST be less than 99999999.
|
34
|
-
A Retrier MUST have a string-array field named "ErrorEquals".
|
33
|
+
A Retrier MUST have a nonempty-string-array field named "ErrorEquals".
|
35
34
|
A Retrier MAY have an positive-integer field named "IntervalSeconds".
|
36
35
|
A Retrier MAY have a nonnegative-integer field named "MaxAttempts" whose value MUST be less than 99999999.
|
37
36
|
A Retrier MAY have a float field named "BackoffRate" whose value MUST be greater than or equal to 1.0.
|
38
37
|
Each of a Task State and a Parallel State MAY have an object-array field named "Catch"; each element is a "Catcher".
|
39
|
-
A Catcher MUST have an string-array field named "ErrorEquals".
|
38
|
+
A Catcher MUST have an nonempty-string-array field named "ErrorEquals".
|
40
39
|
A Catcher MUST have a string field named "Next".
|
41
40
|
A Catcher MAY have a nullable-referencePath field named "ResultPath".
|
42
41
|
A Choice State MUST have a nonempty-object-array field named "Choices"; each element is a "Choice Rule".
|
data/statelint.gemspec
CHANGED