Revalidation V2
- Java 11
- Maven
- Docker
- Provide
SENTRY_DSN
andSENTRY_ENVIRONMENT
as environmental variables during deployment and need to make the SENTRY_ENVIRONMENT dynamic in the future.
mvn clean install
cd application
mvn clean package spring-boot:run
mvn clean verify -Pintegration-tests
Above command will setup docker environment on your local machine before it execute integration tests from integration-tests module.
http://localhost:8080/revalidation/swagger-ui/index.html
This job ensures the list of doctors stored in DoctorsForDB is kept up to date with GMC Connect. We do this because a Doctor's connection and revalidation info can change without notice to us. This job consists of the following steps:
- Send a "start" message to the Gmc Client Service (separate repository, not to be confused with service class in this project)
- The Gmc Client Service returns a message per Designated Body, containing connected doctors
- Each returned doctor's information is updated
- Any doctors which were previously updated from the GMC but weren't in the last message have the connection removed
This job checks the current status of each Recommendation in GMC connect as we are not directly informed of Approval/Rejections. This job consists of the following steps:
- For each Recommendation awaiting GMC action, send a message to the Gmc Client Service (separate repository, not to be confused with service class in this project)
- The Gmc Client Service will call the checkRecommendationStatus Api Endpoint at GMC Connect and return the result in a message
- The returned message is used to update the TIS (doctorStatus) and GMC status of a doctor.