MDrivenServer Slack web hook
No edit summary
No edit summary
Line 1: Line 1:
When you are multiple developers all working against a common MDrivenServer for development you will need to communicate with your friends when you evolve the database. If you do not and they execute the system with an old model they get a lot of mismatch errors.
When multiple developers are working against a common MDrivenServer for development, you will need to communicate with all the developers when you evolve the database. If you do not and they execute the system with an old model, they will get a lot of mismatch errors.


We had the agreed rule to write a line in Slack when evolving the dev-database. We usually just wrote “Evolve dev” – and this was a signal to developers that they must merge new code from git and rebuild before testing.
We have an agreed rule to write a line in Slack when evolving the dev-database. We usually write “Evolve dev”. This is a signal to developers that they must merge new code from git and rebuild before testing.


Slack is a much used collaboration tool – and it is easy to add integration to slack.
Slack is a much-used collaboration tool – it is easy to add integration to Slack.


So we added a web-hook integration that you can set:
We added a web-hook integration you can set:


[[File:Slack - 1 .png|frameless|508x508px]]
[[File:Slack - 1 .png|frameless|508x508px]]


And now whenever someone Evolves the Dev system I get this in my slack channel of choice:
Whenever someone Evolves the Dev system now, I get this in my slack channel of choice:


[[File:Slack - 2.png|frameless|579x579px]]
[[File:Slack - 2.png|frameless|579x579px]]


To set this up you need to create a web hook in slack –> its just an url that we use with Rest to write JSon –> set it in the MDrivenServers you want to track. In MDrivenTurnkey you find the MDrivenServer on the <turnkeyurl>/__MDrivenServer
To set this up, you need to create a webhook in Slack –> it is a URL that we use with Rest to write JSon –> and set it in the MDrivenServers you want to track. In MDrivenTurnkey, you can find the MDrivenServer on the <turnkeyurl>/__MDrivenServer.
[[Category:MDriven Server]]
[[Category:MDriven Server]]

Revision as of 09:14, 7 February 2023

When multiple developers are working against a common MDrivenServer for development, you will need to communicate with all the developers when you evolve the database. If you do not and they execute the system with an old model, they will get a lot of mismatch errors.

We have an agreed rule to write a line in Slack when evolving the dev-database. We usually write “Evolve dev”. This is a signal to developers that they must merge new code from git and rebuild before testing.

Slack is a much-used collaboration tool – it is easy to add integration to Slack.

We added a web-hook integration you can set:

Slack - 1 .png

Whenever someone Evolves the Dev system now, I get this in my slack channel of choice:

Slack - 2.png

To set this up, you need to create a webhook in Slack –> it is a URL that we use with Rest to write JSon –> and set it in the MDrivenServers you want to track. In MDrivenTurnkey, you can find the MDrivenServer on the <turnkeyurl>/__MDrivenServer.

This page was edited 12 days ago on 06/17/2024. What links here