-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated cmdline input variables to be just one JSON variable (#24)
* Updated cmdline input variables to be just one JSON variable * added a TODO * Fixed some bugs and added input field verification * No longer needed Co-authored-by: James Wood <[email protected]>
- Loading branch information
1 parent
aea0963
commit 746c0e1
Showing
11 changed files
with
2,982 additions
and
819 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
cws-engine-service/src/main/java/jpl/cws/engine/CmdLineInputFields.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package jpl.cws.engine; | ||
|
||
public class CmdLineInputFields { | ||
|
||
public String command = null; | ||
public String workingDir = null; | ||
public String successfulValues = null; | ||
public String exitCodeEvents = null; | ||
public boolean throwOnFailures; | ||
public boolean throwOnTruncatedVariable; | ||
public long timeout = 0; // in seconds | ||
public int retries = 0; | ||
public int retryDelay = 0; // in milliseconds | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.