forked from eternita/workflow
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added implementation for remote loader
- Loading branch information
1 parent
b2b07de
commit a42dd8a
Showing
40 changed files
with
680 additions
and
420 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/target/ | ||
/.settings/ | ||
/.externalToolBuilders/ | ||
.classpath | ||
.project |
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 |
---|---|---|
@@ -1 +1,5 @@ | ||
/target/ | ||
/.settings/ | ||
/.externalToolBuilders/ | ||
.classpath | ||
.project |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
*.DS_Store | ||
bin | ||
target | ||
/target/ | ||
/.settings/ | ||
/.externalToolBuilders/ | ||
.classpath | ||
.project | ||
.settings | ||
|
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 |
---|---|---|
@@ -1 +1,9 @@ | ||
/target/ | ||
/.settings/ | ||
/.externalToolBuilders/ | ||
.classpath | ||
.project | ||
.settings | ||
src/main/webapp/META-INF | ||
.idea | ||
*.iml |
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
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
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
20 changes: 20 additions & 0 deletions
20
neuro4j-workflow-core/src/main/java/org/neuro4j/workflow/common/JSONWorkflowConverter.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,20 @@ | ||
package org.neuro4j.workflow.common; | ||
|
||
import java.io.Reader; | ||
|
||
import org.neuro4j.workflow.utils.Validation; | ||
|
||
public class JSONWorkflowConverter implements WorkflowConverter{ | ||
|
||
@Override | ||
public Workflow convert(Reader stream, String name) throws FlowExecutionException { | ||
Validation.requireNonNull(stream, () -> new FlowExecutionException("InputStream can not be null")); | ||
throw new UnsupportedOperationException("Not supported yet"); | ||
} | ||
|
||
@Override | ||
public String getFileExt() { | ||
throw new UnsupportedOperationException("Not supported yet"); | ||
} | ||
|
||
} |
27 changes: 0 additions & 27 deletions
27
neuro4j-workflow-core/src/main/java/org/neuro4j/workflow/common/RemoteWorkflowLoader.java
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
neuro4j-workflow-core/src/main/java/org/neuro4j/workflow/common/RemoteWorkflowSource.java
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
neuro4j-workflow-core/src/main/java/org/neuro4j/workflow/common/URLWorkflowLoader.java
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
neuro4j-workflow-core/src/main/java/org/neuro4j/workflow/common/URLWorkflowSource.java
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
neuro4j-workflow-core/src/main/java/org/neuro4j/workflow/common/WorkflowConverter.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,13 @@ | ||
package org.neuro4j.workflow.common; | ||
|
||
import java.io.Reader; | ||
|
||
public interface WorkflowConverter { | ||
|
||
public final static String DEFAULT_EXT = ".n4j"; | ||
|
||
Workflow convert(Reader stream, String name) throws FlowExecutionException; | ||
|
||
String getFileExt(); | ||
|
||
} |
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
17 changes: 0 additions & 17 deletions
17
neuro4j-workflow-core/src/main/java/org/neuro4j/workflow/common/WorkflowLoader.java
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
neuro4j-workflow-core/src/main/java/org/neuro4j/workflow/common/WorkflowSource.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.