Migrate to Websocket #2

Open
opened 8 months ago by lauri · 0 comments
lauri commented 8 months ago
Owner

Current codebase is quite a spaghetti and people get confused what is where and why

I suggest first moving all door related code from presence proxy to doorboy proxy and switch over to WebSocket to simplify communication

Current codebase is quite a spaghetti and people get confused what is where and why * Swipes are entered to `eventlog` collection in presence proxy https://git.k-space.ee/k-space/presence-proxy/src/branch/master/main.py#L65 * Slack talks to API endpoint in member site which inserts events to `eventlog` https://git.k-space.ee/k-space/members-site/src/branch/master/app/main.py#L1349 * Members site buttons insert events to `eventlog` https://git.k-space.ee/k-space/members-site/src/branch/master/app/main.py#L349 * Card management is inside members site * UID hash allowed list and open door commands from `eventlog` are served by doorboy proxy https://git.k-space.ee/k-space/doorboy-proxy/src/branch/master/main.py I suggest first moving all door related code from presence proxy to doorboy proxy and switch over to WebSocket to simplify communication
lauri added a new dependency 8 months ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Blocks
#3 Add some unittests
k-space/doorboy-proxy
Loading…
There is no content yet.