stable

Clone or download

Read-only

Closes request #31180: Setup Tuleap Realtime server automatically

The server is now deployed by default without any additional changes from the administrators. The base path of the Socket.io server has been changed from `/socket.io` to `/local-socket.io` to avoid conflicts on customized the nginx configurations. The server now listen only on localhost on port 2999/TCP. To test: 1. Build the RPM package and install it on your dev instance 2. Run `tuleap-cfg site-deploy` 3. Run `systemctl restart tuleap nginx` Change-Id: Ia91e9b66cc925f2280f8415191c87613c7f518dc

Modified Files

Name
M Makefile +0 −1 Go to diff View file
M doc/realtime.md +17 −157 Go to diff View file
M docker-compose.yml +0 −18 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/KanbanPresenter.class.php +0 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanColumnsResource.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/app-main-controller.js +0 −2 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/filter-tracker-report/filter-tracker-report-service.js +5 −15 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/filter-tracker-report/filter-tracker-report-service.test.js +9 −192 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/shared-properties/shared-properties-service.js +1 −11 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/socket/socket-factory.js +7 −11 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/socket/socket-service.js +7 −10 Go to diff View file
M plugins/agiledashboard/templates/kanban.mustache +0 −1 Go to diff View file
M plugins/agiledashboard/templates/widgets/widget-kanban.mustache +0 −1 Go to diff View file
M plugins/tee_container/include/StartContainerCommand.php +0 −3 Go to diff View file
M plugins/testmanagement/include/TestManagement/IndexPresenter.class.php +0 −5 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/CampaignsResource.class.php +1 −1 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/ExecutionsResource.class.php +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/app-controller.js +0 −2 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-list-header/execution-list-header-controller.js +0 −5 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-list-header/execution-list-header.tpl.html +0 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/shared-properties/shared-properties-service.js +0 −11 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/socket/socket-factory.js +9 −16 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/socket/socket-service.js +10 −14 Go to diff View file
M plugins/testmanagement/templates/index.mustache +0 −1 Go to diff View file
M src/additional-packages/tuleap-realtime.nix +0 −1 Go to diff View file
M src/additional-packages/tuleap-realtime/package.json +0 −4 Go to diff View file
M src/additional-packages/tuleap-realtime/packaging/tuleap-realtime.spec +3 −5 Go to diff View file
M src/additional-packages/tuleap-realtime/packaging/tuleap-realtime.systemd-service +7 −3 Go to diff View file
M src/additional-packages/tuleap-realtime/pnpm-lock.yaml +5 −170 Go to diff View file
M src/additional-packages/tuleap-realtime/src/backend/controllers/main-controller.js +2 −2 Go to diff View file
D src/additional-packages/tuleap-realtime/src/config/config.js +0 −81 Go to diff View file
D src/additional-packages/tuleap-realtime/src/config/config.json +0 −8 Go to diff View file
M src/additional-packages/tuleap-realtime/src/server.js +10 −24 Go to diff View file
M src/common/JWT/REST/v1/JWTResource.class.php +18 −4 Go to diff View file
M src/common/realTime/NodeJSClient.php +5 −23 Go to diff View file
M src/etc/local.inc.dist +0 −18 Go to diff View file
R src/tuleap-cfg/resources/realtime.conf Go to diff View file
D src/tuleap-cfg/Command/Docker/Realtime.php +0 −144 Go to diff View file
M src/tuleap-cfg/Command/Docker/Supervisord.php +2 −0 Go to diff View file
A src/tuleap-cfg/Command/SiteDeploy/Realtime/SiteDeployRealtime.php +49 −0 Go to diff View file
A src/tuleap-cfg/Command/SiteDeploy/Realtime/SiteDeployRealtimeCommand.php +49 −0 Go to diff View file
D src/tuleap-cfg/resources/realtime.ini +0 −4 Go to diff View file
M src/tuleap-cfg/tuleap-cfg.php +1 −0 Go to diff View file
M tests/integration/_fixtures/local.inc +0 −13 Go to diff View file
M tests/rest/bin/setup.sh +0 −1 Go to diff View file
M tests/unit/common/RealTime/NodeJSClientTest.php +1 −6 Go to diff View file
D tools/docker/realtime/Dockerfile +0 −9 Go to diff View file
D tools/docker/realtime/Tuleap.repo +0 −7 Go to diff View file
D tools/docker/realtime/run.sh +0 −19 Go to diff View file
M tools/docker/reverse-proxy/nginx.conf +1 −7 Go to diff View file
A tools/docker/tuleap-aio-c7/supervisor.d/realtime.ini +5 −0 Go to diff View file
A tools/docker/tuleap-aio-c7/supervisor.d/start-tuleap-realtime.sh +4 −0 Go to diff View file
M tools/docker/tuleap-aio-dev/run.sh +0 −10 Go to diff View file
M tools/rpm/tuleap.rhel7.spec +1 −0 Go to diff View file
M tools/utils/osv-scanner/config.toml +0 −28 Go to diff View file