Page MenuHomeDevCentral

Expose notifications from RabbitMQ as SSE
Changes PlannedPublic

Authored by DorianWinty on Oct 22 2022, 19:48.
Tags
None
Referenced Files
F44266251: D2718.id7007.diff
Sun, Aug 16, 06:59
F44261682: D2718.id6895.diff
Sun, Aug 16, 06:34
F44241036: D2718.id.diff
Sun, Aug 16, 04:22
F44220534: D2718.id6894.diff
Sun, Aug 16, 01:47
F44189726: D2718.id7007.diff
Sat, Aug 15, 20:58
F44189695: D2718.id6895.diff
Sat, Aug 15, 20:58
F44147984: D2718.diff
Sat, Aug 15, 14:09
Unknown Object (File)
Fri, Aug 14, 19:39
Subscribers
None

Details

Summary

When a payload reaches the Notifications center,
the resulting notification is sent to RabbitMQ.

This API allows to consume notifications from RabbitMQ on JS code,
for example to offer a HTML page with the notifications stream.

References:

Ref T1682

Test Plan

Test with D2712 as SSE consumer.

Diff Detail

Repository
rAPINSSE Notifications Center SSE API
Lint
Lint Errors
SeverityLocationCodeMessage
Errorrabbitmq-flask-client.py:5F401flake8 F401
Errorrabbitmq-flask-client.py:7F401flake8 F401
Errorrabbitmq-flask-client.py:44E501PEP8 E501
Errorrabbitmq-flask-client.py:44E501flake8 E501
Errorrabbitmq-flask-client.py:54F841flake8 F841
Errorrabbitmq-flask-client.py:56E501PEP8 E501
Errorrabbitmq-flask-client.py:56E501flake8 E501
Unit
No Test Coverage
Branch
api
Build Status
Buildable 4291
Build 4558: arc lint + arc unit

Event Timeline

DorianWinty created this revision.
dereckson retitled this revision from Create the python api to Create the Python API.Dec 27 2022, 11:25
dereckson edited the summary of this revision. (Show Details)
dereckson retitled this revision from Create the Python API to Expose notifications from RabbitMQ as SSE.Jan 22 2023, 22:37
dereckson edited the summary of this revision. (Show Details)
dereckson edited the test plan for this revision. (Show Details)
DorianWinty edited the test plan for this revision. (Show Details)

+ auth with HVAC for vault
+ config from a file

broker.py
30 ↗(On Diff #7007)

line should be removed