Skip to content

Commit 04b9684

Browse files
authored
Fix missing comma after 'version' (#718)
Signed-off-by: Zbyněk Drápela <[email protected]> Signed-off-by: Zbyněk Drápela <[email protected]>
1 parent 8a71843 commit 04b9684

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed

comparisons/comparison-temporal.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static class GreetingWorkflowImpl implements GreetingWorkflow {
8282
{
8383
"id": "greetingworkflow",
8484
"name": "Greeting Workflow",
85-
"version": "1.0.0"
85+
"version": "1.0.0",
8686
"specVersion": "0.8",
8787
"autoRetries": true,
8888
"states": [
@@ -164,7 +164,7 @@ WorkflowOptions workflowOptions =
164164
{
165165
"id": "greetingworkflow",
166166
"name": "Greeting Workflow",
167-
"version": "1.0.0"
167+
"version": "1.0.0",
168168
"specVersion": "0.8",
169169
"autoRetries": true,
170170
"timeouts": {
@@ -268,7 +268,7 @@ WorkflowOptions workflowOptions =
268268
{
269269
"id": "HelloSaga",
270270
"name": "Hello SAGA compensation Workflow",
271-
"version": "1.0.0"
271+
"version": "1.0.0",
272272
"specVersion": "0.8",
273273
"states": [
274274
{
@@ -392,7 +392,7 @@ static class GreetingActivitiesImpl implements GreetingActivities {
392392
{
393393
"id": "HelloActivityRetry",
394394
"name": "Hello Activity with Retries Workflow",
395-
"version": "1.0.0"
395+
"version": "1.0.0",
396396
"specVersion": "0.8",
397397
"autoRetries": true,
398398
"start": "GreetingState",

examples/README.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ data output, which is:
6767
```json
6868
{
6969
"id": "helloworld",
70-
"version": "1.0.0"
70+
"version": "1.0.0",
7171
"specVersion": "0.8",
7272
"name": "Hello World Workflow",
7373
"description": "Inject Hello World",
@@ -151,7 +151,7 @@ Which is added to the states data and becomes the workflow data output.
151151
```json
152152
{
153153
"id": "greeting",
154-
"version": "1.0.0"
154+
"version": "1.0.0",
155155
"specVersion": "0.8",
156156
"name": "Greeting Workflow",
157157
"description": "Greet Someone",
@@ -296,7 +296,7 @@ filters what is selected to be the state data output which then becomes the work
296296
```json
297297
{
298298
"id": "eventbasedgreeting",
299-
"version": "1.0.0"
299+
"version": "1.0.0",
300300
"specVersion": "0.8",
301301
"name": "Event Based Greeting Workflow",
302302
"description": "Event Based Greeting",
@@ -424,7 +424,7 @@ result of the workflow execution.
424424
```json
425425
{
426426
"id": "solvemathproblems",
427-
"version": "1.0.0"
427+
"version": "1.0.0",
428428
"specVersion": "0.8",
429429
"name": "Solve Math Problems Workflow",
430430
"description": "Solve math problems",
@@ -521,7 +521,7 @@ to finish execution before it can transition (end workflow execution in this cas
521521
```json
522522
{
523523
"id": "parallelexec",
524-
"version": "1.0.0"
524+
"version": "1.0.0",
525525
"specVersion": "0.8",
526526
"name": "Parallel Execution Workflow",
527527
"description": "Executes two branches in parallel",
@@ -611,7 +611,7 @@ does not wait for its results.
611611
```json
612612
{
613613
"id": "sendcustomeremail",
614-
"version": "1.0.0"
614+
"version": "1.0.0",
615615
"specVersion": "0.8",
616616
"name": "Send customer email workflow",
617617
"description": "Send email to a customer",
@@ -702,7 +702,7 @@ property to `continue`.
702702
```json
703703
{
704704
"id": "onboardcustomer",
705-
"version": "1.0.0"
705+
"version": "1.0.0",
706706
"specVersion": "0.8",
707707
"name": "Onboard Customer",
708708
"description": "Onboard a Customer",
@@ -784,7 +784,7 @@ period, the workflow transitions to the "HandleNoVisaDecision" state.
784784
```json
785785
{
786786
"id": "eventbasedswitchstate",
787-
"version": "1.0.0"
787+
"version": "1.0.0",
788788
"specVersion": "0.8",
789789
"name": "Event Based Switch Transitions",
790790
"description": "Event Based Switch Transitions",
@@ -946,7 +946,7 @@ If the applicants age is over 18 we start the application (subflow action). Othe
946946
```json
947947
{
948948
"id": "applicantrequest",
949-
"version": "1.0.0"
949+
"version": "1.0.0",
950950
"specVersion": "0.8",
951951
"name": "Applicant Request Decision Workflow",
952952
"description": "Determine if applicant request is valid",
@@ -1090,7 +1090,7 @@ The data output of the workflow contains the information of the exception caught
10901090
```json
10911091
{
10921092
"id": "provisionorders",
1093-
"version": "1.0.0"
1093+
"version": "1.0.0",
10941094
"specVersion": "0.8",
10951095
"name": "Provision Orders",
10961096
"description": "Provision Orders and handle errors thrown",
@@ -1286,7 +1286,7 @@ In the case job submission raises a runtime error, we transition to an Operation
12861286
```json
12871287
{
12881288
"id": "jobmonitoring",
1289-
"version": "1.0.0"
1289+
"version": "1.0.0",
12901290
"specVersion": "0.8",
12911291
"name": "Job Monitoring",
12921292
"description": "Monitor finished execution of a submitted job",
@@ -1577,7 +1577,7 @@ CloudEvent upon completion of the workflow could look like:
15771577
```json
15781578
{
15791579
"id": "sendcloudeventonprovision",
1580-
"version": "1.0.0"
1580+
"version": "1.0.0",
15811581
"specVersion": "0.8",
15821582
"name": "Send CloudEvent on provision completion",
15831583
"start": "ProvisionOrdersState",
@@ -1711,7 +1711,7 @@ have the matching patient id.
17111711
{
17121712
"id": "patientVitalsWorkflow",
17131713
"name": "Monitor Patient Vitals",
1714-
"version": "1.0.0"
1714+
"version": "1.0.0",
17151715
"specVersion": "0.8",
17161716
"start": "MonitorVitals",
17171717
"events": [
@@ -1906,7 +1906,7 @@ when all three of these events happened (in no particular order).
19061906
{
19071907
"id": "finalizeCollegeApplication",
19081908
"name": "Finalize College Application",
1909-
"version": "1.0.0"
1909+
"version": "1.0.0",
19101910
"specVersion": "0.8",
19111911
"start": "FinalizeApplication",
19121912
"events": [
@@ -2117,7 +2117,7 @@ And for denied credit check, for example:
21172117
```json
21182118
{
21192119
"id": "customercreditcheck",
2120-
"version": "1.0.0"
2120+
"version": "1.0.0",
21212121
"specVersion": "0.8",
21222122
"name": "Customer Credit Check Workflow",
21232123
"description": "Perform Customer Credit Check",
@@ -2322,7 +2322,7 @@ Bidding is done via an online application and bids are received as events are as
23222322
```json
23232323
{
23242324
"id": "handleCarAuctionBid",
2325-
"version": "1.0.0"
2325+
"version": "1.0.0",
23262326
"specVersion": "0.8",
23272327
"name": "Car Auction Bidding Workflow",
23282328
"description": "Store a single bid whole the car auction is active",
@@ -2452,7 +2452,7 @@ The results of the inbox service called is expected to be for example:
24522452
{
24532453
"id": "checkInbox",
24542454
"name": "Check Inbox Workflow",
2455-
"version": "1.0.0"
2455+
"version": "1.0.0",
24562456
"specVersion": "0.8",
24572457
"description": "Periodically Check Inbox",
24582458
"start": {
@@ -2596,7 +2596,7 @@ For this example we assume that the workflow instance is started given the follo
25962596
"id": "VetAppointmentWorkflow",
25972597
"name": "Vet Appointment Workflow",
25982598
"description": "Vet service call via events",
2599-
"version": "1.0.0"
2599+
"version": "1.0.0",
26002600
"specVersion": "0.8",
26012601
"start": "MakeVetAppointmentState",
26022602
"events": [
@@ -2747,7 +2747,7 @@ In our workflow definition then we can reference these files rather than definin
27472747
```json
27482748
{
27492749
"id": "paymentconfirmation",
2750-
"version": "1.0.0"
2750+
"version": "1.0.0",
27512751
"specVersion": "0.8",
27522752
"name": "Payment Confirmation Workflow",
27532753
"description": "Performs Payment Confirmation",
@@ -2951,7 +2951,7 @@ If the retries are not successful, we want to just gracefully end workflow execu
29512951
{
29522952
"id": "patientonboarding",
29532953
"name": "Patient Onboarding Workflow",
2954-
"version": "1.0.0"
2954+
"version": "1.0.0",
29552955
"specVersion": "0.8",
29562956
"start": "Onboard",
29572957
"states": [
@@ -3123,7 +3123,7 @@ This example shows the use of the workflow [execTimeout definition](../specifica
31233123
{
31243124
"id": "order",
31253125
"name": "Purchase Order Workflow",
3126-
"version": "1.0.0"
3126+
"version": "1.0.0",
31273127
"specVersion": "0.8",
31283128
"start": "StartNewOrder",
31293129
"timeouts": {
@@ -3407,7 +3407,7 @@ the data for an hour, send report, and so on.
34073407
{
34083408
"id": "roomreadings",
34093409
"name": "Room Temp and Humidity Workflow",
3410-
"version": "1.0.0"
3410+
"version": "1.0.0",
34113411
"specVersion": "0.8",
34123412
"start": "ConsumeReading",
34133413
"timeouts": {
@@ -3581,7 +3581,7 @@ We fist define our top-level workflow for this example:
35813581
{
35823582
"id": "checkcarvitals",
35833583
"name": "Check Car Vitals Workflow",
3584-
"version": "1.0.0"
3584+
"version": "1.0.0",
35853585
"specVersion": "0.8",
35863586
"start": "WhenCarIsOn",
35873587
"states": [
@@ -3696,7 +3696,7 @@ And then our reusable sub-workflow which performs the checking of our car vitals
36963696
{
36973697
"id": "vitalscheck",
36983698
"name": "Car Vitals Check",
3699-
"version": "1.0.0"
3699+
"version": "1.0.0",
37003700
"specVersion": "0.8",
37013701
"start": "CheckVitals",
37023702
"states": [
@@ -3836,7 +3836,7 @@ For the sake of the example we assume the functions and event definitions are de
38363836
{
38373837
"id": "booklending",
38383838
"name": "Book Lending Workflow",
3839-
"version": "1.0.0"
3839+
"version": "1.0.0",
38403840
"specVersion": "0.8",
38413841
"start": "Book Lending Request",
38423842
"states": [
@@ -4128,7 +4128,7 @@ Its results are then merged back into the state data according to the "toStateDa
41284128
{
41294129
"id": "fillglassofwater",
41304130
"name": "Fill glass of water workflow",
4131-
"version": "1.0.0"
4131+
"version": "1.0.0",
41324132
"specVersion": "0.8",
41334133
"start": "Check if full",
41344134
"functions": [
@@ -4541,7 +4541,7 @@ We assume that our workflow input has the runtime-imposed quota:
45414541
"end":{
45424542
"continueAs": {
45434543
"workflowId": "notifycustomerworkflow",
4544-
"version": "1.0.0"
4544+
"version": "1.0.0",
45454545
"data": "${ del(.customerCount) }"
45464546
}
45474547
}
@@ -4661,7 +4661,7 @@ decide which activity to perform based on the transaction value.
46614661
{
46624662
"id": "customerbankingtransactions",
46634663
"name": "Customer Banking Transactions Workflow",
4664-
"version": "1.0.0"
4664+
"version": "1.0.0",
46654665
"specVersion": "0.8",
46664666
"autoRetries": true,
46674667
"constants": {

0 commit comments

Comments
 (0)