[icinga-checkins] icinga.org: icinga-web/mhein/testing: * Almost finished server side part of api creationJ:

git at icinga.org git at icinga.org
Sat Jun 25 08:46:06 CEST 2011


Module: icinga-web
Branch: mhein/testing
Commit: eec2600a341e7fc8cabc6260f14c375618d78c02
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=eec2600a341e7fc8cabc6260f14c375618d78c02

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Mon Jun 20 11:00:53 2011 +0200

* Almost finished server side part of api creationJ:

---

 .../actions/ApiDataStoreProviderAction.class.php   |   42 ++++++
 app/modules/Api/cache/ApiDataStoreProvider.xml     |    7 +
 app/modules/Api/config/autoload.xml                |    6 +
 .../lib/datastore/AbstractDataStoreModel.class.php |    7 +-
 .../datastore/DataStoreFilterModifier.class.php    |   14 ++-
 .../datastore}/IcingaApiDataStoreModel.class.php   |    9 +-
 .../IcingaStoreTargetModifierModel.class.php       |  105 ++++++++++++++++
 .../lib/datastore/filter/ApiStoreFilter.class.php  |   62 +++++++++
 .../datastore/filter/ApiStoreFilterGroup.class.php |   25 ++++
 .../datastore/filter/GenericStoreFilter.class.php  |   14 ++-
 .../filter/GenericStoreFilterGroup.class.php       |    7 +-
 .../IcingaStoreFilterModifierModel.class.php}      |   26 +----
 .../datastore/filter/StoreFilterField.class.php    |   20 +++
 .../datastore/interfaces/IDataStoreModifier.php    |    7 +
 .../lib/model/ApiDataRequestBaseModel.class.php    |    2 +-
 .../Api/models/Store/.HostStoreModel.class.php.swo |  Bin 0 -> 12288 bytes
 .../Api/models/Store/HostStoreModel.class.php      |   78 ++++++++++++
 .../StorePaginationModifierModel.class.php         |   12 ++-
 .../Modifiers/StoreSortModifierModel.class.php     |   11 ++-
 .../Modifiers/StoreTargetModifierModel.class.php   |   67 ----------
 app/modules/Api/validate/ApiDataStoreProvider.xml  |   53 ++++++++
 .../ApiDataStoreProviderSuccessView.class.php      |   13 ++
 app/modules/AppKit/config/auth.site.xml            |   58 +++++++++
 app/modules/AppKit/config/autoload.xml             |    7 +-
 app/modules/AppKit/config/module.xml               |    3 +-
 .../lib/action/IAppKitDataStoreProviderAction.php  |   14 ++
 .../lib/config/AppKitApiProviderParser.class.php   |  131 +++++++++++++++++---
 .../config/AppKitExtJSDataStoreWriter.class.php    |   31 +++++
 .../lib/config/AppKitRoutingHandler.class.php      |   10 +-
 .../lib/context/AppKitAgaviContext.class.php       |   10 ++-
 .../lib/validator/AppKitJsonValidator.class.php    |    2 +-
 pub/api/api.js                                     |    4 +
 tests/phpunit/TestInit.php                         |    1 +
 tests/phpunit/runSuite.sh                          |    3 +-
 tests/phpunit/suites.xml                           |   18 +--
 .../api/apiprovider/IcingaApiDatastoreTest.php     |  130 +++++++++++---------
 36 files changed, 806 insertions(+), 203 deletions(-)

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




More information about the icinga-checkins mailing list