It's provide a full suite to perform CEP 70% validation process on CORE zone
The Clean Energy Package CEP 70% project provides for increases in exchange capacity at interconnections in the CORE region. The aim of this application is to validate these capacity levels by studying the effect of the increasing capacity on certain study-points of interest of the flow-based domain.
This application is collaborating with RabbitMQ message broker and MinIO object storage.
Application is using Maven as base build framework. Application is simply built with following command.
mvn install
For building Docker image of the application, start by building application.
mvn install
Then build docker image
docker build -t farao/gridcapa-core-valid .
For testing the application locally, it is first needed to start a RabbitMQ server.
The easier solution is to start a Docker container.
docker run --rm --hostname my-rabbit --name my-rabbit -p 5672:5672 -p15672:15672 rabbitmq:3-management
Previous command will start a Docker container running a basic RabbitMQ instance with management UI.
For validating that RabbitMQ has been correctly started, it is possible to connect to the management UI on following URL: http://localhost:15672/ Connect using default credentials (guest/guest).
When connected, management UI appears.
Then, it is needed to start a MinIO server.
Once again, easiest solution is to start a Docker container.
docker run --rm --hostname my-minio --name my-minio -p 9000:9000 minio/minio server /data
Previous command will start a Docker container running a basic MinIO instance with management UI.
For validating that MinIO has been correctly started, it is possible to connect to the management UI on following URL: http://localhost:9000/ Connect using default credentials (minioadmin/minioadmin).
When connected, management UI appears.
Finally, start the server using any IDE.
Core validation server responds to RabbitMQ message. Messages can be sent using RabbitMQ management UI. Navigate to the AMQP Exchanges core-valid-response management page.
It is then possible to publish a message to that exchange using the dedicated UI.