mock-source-system
Mock component to retrieve financial claim data from source system.
Installation
Prerequisites:
- Download the required Go dependencies:
go mod download
- Now start the mock source system:
go run cmd/mock-source-system/main.go
By default, the mock source system will run on port 80
.
Adding mocks
We use GoMock to generate mocks.
When you make updates to code for which there are mocks, you should regenerate the mocks.
Regenerating mocks
sh scripts/regenerate-gomock-files.sh
Deployment