[icinga-checkins] icinga.org: icinga-web/jmosshammer/apiIntegration: * Create icinga proxy classes for doctrine access, added tests, started handlers for messed up db relations like contacts

git at icinga.org git at icinga.org
Fri Jan 14 14:26:48 CET 2011


Module: icinga-web
Branch: jmosshammer/apiIntegration
Commit: 2de78d883a2cb94c708884ac4bd9b034f24b1f34
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=2de78d883a2cb94c708884ac4bd9b034f24b1f34

Author: jmosshammer <jmosshammer at ws-jmosshammer.(none)>
Date:   Fri Jan 14 14:25:35 2011 +0100

* Create icinga proxy classes for doctrine access, added tests, started handlers for messed up db relations like contacts

---

 app/modules/Api/config/autoload.xml                |    4 +-
 .../Api/lib/database/IcingaDoctrineTable.class.php |   22 ++++
 .../models/IcingaAcknowledgementsTable.php         |    2 +-
 .../lib/database/models/IcingaCommandsTable.php    |    2 +-
 .../database/models/IcingaCommenthistoryTable.php  |    2 +-
 .../lib/database/models/IcingaCommentsTable.php    |    2 +-
 .../lib/database/models/IcingaConfigfilesTable.php |    2 +-
 .../models/IcingaConfigfilevariablesTable.php      |    2 +-
 .../lib/database/models/IcingaConninfoTable.php    |    2 +-
 .../models/IcingaContactAddressesTable.php         |    2 +-
 .../IcingaContactNotificationcommandsTable.php     |    2 +-
 .../models/IcingaContactgroupMembersTable.php      |    2 +-
 .../database/models/IcingaContactgroupsTable.php   |    2 +-
 .../IcingaContactnotificationmethodsTable.php      |    2 +-
 .../models/IcingaContactnotificationsTable.php     |    2 +-
 .../lib/database/models/IcingaContactsTable.php    |    2 +-
 .../database/models/IcingaContactstatusTable.php   |    2 +-
 .../database/models/IcingaCustomvariablesTable.php |    2 +-
 .../models/IcingaCustomvariablestatusTable.php     |    2 +-
 .../lib/database/models/IcingaDbversionTable.php   |    2 +-
 .../database/models/IcingaDowntimehistoryTable.php |    2 +-
 .../database/models/IcingaEventhandlersTable.php   |    2 +-
 .../models/IcingaExternalcommandsTable.php         |    2 +-
 .../database/models/IcingaFlappinghistoryTable.php |    2 +-
 .../models/IcingaHostContactgroupsTable.php        |    2 +-
 .../database/models/IcingaHostContactsTable.php    |    2 +-
 .../database/models/IcingaHostParenthostsTable.php |    2 +-
 .../lib/database/models/IcingaHostchecksTable.php  |    2 +-
 .../models/IcingaHostdependenciesTable.php         |    2 +-
 .../IcingaHostescalationContactgroupsTable.php     |    2 +-
 .../models/IcingaHostescalationContactsTable.php   |    2 +-
 .../database/models/IcingaHostescalationsTable.php |    2 +-
 .../models/IcingaHostgroupMembersTable.php         |    2 +-
 .../lib/database/models/IcingaHostgroupsTable.php  |    2 +-
 .../Api/lib/database/models/IcingaHosts.php        |   15 ++-
 .../Api/lib/database/models/IcingaHostsTable.php   |    9 +-
 .../lib/database/models/IcingaHoststatusTable.php  |    2 +-
 .../lib/database/models/IcingaInstancesTable.php   |    2 +-
 .../lib/database/models/IcingaLogentriesTable.php  |    2 +-
 .../database/models/IcingaNotificationsTable.php   |    2 +-
 .../Api/lib/database/models/IcingaObjectsTable.php |    2 +-
 .../database/models/IcingaProcesseventsTable.php   |    2 +-
 .../database/models/IcingaProgramstatusTable.php   |    2 +-
 .../models/IcingaRuntimevariablesTable.php         |    2 +-
 .../models/IcingaScheduleddowntimeTable.php        |    2 +-
 .../models/IcingaServiceContactgroupsTable.php     |    2 +-
 .../database/models/IcingaServiceContactsTable.php |    2 +-
 .../database/models/IcingaServicechecksTable.php   |    2 +-
 .../models/IcingaServicedependenciesTable.php      |    2 +-
 .../IcingaServiceescalationContactgroupsTable.php  |    2 +-
 .../IcingaServiceescalationContactsTable.php       |    2 +-
 .../models/IcingaServiceescalationsTable.php       |    2 +-
 .../models/IcingaServicegroupMembersTable.php      |    2 +-
 .../database/models/IcingaServicegroupsTable.php   |    2 +-
 .../lib/database/models/IcingaServicesTable.php    |    2 +-
 .../database/models/IcingaServicestatusTable.php   |    2 +-
 .../database/models/IcingaStatehistoryTable.php    |    2 +-
 .../database/models/IcingaSystemcommandsTable.php  |    2 +-
 .../database/models/IcingaTimedeventqueueTable.php |    2 +-
 .../lib/database/models/IcingaTimedeventsTable.php |    2 +-
 .../models/IcingaTimeperiodTimerangesTable.php     |    2 +-
 .../lib/database/models/IcingaTimeperiodsTable.php |    2 +-
 .../models/generated/BaseIcingaContactgroups.php   |    8 +-
 .../models/generated/BaseIcingaCustomvariables.php |   31 ++++-
 .../generated/BaseIcingaHostContactgroups.php      |    8 +-
 .../generated/BaseIcingaHostgroupMembers.php       |   15 ++-
 .../models/generated/BaseIcingaHostgroups.php      |    2 +-
 .../database/models/generated/BaseIcingaHosts.php  |   11 ++-
 app/modules/Api/lib/database/models/replace.sh     |    7 +
 .../Api/models/ApiDataFilterModel.class.php        |   13 +-
 .../Api/models/ApiDataRequestDescriptorModel.php   |   46 +++++++
 .../Api/models/ApiDataRequestModel.class.php       |   49 +-------
 .../Api/models/ApiHostRequestModel.class.php       |   21 +++
 .../Api/models/ApiHostgroupRequestModel.class.php  |   10 ++
 .../Api/models/ApiServiceRequestModel.class.php    |    6 +
 .../models/ApiServicegroupRequestModel.class.php   |    5 +
 etc/tests/config/suites.xml                        |   12 +-
 etc/tests/tests/api/hosts/HostDetailTest.php       |  128 +++++++++++++++-----
 78 files changed, 365 insertions(+), 173 deletions(-)

Diff:   https://git.icinga.org/?p=icinga-web.git;a=commitdiff;h=2de78d883a2cb94c708884ac4bd9b034f24b1f34




More information about the icinga-checkins mailing list