The FIGARO Validation Service provides seven operations completely replacing the legacy FIGARO Validation services previously hosted on webMethods.
Health check and self documenting Swagger-UI endpoints are also included.
These include:
- locateMatchingApplicants
- validateApplicantForSharing
- validateApplicantPartyId
- validateApplicantService
- validateFacilityParty
- validateOrgDrawDownBalance
- validateOrgParty
See Installing section for running the application locally. Refer to the https://github.com/bcgov/jag-dps/blob/master/README.md on how to build and deploy the project within a Docker container.
Environment variables should be used to configure the Figaro Validation service app
set the
cloud
active profile in order to activate environment variables overwriting:spring_profiles_active=cloud
Add the following flags
Environment Variable | Description | Notes |
---|---|---|
FIGCR_BASE_URL | ORDS FIG SERVICE URL | |
FIGCR_USERNAME | ORDS FIG SERVICE USERNAME | |
FIGCR_PASSWORD | ORDS FIG SERVICE PASSWORD |
This service uses Spring Boot Actuator https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-features.html#production-ready-enabling to expose health endpoints.
The default health is available at /figvalidationservice/actuator/health
Run
mvn clean install
Run
mvn spring-boot:run
http://localhost:8081/figvalidationservice/locateMatchingApplicants
http://localhost:8081/figvalidationservice/validateApplicantService
http://localhost:8081/figvalidationservice/validateApplicantForSharing
http://localhost:8081/figvalidationservice/validateApplicantPartyId
others when complete here
http://localhost:8081/figvalidationservice/actuator/health
http://localhost:8081/figvalidationservice/swagger-ui.html
Run
mvn test
Explain what these tests test and why
Give an example
Explain what these tests test and why
Give an example
TBD
TBD
TBD
TBD
TBD