mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
UrlMigrator: Also migrate servicegrid urls
This commit is contained in:
parent
799b94c0c4
commit
c532d6df64
1 changed files with 13 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ class UrlMigrator
|
|||
'monitoring/host/services' => ['host', 'icingadb/host/services'],
|
||||
'monitoring/host/history' => ['host', 'icingadb/host/history'],
|
||||
'monitoring/list/services' => ['services', 'icingadb/services'],
|
||||
'monitoring/list/servicegrid' => ['servicegrid', 'icingadb/services/grid'],
|
||||
'monitoring/services/show' => ['multipleServices', 'icingadb/services/details'],
|
||||
'monitoring/service/show' => ['service', 'icingadb/service'],
|
||||
'monitoring/service/history' => ['service', 'icingadb/service/history'],
|
||||
|
|
@ -801,6 +802,18 @@ class UrlMigrator
|
|||
];
|
||||
}
|
||||
|
||||
protected static function servicegridColumns(): array
|
||||
{
|
||||
return array_merge(
|
||||
static::servicesColumns(),
|
||||
[
|
||||
'problems' => [
|
||||
'problems' => self::USE_EXPR
|
||||
]
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
protected static function multipleServicesColumns(): array
|
||||
{
|
||||
return array_merge(
|
||||
|
|
|
|||
Loading…
Reference in a new issue