[icinga-checkins] icinga.org: icinga-web/jmosshammer/default: * Removed the icinga-api dependencies and created Commanddispatcher, several fixes in relations

git at icinga.org git at icinga.org
Wed Jul 27 10:53:49 CEST 2011


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

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Wed Jul 27 10:53:14 2011 +0200

* Removed the icinga-api dependencies and created Commanddispatcher, several fixes in relations

---

 app/ApiOccurences                                  |  345 ++++++++++++++++++++
 app/config/compile.xml                             |    4 +-
 app/config/databases.site.xml                      |   58 ++++
 app/config/icinga.site.xml                         |   27 ++
 app/modules/Api/actions/ApiCommandAction.class.php |    2 +-
 app/modules/Api/actions/ApiSearchAction.class.php  |    2 +-
 app/modules/Api/config/.access.xml.swo             |  Bin 0 -> 16384 bytes
 app/modules/Api/config/access.xml                  |   22 +-
 app/modules/Api/config/autoload.xml                |    3 +
 app/modules/Api/config/commands/host.xml           |  200 +++++++++++
 app/modules/Api/config/commands/hostgroup.xml      |   68 ++++
 app/modules/Api/config/commands/service.xml        |  203 ++++++++++++
 app/modules/Api/config/commands/servicegroup.xml   |   72 ++++
 app/modules/Api/config/config_handlers.xml         |    7 +
 app/modules/Api/config/icingaCommands.xml          |   51 +++
 .../config/IcingaCommandsConfigHandler.class.php   |   82 +++++
 .../lib/console/IcingaConsoleCommandInterface.php  |   34 ++
 .../Api/lib/console/IcingaConsoleInterface.php     |    8 +
 .../lib/datastore/AbstractDataStoreModel.class.php |    8 +-
 .../datastore/IcingaApiDataStoreModel.class.php    |    1 +
 .../IcingaApiLegacyConstantsInterface.php          |  125 -------
 .../lib/legacylib/filter/IcingaApiSearchFilter.php |    2 +-
 .../filter/IcingaApiSearchFilterGroup.php          |    2 +-
 .../legacylib/filter/IcingaApiSearchFilterIdo.php  |    4 +-
 app/modules/Api/lib/xml/xsd/icingaCommands.xsd     |   28 ++
 .../Api/lib/xml/xsd/parts/icingaCommands.xsd       |   57 ++++
 .../Commands/CommandDispatcherModel.class.php      |   82 +++++
 .../models/Console/ConsoleCommandModel.class.php   |    4 +-
 .../models/Console/ConsoleInterfaceModel.class.php |   13 +-
 .../models/DeprecatedApiContainerModel.class.php   |    4 +-
 .../Store/LegacyLayer/IcingaApiModel.class.php     |   58 +---
 .../LegacyLayer/LegacyApiResultModel.class.php     |   51 +++-
 .../LegacyLayer/TargetModifierModel.class.php      |  119 ++++++--
 .../lib/config/AppKitApiProviderParser.class.php   |    4 +-
 .../lib/database/AppKitSQLConstants.class.php      |   16 +-
 .../System/ViewProc/SendCommandAction.class.php    |   40 +--
 app/modules/Cronks/config/config_handlers.xml      |    3 +-
 .../data/xml/grid/icinga-downtime-template.xml     |   12 +-
 .../data/xml/grid/icinga-host-history-template.xml |    2 +-
 .../Cronks/data/xml/grid/icinga-host-template.xml  |   10 +-
 .../xml/grid/icinga-hostgroup-summary-template.xml |    8 +-
 .../Cronks/data/xml/grid/icinga-log-template.xml   |    4 +-
 .../data/xml/grid/icinga-notification-template.xml |    4 +-
 .../xml/grid/icinga-open-problems-template.xml     |    8 +-
 .../xml/grid/icinga-service-history-template.xml   |    2 +-
 .../data/xml/grid/icinga-service-template.xml      |   12 +-
 .../grid/icinga-servicegroup-summary-template.xml  |   10 +-
 .../xml/to/icinga-tactical-overview-groupstat.xml  |   10 +-
 .../xml/to/icinga-tactical-overview-presets.xml    |   24 +-
 .../icinga-tactical-overview-template-charts.xml   |    6 +-
 .../to/icinga-tactical-overview-template-cv.xml    |    6 +-
 .../icinga-tactical-overview-template-cvtree.xml   |    6 +-
 ...icinga-tactical-overview-template-iteration.xml |    2 +-
 .../models/System/CommandInfoModel.class.php       |   34 +-
 .../models/System/CommandSenderModel.class.php     |   50 ++--
 .../System/MonitorPerformanceDataModel.class.php   |   27 +-
 .../System/ObjectSearchResultModel.class.php       |   14 +-
 .../System/StaticContentTemplateModel.class.php    |   10 +-
 .../Cronks/models/System/StatusMapModel.class.php  |    6 +-
 .../models/System/StatusOverallModel.class.php     |    4 +-
 .../templates/System/StatusOverallSuccess.php      |    4 +-
 .../Web/actions/Icinga/ApiCommandAction.class.php  |    2 +-
 app/modules/Web/config.php                         |    2 +-
 app/modules/Web/config/autoload.xml                |    2 +-
 app/modules/Web/config/icinga-io.site.xml          |   26 ++
 app/modules/Web/config/simple_data_provider.xml    |   20 +-
 .../principal/IcingaPrincipalTargetTool.class.php  |   10 +-
 .../IcingaTemplateDisplayMonitoring.class.php      |   13 +-
 .../IcingaTemplateDisplayServiceIcons.class.php    |   13 +-
 .../Web/lib/util/IcingaApiClassUtil.class.php      |   60 ----
 .../Icinga/ApiSimpleDataProviderModel.class.php    |    8 +-
 .../Doctrine/Adapter/Statement/IcingaOracle.php    |    4 +-
 tests/phpunit/tests/api/CommandDispatcherTest.php  |   25 ++
 .../api/apiprovider/IcingaApiDatastoreTest.php     |   13 +-
 .../tests/api/legacylayer/HostTargetTest.php       |   31 --
 75 files changed, 1779 insertions(+), 534 deletions(-)

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




More information about the icinga-checkins mailing list