Giter Club home page Giter Club logo

hdi-framework's Introduction

hdi-framework

Data Integration Framework

MqSftpService

Project declared on MqSftpService folder

Installation of environment

Local:

Change /home/egonh to your own local disk

docker run -d --name hdi-mongo -p 27017:27017 -v /home/egonh/projects/docker/mongodb-hdi:/data/db mongo

Creating RabbitMQ server to allow MQ Queue

docker run -d --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq

After server starts, perform the configuration:

rabbitmqctl add_user quser qpass
rabbitmqctl set_permissions -p / quser ".*" ".*" ".*"
rabbitmq-plugins enable rabbitmq_management

It creates a generic user, set all permissions to it and enable the UI user management

Now, with user and pass "guest" it is possible to configure new MQ Queues by interface.

Creating Minio1 server to store received files

docker pull minio/minio

docker run -p 9000:9000 -p 9001:9001 --name minio \
  -e "MINIO_ROOT_USER=provisoryUser" \
  -e "MINIO_ROOT_PASSWORD=provisoryUser" \
  -v /home/egonh/projects/docker/minio/data:/data \
  minio/minio server /data --console-address ":9001"

After the server creation, access the application by the webpage: http://localhost:9001/

Go to "Access keys" and create a new one; Save the the key and its secret; Go to the services listed below and change the access keys and secrets variables

  • BdCentralizatorService/centralizator/minioOperations.js
  • BdRejectionCentralizatorService/centralizator/minioOperations.js

Testing suite

To test SFTP, a server was created:

docker run -p 8022:22 -v /home/egonh/projects/docker/sftp:/home/client/recv -d --name sftp_test_svr -e SFTP_USERS="client:clientPass:1001:100:recv" atmoz/sftp

docker run -p 6789:6789 --name mage_testing -v /home/egonh/projects/docker/mageai:/home/src/default_repo mageai/mageai:latest

GrpcService

Project declared on GrpcServiceApplication folder

gRPC application to receive data from source and

Installation and build

After the push of project, please build the maven using the "compile" phase to generate the necessary classes

mvn clean compile -DskipTests 

Rest Service

Project declared on RestServiceApplication folder

Rest application to feed the UIDataCentralizator interface.

DataManagement

This service handle data of document types.

Vue application interface

Project declared on UIDataCentralizator folder

Install the npm application Install the vue client:

npm install -g @vue/cli 

The web application runs by port 8080 Can be started by the command: npm run dev

hdi-framework's People

Contributors

egonholtz avatar

Watchers

 avatar Kostas Georgiou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.