stable

Clone or download

Read-only

Project webhook status is logged

This is part of story #9962: trigger a webhook when a project is created For now, you must check directly the table project_webhook_log to see if something is logged. Change-Id: I0f68e87949f8f999e6172d9a0f28f87eb6739b88

Modified Files

Name
M plugins/git/include/Git/Webhook/WebhookRequestSender.php +1 −1 Go to diff View file
M plugins/git/include/Git/Webhook/WebhookResponseReceiver.php +3 −16 Go to diff View file
M src/common/Http/Client.class.php +21 −2 Go to diff View file
M src/common/autoload.php +5 −2 Go to diff View file
M src/common/project/ProjectManager.class.php +6 −3 Go to diff View file
A src/common/project/Webhook/Log/StatusLogger.php +45 −0 Go to diff View file
A src/common/project/Webhook/Log/WebhookLoggerDao.php +39 −0 Go to diff View file
A src/common/project/Webhook/Log/WebhookLoggerDataAccessException.php +25 −0 Go to diff View file
M src/common/project/Webhook/Retriever.php +10 −3 Go to diff View file
M src/common/project/Webhook/Webhook.php +17 −1 Go to diff View file
M src/db/mysql/database_structure.sql +7 −0 Go to diff View file
A src/db/mysql/updates/2017/201703141400_create_table_project_webhook_log.php +51 −0 Go to diff View file
M tests/simpletest/common/Http/ClientTest.php +35 −2 Go to diff View file
M tests/simpletest/common/project/Webhook/RetrieverTest.php +4 −2 Go to diff View file
M tests/simpletest/common/project/Webhook/WebhookTest.php +13 −2 Go to diff View file