From 675b382a0c17a77033de2d1b806cde6ef8307624 Mon Sep 17 00:00:00 2001 From: cverazam Date: Wed, 19 Oct 2022 15:46:53 +0200 Subject: [PATCH] nifi historical recollection included --- docker-compose.dev.yml | 24 +- ...orical_data.xml => Santander_template.xml} | 1396 +++++++++-------- .../connector/prediction/PredictionJob.scala | 11 +- 3 files changed, 800 insertions(+), 631 deletions(-) rename nifi/{historical_data.xml => Santander_template.xml} (83%) mode change 100755 => 100644 diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 2925cd7..a5a02c8 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -6,11 +6,28 @@ services: command: --nojournal networks: - fiware -# ports: -# - "27017:27017" + ports: + - "27017:27017" environment: - MONGO_INITDB_ROOT_USERNAME=root - MONGO_INITDB_ROOT_PASSWORD=example + + nifi: + image: ging/fiware-draco:2.1.0 + environment: + - NIFI_WEB_HTTPS_PORT=9090 + - SINGLE_USER_CREDENTIALS_USERNAME=admin + - SINGLE_USER_CREDENTIALS_PASSWORD=pass1234567890 + container_name: nifi + restart: always + depends_on: + - mongo + ports: + - "9090:9090" + - "5050:5050" + networks: + - fiware + orion: image: fiware/orion-ld:1.0.1 container_name: orion @@ -27,10 +44,11 @@ services: restart: unless-stopped healthcheck: test: curl --fail -s http://orion:1026/version || exit 1 + spark-master-bike-santander: image: bde2020/spark-master:2.4.5-hadoop2.7 container_name: spark-master-bike-santander - ports: + ports: - "8080:8080" - "7077:7077" - "9002:9002" diff --git a/nifi/historical_data.xml b/nifi/Santander_template.xml old mode 100755 new mode 100644 similarity index 83% rename from nifi/historical_data.xml rename to nifi/Santander_template.xml index c94de67..0851322 --- a/nifi/historical_data.xml +++ b/nifi/Santander_template.xml @@ -1,17 +1,17 @@