SkillAgentSearch skills...

OrderManagement

Orchestration based Saga => https://medium.com/@ademcatamak/koordinat%C3%B6r-tabanl%C4%B1-saga-tasar%C4%B1m%C4%B1-sipari%C5%9F-y%C3%B6netimi-4db5fc546f68

Install / Use

/learn @AdemCatamak/OrderManagement
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Order Management

This project is designed for managing order operations by using state machine.

<img src="./images/state-diagram.png" alt="" width="800px"/>

RUN

Way 1

The project could be executed via docker-compose. If you have an IDE which is capable of debugging docker-compose file, docker-compose.yml which is located at the main directory would be useful for you.

In case of choosing this way to run the project, you can reach swagger screen via http://localhost:2000.

Note: Because the sql server needs more time to be ready compared to OrderManagement-Api, it might take a while for you to reach the endpoints after docker-compose up command execution.

Way 2

If you want to execute the project without using docker, it is required that you set the connection strings inside the OrderManagement/appsettings.json file.

Changes to be made are:

  1. DbConfig -> DbOptions -> ConnectionStr value should be changed with the Sql Server connection string that you have.
  2. DistributedLockConfig -> DistributedLockOptions -> ConnectionStr value should be changed with the Sql Server connection string that you have.
  3. MassTransitConfig -> MassTransitOptions -> HostName, VirtualHost, Username, Password values should be changed with the RabbitMq platform information that you have.

In the first item if the connection string information is invalid, application will crash immediately. In order to check if the remaining settings are valid, you can use http://localhost:5000/healthchecks-ui endpoint.

<img src="./images/health-checks-ui.png" alt="" width="800px"/>
View on GitHub
GitHub Stars5
CategoryDevelopment
Updated2y ago
Forks5

Languages

C#

Security Score

60/100

Audited on Dec 18, 2023

No findings