Skip to content

Commit

Permalink
Merge branch 'master' of github.com:folio-org/mod-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wwelling committed Dec 5, 2022
2 parents a25535a + 78cedbf commit b74b312
Show file tree
Hide file tree
Showing 12 changed files with 84 additions and 46 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package org.folio.rest.workflow.model;

public enum FileOp {
LIST, READ, WRITE, DELETE, LINE_COUNT, READ_LINE
LIST, READ, WRITE, COPY, MOVE, DELETE, LINE_COUNT, READ_LINE, PUSH, POP
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,18 @@ public class FileTask extends Node implements DelegateTask {
@Column(nullable = false)
private boolean asyncAfter;

@Enumerated(EnumType.STRING)
@Column(nullable = false)
private FileOp op;

@Column(nullable = false)
private String path;

@Column(nullable = true)
private String line;
private String target;

@Enumerated(EnumType.STRING)
@Column(nullable = false)
private FileOp op;
@Column(nullable = true)
private String line;

public FileTask() {
super();
Expand Down Expand Up @@ -76,6 +79,14 @@ public void setAsyncAfter(boolean asyncAfter) {
this.asyncAfter = asyncAfter;
}

public FileOp getOp() {
return op;
}

public void setOp(FileOp op) {
this.op = op;
}

public String getPath() {
return path;
}
Expand All @@ -84,12 +95,12 @@ public void setPath(String path) {
this.path = path;
}

public FileOp getOp() {
return op;
public String getTarget() {
return target;
}

public void setOp(FileOp op) {
this.op = op;
public void setTarget(String target) {
this.target = target;
}

public String getLine() {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.folio</groupId>
<artifactId>spring-module-core</artifactId>
<version>1.1.1</version>
<version>1.1.2</version>
</parent>

<modules>
Expand Down
11 changes: 7 additions & 4 deletions service/ramls/eventsubprocess.json
Original file line number Diff line number Diff line change
Expand Up @@ -1166,15 +1166,18 @@
"asyncAfter" : {
"type" : "boolean"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "COPY", "MOVE", "DELETE", "LINE_COUNT", "READ_LINE", "PUSH", "POP" ]
},
"path" : {
"type" : "string"
},
"line" : {
"target" : {
"type" : "string"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "DELETE", "LINE_COUNT", "READ_LINE" ]
"line" : {
"type" : "string"
},
"identifier" : {
"type" : "string"
Expand Down
11 changes: 7 additions & 4 deletions service/ramls/exclusivegateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -1170,15 +1170,18 @@
"asyncAfter" : {
"type" : "boolean"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "COPY", "MOVE", "DELETE", "LINE_COUNT", "READ_LINE", "PUSH", "POP" ]
},
"path" : {
"type" : "string"
},
"line" : {
"target" : {
"type" : "string"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "DELETE", "LINE_COUNT", "READ_LINE" ]
"line" : {
"type" : "string"
},
"identifier" : {
"type" : "string"
Expand Down
11 changes: 7 additions & 4 deletions service/ramls/filetask.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,18 @@
"asyncAfter" : {
"type" : "boolean"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "COPY", "MOVE", "DELETE", "LINE_COUNT", "READ_LINE", "PUSH", "POP" ]
},
"path" : {
"type" : "string"
},
"line" : {
"target" : {
"type" : "string"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "DELETE", "LINE_COUNT", "READ_LINE" ]
"line" : {
"type" : "string"
},
"identifier" : {
"type" : "string"
Expand Down
11 changes: 7 additions & 4 deletions service/ramls/inclusivegateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -1170,15 +1170,18 @@
"asyncAfter" : {
"type" : "boolean"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "COPY", "MOVE", "DELETE", "LINE_COUNT", "READ_LINE", "PUSH", "POP" ]
},
"path" : {
"type" : "string"
},
"line" : {
"target" : {
"type" : "string"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "DELETE", "LINE_COUNT", "READ_LINE" ]
"line" : {
"type" : "string"
},
"identifier" : {
"type" : "string"
Expand Down
11 changes: 7 additions & 4 deletions service/ramls/movetolastgateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -1170,15 +1170,18 @@
"asyncAfter" : {
"type" : "boolean"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "COPY", "MOVE", "DELETE", "LINE_COUNT", "READ_LINE", "PUSH", "POP" ]
},
"path" : {
"type" : "string"
},
"line" : {
"target" : {
"type" : "string"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "DELETE", "LINE_COUNT", "READ_LINE" ]
"line" : {
"type" : "string"
},
"identifier" : {
"type" : "string"
Expand Down
11 changes: 7 additions & 4 deletions service/ramls/movetonode.json
Original file line number Diff line number Diff line change
Expand Up @@ -1169,15 +1169,18 @@
"asyncAfter" : {
"type" : "boolean"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "COPY", "MOVE", "DELETE", "LINE_COUNT", "READ_LINE", "PUSH", "POP" ]
},
"path" : {
"type" : "string"
},
"line" : {
"target" : {
"type" : "string"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "DELETE", "LINE_COUNT", "READ_LINE" ]
"line" : {
"type" : "string"
},
"identifier" : {
"type" : "string"
Expand Down
11 changes: 7 additions & 4 deletions service/ramls/parallelgateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -1170,15 +1170,18 @@
"asyncAfter" : {
"type" : "boolean"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "COPY", "MOVE", "DELETE", "LINE_COUNT", "READ_LINE", "PUSH", "POP" ]
},
"path" : {
"type" : "string"
},
"line" : {
"target" : {
"type" : "string"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "DELETE", "LINE_COUNT", "READ_LINE" ]
"line" : {
"type" : "string"
},
"identifier" : {
"type" : "string"
Expand Down
11 changes: 7 additions & 4 deletions service/ramls/subprocess.json
Original file line number Diff line number Diff line change
Expand Up @@ -1182,15 +1182,18 @@
"asyncAfter" : {
"type" : "boolean"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "COPY", "MOVE", "DELETE", "LINE_COUNT", "READ_LINE", "PUSH", "POP" ]
},
"path" : {
"type" : "string"
},
"line" : {
"target" : {
"type" : "string"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "DELETE", "LINE_COUNT", "READ_LINE" ]
"line" : {
"type" : "string"
},
"identifier" : {
"type" : "string"
Expand Down
11 changes: 7 additions & 4 deletions service/ramls/workflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -1193,15 +1193,18 @@
"asyncAfter" : {
"type" : "boolean"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "COPY", "MOVE", "DELETE", "LINE_COUNT", "READ_LINE", "PUSH", "POP" ]
},
"path" : {
"type" : "string"
},
"line" : {
"target" : {
"type" : "string"
},
"op" : {
"type" : "string",
"enum" : [ "LIST", "READ", "WRITE", "DELETE", "LINE_COUNT", "READ_LINE" ]
"line" : {
"type" : "string"
},
"identifier" : {
"type" : "string"
Expand Down

0 comments on commit b74b312

Please sign in to comment.