The Submission API is a .NET Core Web API that will receive, validate and place UNCEFACT payloads on an Azure Service Bus Queue.
You can either run the application directly on your local machine or via Docker.
If not already installed, you will need Docker Desktop.
- Open terminal and
cdinto the root of the repository - Run
docker-compose build - Run
docker-compose up
Following the completion of the steps above, the application should now be running on port 5244.
If not already installed, you will need:
- .NET 8 Runtime and SDK - Microsofts .NET 8 Downloads
The environment variables can be set by creating appsettings.Development.json
in src/STW.SubmissionApi.Presentation/:
{
"ServiceBusConnectionString": "<service-bus-connection-string>",
"ServiceBusQueueName": "<queue-name>"
}- Open terminal and
cdinto thesrc/STW.SubmissionApi.Presentationdirectory - Run
dotnet run
Following the completion of the steps above, the application should now be running on the port specified in the console output.
THIS INFORMATION IS LICENSED UNDER THE CONDITIONS OF THE OPEN GOVERNMENT LICENCE found at:
http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3
The following attribution statement MUST be cited in your products and applications when using this information.
Contains public sector information licensed under the Open Government licence v3
The Open Government Licence (OGL) was developed by the Controller of Her Majesty's Stationery Office (HMSO) to enable information providers in the public sector to license the use and re-use of their information under a common open licence.
It is designed to encourage use and re-use of information freely and flexibly, with only a few conditions.