[icinga-checkins] icinga.org: icinga2/master: Validate config objects before trying to activate them.

git at icinga.org git at icinga.org
Tue Feb 5 13:07:21 CET 2013


Module: icinga2
Branch: master
Commit: 7a150d2c291b53a339e2af1aed1139e4aea4c356
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=7a150d2c291b53a339e2af1aed1139e4aea4c356

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Tue Feb  5 13:06:42 2013 +0100

Validate config objects before trying to activate them.

Fixes #3619

---

 icinga-app/icinga.cpp                |   87 ++++++++++++-----------
 lib/base/value.cpp                   |    2 +-
 lib/config/Makefile.am               |    2 +
 lib/config/config.vcxproj            |    2 +
 lib/config/config_parser.cc          |   94 +++++++++++++------------
 lib/config/config_parser.yy          |   14 +++-
 lib/config/configcompiler.cpp        |   89 ++---------------------
 lib/config/configcompiler.h          |   22 +-----
 lib/config/configcompilercontext.cpp |  128 ++++++++++++++++++++++++++++++++++
 lib/config/configcompilercontext.h   |   87 +++++++++++++++++++++++
 lib/config/configitem.cpp            |   35 ++++++++--
 lib/config/configitem.h              |    4 +-
 lib/config/configtype.cpp            |  115 ++++++++++++++++--------------
 lib/config/configtype.h              |   15 ++---
 lib/config/i2-config.h               |    3 +-
 lib/config/typerule.cpp              |    9 ++-
 lib/config/typerule.h                |    3 +-
 lib/config/typerulelist.cpp          |   25 +++++--
 lib/config/typerulelist.h            |   12 +++-
 19 files changed, 473 insertions(+), 275 deletions(-)

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




More information about the icinga-checkins mailing list