File tree 5 files changed +28
-0
lines changed
5 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 74
74
* [ logback_config] ( logback_config ) - overriding logging configuration;
75
75
* [ process_from_a_process] ( process_from_a_process ) - starting a new subprocess from a flow using a payload archive;
76
76
* [ process_from_a_process2] ( process_from_a_process2 ) - using output variables, starting a new subprocess from a project.
77
+ * [ process_from_a_process2] ( process_from_a_process2 ) - starting a new subprocess using a directory as the payload.
Original file line number Diff line number Diff line change
1
+ flows :
2
+ default :
3
+ # uses the specified directory as the process payload
4
+ - task : concord
5
+ in :
6
+ action : start
7
+ payload : example
8
+ arguments :
9
+ name : " Concord"
10
+ sync : true
11
+ - log : " Done! ${jobs[0]} is completed"
Original file line number Diff line number Diff line change
1
+ flows :
2
+ default :
3
+ # use a local file and a process argument to create the message
4
+ - log : " ${resource.asString('file.txt')}, ${name}!"
Original file line number Diff line number Diff line change
1
+ Hello
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ SERVER_ADDR=" $1 "
4
+
5
+ rm -rf target && mkdir target
6
+ cp -R concord.yml example target/
7
+
8
+ cd target && zip -r payload.zip ./* > /dev/null && cd ..
9
+
10
+ read -p " Username: " CURL_USER
11
+ curl -u ${CURL_USER} -F archive=@target/payload.zip http://${SERVER_ADDR} /api/v1/process
You can’t perform that action at this time.
0 commit comments