[icinga-checkins] icinga.org: icinga2/feature/codegen: Refactor apply/object rules

git at icinga.org git at icinga.org
Thu Nov 20 21:41:02 CET 2014


Module: icinga2
Branch: feature/codegen
Commit: 0078e00c1366a80a5fe9adb0b2e7b9e19aba67af
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=0078e00c1366a80a5fe9adb0b2e7b9e19aba67af

Author: Gunnar Beutner <gunnar at beutner.name>
Date:   Sun Nov 16 16:20:39 2014 +0100

Refactor apply/object rules

fixes #7700

---

 lib/config/applyrule.cpp               |  102 +++++++++++++++---------------
 lib/config/applyrule.hpp               |   15 +++--
 lib/config/configitem.cpp              |  106 ++++++++++++++++++++------------
 lib/config/configitem.hpp              |   17 +++--
 lib/config/configitembuilder.cpp       |   10 ++-
 lib/config/configitembuilder.hpp       |    2 +
 lib/config/expression.cpp              |    9 ++-
 lib/config/objectrule.cpp              |   64 ++-----------------
 lib/config/objectrule.hpp              |   29 ++-------
 lib/icinga/dependency-apply.cpp        |   89 ++++++++++-----------------
 lib/icinga/dependency.hpp              |   11 ++--
 lib/icinga/host.cpp                    |    9 +++
 lib/icinga/hostgroup.cpp               |   45 ++++++--------
 lib/icinga/hostgroup.hpp               |    8 +--
 lib/icinga/notification-apply.cpp      |   90 +++++++++++----------------
 lib/icinga/notification.hpp            |   11 ++--
 lib/icinga/scheduleddowntime-apply.cpp |   89 ++++++++++-----------------
 lib/icinga/scheduleddowntime.hpp       |   11 ++--
 lib/icinga/service-apply.cpp           |   35 +++--------
 lib/icinga/service.cpp                 |    6 ++
 lib/icinga/service.hpp                 |    8 +--
 lib/icinga/servicegroup.cpp            |   45 ++++++--------
 lib/icinga/servicegroup.hpp            |    8 +--
 lib/icinga/user.cpp                    |    3 +
 lib/icinga/usergroup.cpp               |   45 ++++++--------
 lib/icinga/usergroup.hpp               |    8 +--
 26 files changed, 379 insertions(+), 496 deletions(-)

Diff:   https://git.icinga.org/?p=icinga2.git;a=commitdiff;h=0078e00c1366a80a5fe9adb0b2e7b9e19aba67af


More information about the icinga-checkins mailing list