stable

Clone or download

Read-only

PHP Backend Messages to mercure realtime server

Allows php backend to send messages to mercure real time server, authorisation part will be done with JWT later Steps to test that it works properly : 1. Install netcat on your dev docker 2. set feature_flag_enable_mercure_dev to 1 3. run "while true ; do echo -e "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n" | nc -l 3000; done" in bash-web 4. delete a kanban on your local tuleap instance 5. a message should appear in the bash-web terminal Part of story #28301 Have Kanban realtime be Mercure based Change-Id: I038d8c1b21fa853a3c0e8dad417d3068535bc591

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +17 −1 Go to diff View file
M src/common/Config/GetConfigKeys.php +2 −0 Go to diff View file
A src/common/RealTimeMercure/Client.php +25 −0 Go to diff View file
A src/common/RealTimeMercure/MercureClient.php +75 −0 Go to diff View file
A src/common/RealTimeMercure/MercureMessageDataPresenter.php +29 −0 Go to diff View file
A tests/unit/common/RealTimeMercure/MercureClientTest.php +100 −0 Go to diff View file