[icinga-checkins] icinga.org: icinga2/feature/ido: livestatus: use generic Value() as row accessor instead of Object()

git at icinga.org git at icinga.org
Thu Jul 11 09:03:51 CEST 2013


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

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed Jul 10 14:06:46 2013 +0200

livestatus: use generic Value() as row accessor instead of Object()

This will allow comments/downtimes to be stashed as string (id) while
existing objects will still be available as Value().

refs #4372

---

 components/livestatus/commandstable.cpp      |    4 +-
 components/livestatus/commandstable.h        |    4 +-
 components/livestatus/commentstable.cpp      |   65 +++---
 components/livestatus/commentstable.h        |   25 ++-
 components/livestatus/contactgroupstable.cpp |   12 +-
 components/livestatus/contactgroupstable.h   |    6 +-
 components/livestatus/contactstable.cpp      |   40 ++--
 components/livestatus/contactstable.h        |   32 ++--
 components/livestatus/downtimestable.cpp     |   46 ++---
 components/livestatus/downtimestable.h       |   22 +-
 components/livestatus/hostgroupstable.cpp    |   12 +-
 components/livestatus/hostgroupstable.h      |    6 +-
 components/livestatus/hoststable.cpp         |  318 +++++++++++++-------------
 components/livestatus/hoststable.h           |  220 +++++++++---------
 components/livestatus/logtable.cpp           |   30 ++--
 components/livestatus/logtable.h             |   30 ++--
 components/livestatus/servicegroupstable.cpp |   12 +-
 components/livestatus/servicegroupstable.h   |    6 +-
 components/livestatus/servicestable.cpp      |  248 ++++++++++----------
 components/livestatus/servicestable.h        |  162 +++++++-------
 components/livestatus/statustable.cpp        |   98 ++++----
 components/livestatus/statustable.h          |   98 ++++----
 components/livestatus/table.h                |    2 +-
 23 files changed, 747 insertions(+), 751 deletions(-)

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




More information about the icinga-checkins mailing list