Restful API providing EPR data for reporting purposes.
In order to run the service you will need the following dependencies
- .NET 8
On EPR.CommonDataService.API directory, execute
dotnet run
Then run in terminal at the CommonDataService solution root:
docker build -t commondataservice -f EPR.CommonDataService.API/Dockerfile .
Then after that command has completed run:
docker run -p 5291:3000 --name commondataservicecontainer commondataservice
Do a GET Request to http://localhost:5001/admin/health
to confirm that the service is running
NB: The docker build command will not execute successfully on a machine that has Zscaler installed.
On root directory, execute
dotnet test
N/A
N/A
N/A
The structure of the appsettings can be found in the repository. Example configurations for the different environments can be found in epr-app-config-settings.
N/A
N/A
N/A
Health check - {environment}/admin/health
EPR.CommonDataService.Api
- API .NET source filesEPR.CommonDataService.Api.UnitTests
- API .NET unit test filesEPR.CommonDataService.Core
- CORE .NET source filesEPR.CommonDataService.Core.UnitTests
- CORE .NET unit test filesEPR.CommonDataService.Data
- DATA .NET source filesEPR.CommonDataService.Data.UnitTests
- DATA .NET unit test files
Please read the contribution guidelines before submitting a pull request.