Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ademcatamak/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
https://github.com/ademcatamak/ordermanagement
distributed-locks ordermanagement saga-pattern sample-app
Last synced: about 5 hours ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/ademcatamak/ordermanagement
- Owner: AdemCatamak
- Created: 2020-06-26T14:21:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T20:31:35.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T10:22:05.532Z (over 1 year ago)
- Topics: distributed-locks, ordermanagement, saga-pattern, sample-app
- Language: C#
- Homepage:
- Size: 209 KB
- Stars: 5
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# Order Management
This project is designed for managing order operations by using state machine.
## __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.