run.php: cleanup, add property modifiers

This commit is contained in:
Thomas Gelf 2016-02-17 16:41:46 +01:00
parent bf31f77961
commit 3df0115895
1 changed files with 18 additions and 8 deletions

26
run.php
View File

@ -1,14 +1,24 @@
<?php
$prefix = '\\Icinga\\Module\\Director\\';
$this->provideHook('monitoring/HostActions');
$this->provideHook('monitoring/ServiceActions');
$this->provideHook('director/ImportSource', '\\Icinga\\Module\\Director\\Import\\ImportSourceSql');
$this->provideHook('director/ImportSource', '\\Icinga\\Module\\Director\\Import\\ImportSourceLdap');
$this->provideHook('director/ImportSource', '\\Icinga\\Module\\Director\\Import\\ImportSourceCoreApi');
$this->provideHook('director/ImportSource', $prefix . 'Import\\ImportSourceSql');
$this->provideHook('director/ImportSource', $prefix . 'Import\\ImportSourceLdap');
$this->provideHook('director/ImportSource', $prefix . 'Import\\ImportSourceCoreApi');
$this->provideHook('director/DataType', $prefix . 'DataType\\DataTypeString');
$this->provideHook('director/DataType', $prefix . 'DataType\\DataTypeNumber');
$this->provideHook('director/DataType', $prefix . 'DataType\\DataTypeTime');
$this->provideHook('director/DataType', $prefix . 'DataType\\DataTypeDatalist');
$this->provideHook('director/DataType', $prefix . 'DataType\\DataTypeSqlQuery');
$this->provideHook('director/PropertyModifier', $prefix . 'DataType\\PropertyModifierLowercase');
$this->provideHook('director/PropertyModifier', $prefix . 'DataType\\PropertyModifierRegexReplace');
$this->provideHook('director/PropertyModifier', $prefix . 'DataType\\PropertyModifierReplace');
$this->provideHook('director/PropertyModifier', $prefix . 'DataType\\PropertyModifierStripDomain');
$this->provideHook('director/PropertyModifier', $prefix . 'DataType\\PropertyModifierSubstring');
$this->provideHook('director/PropertyModifier', $prefix . 'DataType\\PropertyModifierUppercase');
$this->provideHook('director/DataType', '\\Icinga\\Module\\Director\\DataType\\DataTypeString');
$this->provideHook('director/DataType', '\\Icinga\\Module\\Director\\DataType\\DataTypeNumber');
$this->provideHook('director/DataType', '\\Icinga\\Module\\Director\\DataType\\DataTypeTime');
$this->provideHook('director/DataType', '\\Icinga\\Module\\Director\\DataType\\DataTypeDatalist');
$this->provideHook('director/DataType', '\\Icinga\\Module\\Director\\DataType\\DataTypeSqlQuery');