-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Fedor
committed
Oct 18, 2021
1 parent
b0a6436
commit b7cfa97
Showing
8 changed files
with
97 additions
and
36 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
name: "simpleWhile" | ||
dataIns: | ||
- name: "input" | ||
type: "number" | ||
source: "inputSource" | ||
workflowBody: | ||
- while: | ||
name: "while" | ||
dataIns: | ||
- name: "sum" | ||
type: "number" | ||
source: "simpleWhile/input" | ||
loopBody: | ||
- function: | ||
name: "increment" | ||
type: "Addition" | ||
dataIns: | ||
- name: "firstSummand" | ||
type: "number" | ||
source: "while/sum" | ||
- name: "secondSummand" | ||
type: "number" | ||
source: 1 | ||
- name: "waitTimeIn" | ||
type: "number" | ||
source: 1000 | ||
dataOuts: | ||
- name: "sum" | ||
type: "number" | ||
condition: | ||
- data1: "increment/sum" | ||
data2: 10 | ||
type: "number" | ||
operator: "!=" | ||
negation: "false" | ||
combinedWith: "and" | ||
dataOuts: | ||
- name: "sum" | ||
type: "number" | ||
source: "increment/sum" | ||
dataOuts: | ||
- name: "overallOutput" | ||
type: "number" | ||
source: "while/sum" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"inputSource" : [1, 2, 3, 4], | ||
"blockSize": 2 | ||
"blockSize": 2, | ||
"wait": 2 | ||
} |
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 |
---|---|---|
|
@@ -5,6 +5,6 @@ | |
"input4" : 11, | ||
"input5" : -8, | ||
"input6" : 1, | ||
"wait1":20, | ||
"wait2":10 | ||
"wait1":1500, | ||
"wait2":1500 | ||
} |
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,33 +1,48 @@ | ||
<configuration debug="false"> | ||
|
||
<contextName>Demo</contextName> | ||
<property name="fileDir" value="./logging/logs/"/> | ||
|
||
<appender name="STDOUT" | ||
class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>%msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<!-- appender to write evth above the DEBUG into a file --> | ||
<appender name = "fileDebug" class = "ch.qos.logback.core.FileAppender"> | ||
<file>${fileDir}debug.log</file> | ||
<append>false</append> | ||
<filter class = "ch.qos.logback.classic.filter.ThresholdFilter"> | ||
<level>DEBUG</level> | ||
</filter> | ||
<encoder> | ||
<pattern>%date %level [%thread] %logger{10} [%file:%line] %msg from %contextName%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<!-- appender to write evth above the ERROR into a file --> | ||
<appender name = "fileError" class = "ch.qos.logback.core.FileAppender"> | ||
<file>${fileDir}error.log</file> | ||
<append>false</append> | ||
<filter class = "ch.qos.logback.classic.filter.ThresholdFilter"> | ||
<level>ERROR</level> | ||
</filter> | ||
<encoder> | ||
<pattern>%date %level [%thread] %logger{10} [%file:%line] %msg from %contextName%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="FUNCTION_LOG_TIME_FILE" | ||
class="ch.qos.logback.core.FileAppender"> | ||
<file>./logging/logs/timeLog.log</file> | ||
<append>true</append> | ||
<immediateFlush>true</immediateFlush> | ||
<encoder> | ||
<pattern>%d{HH:mm:ss.SSS} [%thread] - %msg%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<logger name="io.netty" level="WARN"> | ||
</logger> | ||
|
||
|
||
<logger | ||
name="at.uibk.dps.ee.enactables.decorators.DecoratorTimingLog" | ||
level="INFO" additivity="false"> | ||
<appender-ref ref="FUNCTION_LOG_TIME_FILE" /> | ||
</logger> | ||
|
||
<root level="debug"> | ||
<root level="trace"> | ||
<appender-ref ref="STDOUT" /> | ||
<appender-ref ref="fileDebug" /> | ||
<appender-ref ref="fileError" /> | ||
</root> | ||
</configuration> |