Data Integration Framework
Project declared on MqSftpService folder
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
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
Project declared on GrpcServiceApplication folder
gRPC application to receive data from source and
After the push of project, please build the maven using the "compile" phase to generate the necessary classes
mvn clean compile -DskipTests
Project declared on RestServiceApplication folder
Rest application to feed the UIDataCentralizator interface.
This service handle data of document types.
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