/manager

Manager is an app to manage the versioning of any apps deployed. Written using php Hyperf framework running with swoole async server, following DDD concepts and written over clean architecture.

Primary LanguagePHP

Manager

How run

Here are all you need to run the project

sudo ./start.sh

The flow

  1. Github sends notification of event occoured to system.
  2. System create coroutine to parameterize the data and publish on intern queue
  3. System at the same time send the response to github indicates that notification was received.

In parallel, exist an process running while application alive to listen the intern queue that received the parameterized data.

  1. The process pass the message consumed to event processor in order to handle with specific each event behavior.

Depends on event type, the event processor can save it on database, enqueue data on more specific event queue to do other actions in many other contexts, or make an more specific action. Basically, the behavior depends of event type consumed.