2017 © Pedro Peláez
 

project health-checker-incident

Health checker incident REST microservice

image

tonicforhealth/health-checker-incident

Health checker incident REST microservice

  • Thursday, July 28, 2016
  • by drefixs
  • Repository
  • 3 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Health checker incident REST microservice

License Build Status Scrutinizer Code Quality Code Coverage SensioLabsInsight, (*1)

This service allows Health board system to use interface for aggregating incidents and performs notification transmit for heterogeneous subjects., (*2)

## 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:, (*3)

Then set up config for it and other subject items app/config/parameter.php:, (*4)

...
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)
  • email

The Versions