diff --git a/build.gradle b/build.gradle index 3322b64..89d1224 100644 --- a/build.gradle +++ b/build.gradle @@ -38,15 +38,15 @@ dependencies { implementation project (':EE-Visualization') implementation project (':EE-Docker') }else { - implementation 'com.github.Apollo-Core:EE-Core:master-SNAPSHOT' - implementation 'com.github.Apollo-Core:EE-Guice:main-SNAPSHOT' - implementation 'com.github.Apollo-Core:EE-Model:main-SNAPSHOT' - implementation 'com.github.Apollo-Core:EE-IO:main-SNAPSHOT' - implementation 'com.github.Apollo-Core:EE-Enactables:master-SNAPSHOT' - implementation 'com.github.Apollo-Core:EE-Control:master-SNAPSHOT' - implementation 'com.github.Apollo-Core:SC-Core:main-SNAPSHOT' - implementation 'com.github.Apollo-Core:EE-Visualization:master-SNAPSHOT' - implementation 'com.github.Apollo-core:EE-Docker:master-SNAPSHOT' + implementation 'com.github.Apollo-Core:EE-Core:v1.0.0' + implementation 'com.github.Apollo-Core:EE-Guice:v1.0.0' + implementation 'com.github.Apollo-Core:EE-Model:v1.0.0' + implementation 'com.github.Apollo-Core:EE-IO:v1.0.0' + implementation 'com.github.Apollo-Core:EE-Enactables:v1.0.0' + implementation 'com.github.Apollo-Core:EE-Control:v1.0.0' + implementation 'com.github.Apollo-Core:SC-Core:v1.0.0' + implementation 'com.github.Apollo-Core:EE-Visualization:v1.0.0' + implementation 'com.github.Apollo-Core:EE-Docker:v1.0.0' } // dependency to Opt4J diff --git a/configs/parForComplex.xml b/configs/parForComplex.xml index a59c702..a2aaed7 100644 --- a/configs/parForComplex.xml +++ b/configs/parForComplex.xml @@ -1,7 +1,7 @@ false - 8 + 1 ./inputData/parForComplex.json diff --git a/configs/singleAtomicConfig.xml b/configs/singleAtomicConfig.xml index ecf675e..19258a7 100644 --- a/configs/singleAtomicConfig.xml +++ b/configs/singleAtomicConfig.xml @@ -1,11 +1,8 @@ - false + true 8 - - DockerApi - ./inputData/inputSingleAtomic.json diff --git a/demoWfs/newWhile.yaml b/demoWfs/newWhile.yaml new file mode 100644 index 0000000..be0543e --- /dev/null +++ b/demoWfs/newWhile.yaml @@ -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" \ No newline at end of file diff --git a/demoWfs/parForComplex.yaml b/demoWfs/parForComplex.yaml index c87a1eb..e60048e 100644 --- a/demoWfs/parForComplex.yaml +++ b/demoWfs/parForComplex.yaml @@ -8,6 +8,9 @@ dataIns: - name: "blockSize" type: "number" source: "blockSize" +- name: "waitTime" + type: "number" + source: "wait" workflowBody: - parallelFor: name: "parallelFor" @@ -37,7 +40,7 @@ workflowBody: source: 1 - name: "waitTimeIn" type: "number" - source: 2 + source: "parForComplex/waitTime" dataOuts: - name: "sum" type: "number" @@ -71,7 +74,7 @@ workflowBody: source: 1 - name: "waitTimeIn" type: "number" - source: 2 + source: "parForComplex/waitTime" dataOuts: - name: "sum" type: "number" @@ -107,7 +110,7 @@ workflowBody: source: 1 - name: "waitTimeIn" type: "number" - source: 2 + source: "parForComplex/waitTime" dataOuts: - name: "sum" type: "number" diff --git a/inputData/parForComplex.json b/inputData/parForComplex.json index db1916a..6f81bdd 100644 --- a/inputData/parForComplex.json +++ b/inputData/parForComplex.json @@ -1,4 +1,5 @@ { "inputSource" : [1, 2, 3, 4], - "blockSize": 2 + "blockSize": 2, + "wait": 2 } \ No newline at end of file diff --git a/inputData/sixAtomic.json b/inputData/sixAtomic.json index f949def..23565c2 100644 --- a/inputData/sixAtomic.json +++ b/inputData/sixAtomic.json @@ -5,6 +5,6 @@ "input4" : 11, "input5" : -8, "input6" : 1, - "wait1":20, - "wait2":10 + "wait1":1500, + "wait2":1500 } \ No newline at end of file diff --git a/logging/config/logback.xml b/logging/config/logback.xml index f5bce83..edaf755 100644 --- a/logging/config/logback.xml +++ b/logging/config/logback.xml @@ -1,33 +1,48 @@ + Demo + + %msg%n + + + + ${fileDir}debug.log + false + + DEBUG + + + %date %level [%thread] %logger{10} [%file:%line] %msg from %contextName%n + + + + + + ${fileDir}error.log + false + + ERROR + + + %date %level [%thread] %logger{10} [%file:%line] %msg from %contextName%n + + - - ./logging/logs/timeLog.log - true - true - - %d{HH:mm:ss.SSS} [%thread] - %msg%n - - - + - - - - + + + \ No newline at end of file