ichhabrecht / caretaker-mattermost
Mattermost exitpoint for advanced notification system of EXT:caretaker
Installs: 84
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 3
Open Issues: 3
Type:typo3-cms-extension
pkg:composer/ichhabrecht/caretaker-mattermost
Requires
- caretaker/caretaker: >=1.0.0 <1.99.99
- thibaud-dauce/mattermost-php: ^1.0
- typo3/cms-core: ^7.6 || ^8.7
Requires (Dev)
- nimut/testing-framework: ^2.0 || ^4.0
- phpunit/phpunit: ^4.8 || ^6.5
Suggests
- friendsofphp/php-cs-fixer: Tool to automatically fix PHP coding standards issues
This package is auto-updated.
Last update: 2024-10-19 22:12:25 UTC
README
This extension adds a new exit point to the caretaker.
Installation
Simply install the extension with Composer or the Extension Manager.
Make sure the option Advanced notifications in the caretaker Extension Configuration is enabled.
Usage
-
Go to your
caretaker-sysfolderand switch to list module -
Add a new record of type caretaker
Exitpoint- Add an identifier (e.g. mattermost)
- Add a name (e.g. Mattermost)
- Change the service to Mattermost
- Enter your configuration, at least the endpoint url for your Incoming Webhook is required (see https://docs.mattermost.com/developer/webhooks-incoming.html)
-
Add or extend a record of type caretaker
Strategy- see EXT:caretaker/Classes/services/notifications/advanced/demoConfig.txt for more information
rules {
notifyChannels {
conditions {
event = updatedTestResult
onlyIfStateChanged = 1
}
exit {
mattermost {
}
}
}
}
- Assign the
Strategyto a caretakerInstanceorInstancegroup
Channels
Channels can be defined in the Exitpoint configuration as well as in Instance and/or Instancegroup properties.
Channels set in Instance or Instancegroup are handed down. If you need to mute (remove) a channel again,
you can add a dash before the channel name to remove it from the list.