Skip to content
HammerheadShark666 edited this page Sep 23, 2024 · 14 revisions

Azure Function - Registration (mos-register-user-func)

The mos-register-user-func is a http triggered Azure function.

The endpoint is:

  • Post - /register, register a user.

The function allows a user to register on to the system.

The function saves the users details to the user database/table and places the users details onto the Service Bus (sbns-microservices-order-system) queues sbq-registered-user-customer and sbq-registered-user-customer-address.

 

Register 2

The Registration function is based on .NET 8 and uses the MediatR design pattern.

The Github repository is integrated with Azure to provide continuous integration and continuous deployment (CI/CD) to an Azure Function.

The workflow that carries out the CI/CD also executes unit tests and a Postman collection of tests on the deployed function.

Code

The code for mos-register-user-func can be found at code

Clone this wiki locally