From ae477fc3df7a555c2851e25239541963b99a711c Mon Sep 17 00:00:00 2001 From: Lorenzo Iovino Date: Fri, 3 May 2019 01:33:31 +0200 Subject: [PATCH] Feat: implemented mongo store/retrieve datas for webservice and imagecreator; Feat: parallel execution of Puppets with random flow --- .gitignore | 3 +- .idea/workspace.xml | 360 ++++++++++-------- DataGeneratorPuppets/src/Puppet.ts | 5 +- DataGeneratorPuppets/src/main.ts | 33 +- .../PredictorWebService/package-lock.json | 186 +++++++++ Predictor/PredictorWebService/package.json | 3 + .../src/image-creator/ImageCreatorService.ts | 76 ++-- .../src/image-creator/main.ts | 4 - .../PredictorWebService.ts | 42 +- .../src/predictor-web-service/main.ts | 3 +- .../src/predictor-web-service/models/Data.ts | 14 + 11 files changed, 506 insertions(+), 223 deletions(-) create mode 100644 Predictor/PredictorWebService/src/predictor-web-service/models/Data.ts diff --git a/.gitignore b/.gitignore index 578eda5..81e9bd4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ datas node_modules/ -dist/ \ No newline at end of file +dist/ +trainingImages/ diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2a7d5c0..d252720 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,27 +5,17 @@ - - - - - - - - + + - - - - - - - - + + - + + + @@ -44,8 +34,8 @@ - - + + @@ -53,11 +43,11 @@ - - + + - - + + @@ -65,17 +55,11 @@ - - - - - - - - - - - + + + + + @@ -83,52 +67,55 @@ - - + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -175,6 +162,10 @@ .style new Data flowName + atetime + connect + console + constructor @@ -188,7 +179,6 @@ - + @@ -231,6 +224,7 @@ + @@ -349,7 +343,6 @@