Each defined input or output file for an action is specified using the following fields
field name |
type |
definition |
name |
string |
unique file identifier. This entry matches the associated file definition entry in the command inputFiles or outputFiles section |
description |
string |
describes the file contents |
filename |
string |
the local filesystem relative path and filename of the file |
optional |
boolean |
specifies if the file may be optionally available. Always false for output files, may be true or false for input files. |
NOTE: The action file reference name and optional fields must match those in the command inputFile or outputFile definition. |
Figure 1. Amazon EC2 Dashboard
Figure 1. Example
"name":"copyit", "description":"copy files", "workloadKey":"copyit", "action":"http://www.n3phele.com/executecommand", "inputFiles":{ "name":"input", "description":"Input file", "filename":"data/input.file", "optional":"false" }, ............... |
|
|