robocin / ssl-core

MIT License
11 stars 0 forks source link

Add gateway initial implementation and architecture #79

Closed aalmds closed 1 month ago

aalmds commented 4 months ago

This PR contains the first version of gateway allowing:

In general, the components can be divided into three controllers as thread that handle each communication:

g2

It also adds the first version of service_domain.json file containing the service names and parameters needed until now, with a service_discovery implementation using singleton design pattern provided by singleton.h.

To allow third parties communication, it adds a poller implementation aiming to check events in different sockets. However the version here provided only uses one external component, (vision third party). Concerns related to this are issued in #87.

Some restrictions are applied:

Notice, this is only a preliminary approach to release further development of frontend and backend services without blocking the communication between them. The final version will study a better approach to synchronous communication (see #80).

Due the current priority, other improvements will be added with the final version: