tonicforhealth / health-checker-incident
Health checker incident REST microservice
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.5.9
- doctrine/doctrine-bundle: ~1.6
- doctrine/doctrine-cache-bundle: ~1.2
- doctrine/orm: ~2.5
- gremo/hmac-authentication-bundle: ^0.1.1
- incenteev/composer-parameter-handler: ~2.0
- jms/serializer-bundle: ~1.1
- puli/composer-plugin: dev-classmap as 1.0-beta10
- puli/symfony-bundle: ~1.0
- sensio/distribution-bundle: ~5.0
- sensio/framework-extra-bundle: ~3.0.2
- symfony/monolog-bundle: ~2.8
- symfony/symfony: 3.0.*
- tonicforhealth/health-checker-incident-component: ~0.1
Requires (Dev)
- phpunit/phpunit: ~4.8
- sensio/generator-bundle: ^3.0
- symfony/phpunit-bridge: ^3.0
This package is not auto-updated.
Last update: 2024-11-18 13:42:37 UTC
README
This service allows Health board system to use interface for aggregating incidents and performs notification transmit for heterogeneous subjects.
Requirements
- PHP 5.5 or higher
- ext-pdo_sqlite
- ext-imap
Installation using Composer
composer create-project tonicforhealth/health-checker-incident
Setup
For the correct run of health-checker-incident app you need to install cachet:
Then set up config for it and other subject items app/config/parameter.php:
...
incident.notifications.subjects:
file:
file1:
target: 'fileName'
request:
cached:
target: 'http://localhost:8000/api/v1'
email:
drefixs:
schedule: '* * 0,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,30,31 * * *'
target: email@example.com
...
Run of the app using symfony built in server
bin/console server:run
Run of the app with docker-compose
git clone git@github.com:tonicforhealth/health-checker-incident-docker.git cd health-checker-incident-docker cp config/parameters.default.yml config/parameters.yml vi config/parameters.yml # set up right config docker-compose up -d incident-web
What notification types it has:
- file
- request (cachet)