This API is made up of multiple projects:
- soa-gateway-api
- soa-gateway-service
This application requires a consistent connection to Oracle SOA.
The soa-gateway-api project is a lightweight api interface that is generated using the open-api generator. The open-api-specification.yml needs to be kept up to date.
The interface is generated using openApiGenerate task. This task is triggered as part of a gradle build. The tasks have also been configured so that when you run a gradle clean, all generated code will also be cleared.
The soa-gateway-service implements the api interface generated in the soa-gateway-api subproject. This service handles all interactions with Oracle's SOA. Multiple SOA wsdl files are imported and used to generate the model and client classes required to call the SOA WebService endpoints.
To run this service locally, you will need to set two environment variables:
LAA_CCMS_SOAGATEWAY_USERNAMELAA_CCMS_SOAGATEWAY_PASSWORD
To get the values for these two variables, contact another developer on the team.
In addition to setting these environment variables, you will need https://github.com/ministryofjustice/laa-ccms-mock-contracts to be running for local and dev profiles.
This API uses components from the LAA CCMS Common Library:
Follow the contribution guide to make code changes.