Add a KantTresor tab to the central registry
KantTresor instances (from 1.82.0) report to /api/kanttresor/melden with the same key-then-HMAC protocol. The new tab lists them with tenants, disk usage and failing services; it never offers or accepts an update order, since KantTresor is updated with ./update.sh on the server. See ADR 124. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9d80af3795
commit
968d19b611
15 files changed
+392
-80
No files matched your search
@@ -9,7 +9,8 @@ namespace Zentrale;
|
||||
*/
|
||||
final class Ansicht
|
||||
{
|
||||
public function __construct(private string $csrf)
|
||||
/** @param string $pfad die Übersicht, auf die adresse() zeigt (KantSites oder KantTresor) */
|
||||
public function __construct(private string $csrf, private string $pfad = '/')
|
||||
{
|
||||
}
|
||||
|
||||
@@ -43,7 +44,7 @@ final class Ansicht
|
||||
{
|
||||
$werte = array_filter($werte, static fn (mixed $wert): bool => null !== $wert && '' !== $wert && 1 !== $wert);
|
||||
|
||||
return '/'.([] === $werte ? '' : '?'.http_build_query($werte));
|
||||
return $this->pfad.([] === $werte ? '' : '?'.http_build_query($werte));
|
||||
}
|
||||
|
||||
/** Ein Zeitpunkt in deutscher Ortszeit. */
|
||||
|
||||
Reference in new issue
Block a user