naparuba/shinken — pull request #1338 by geektophe (2014-10-11 12:01:59+00:00)
Title: Use standard macros expansion in bp_rules output templates

This patch replaces the limited set of expression expanded in business rules output templates by a standard and full macro expansion using the `MacroResolver` class.

The common `STATUS`, `SHORTSTATUS` and `FULLNAME` macros are also added to ease output templates writing on business rules using mixed hosts and services.

**Caution**

The previous macro `SHORT_STATUS` is now replaced by `SHORTSTATUS`, the `HOST_NAME` is now replaced by the standard `HOSTNAME`, as of `SERVICE_DESCRIPTION` which is replaced by `SERVICEDESC`.

This patch **breaks compatibility** with previous business rules templates (because of the macro names normalization), but brings full macro expansion, which is in my opinion much powerful.

**Note**

This also fixes https://github.com/naparuba/shinken/issues/1220