Skip to content

Commit 540b8b8

Browse files
committed
Add JSON env files for every task
1 parent 7fa2fd1 commit 540b8b8

File tree

5 files changed

+18
-1
lines changed

5 files changed

+18
-1
lines changed

LICENSE

100644100755
File mode changed.

consumer.robot

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Process Input
2727
... invalid item. If reporting is enabled, a new output Work Item is created
2828
... with its post-process info. (items failed to be processed will be retried)
2929
30-
# Retrieves and validates the input data given the current item in the queue.
30+
# Retrieve and validate the input data given the current item in the queue.
3131
${data} = Get Work Item Variable data
3232
${status} ${message} = Validate Input ${data}
3333

devdata/env-consumer.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"RPA_WORKITEMS_ADAPTER": "RPA.Robocorp.WorkItems.FileAdapter",
3+
"RPA_INPUT_WORKITEM_PATH": "devdata/work-items-out/consumer-input/work-items.json",
4+
"RPA_OUTPUT_WORKITEM_PATH": "devdata/work-items-out/reporter-input/work-items.json",
5+
"CREATE_REPORT": "Yes"
6+
}

devdata/env-producer.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"RPA_WORKITEMS_ADAPTER": "RPA.Robocorp.WorkItems.FileAdapter",
3+
"RPA_INPUT_WORKITEM_PATH": "devdata/work-items-in/producer-input/work-items.json",
4+
"RPA_OUTPUT_WORKITEM_PATH": "devdata/work-items-out/consumer-input/work-items.json",
5+
"CREATE_REPORT": "Yes"
6+
}

devdata/env-reporter.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"RPA_WORKITEMS_ADAPTER": "RPA.Robocorp.WorkItems.FileAdapter",
3+
"RPA_INPUT_WORKITEM_PATH": "devdata/work-items-out/reporter-input/work-items.json",
4+
"CREATE_REPORT": "Yes"
5+
}

0 commit comments

Comments
 (0)