Add dockerized fake-agent for integration testing and live edge-broker smoke tests. Introduce agent CLI status command and report helpers. Add browser shell session handling for disconnected agents. Extend tests and improve token validation flow.

This commit is contained in:
Jeppe Bundgaard
2026-04-09 16:31:38 +02:00
parent 745e68aa4f
commit 2a0a3468c1
11 changed files with 955 additions and 44 deletions
@@ -18,6 +18,7 @@ it('registers the edge gateway management REST endpoints', function (): void {
it('registers public installer, claim, heartbeat, command polling, and internal broker auth endpoints', function (): void {
$route = file_get_contents(app_path('routes/edgeGatewaysRoute.php'));
expect($route)->toContain("'/edge-agent/install-token/verify'");
expect($route)->toContain("'/edge-agent/install.sh'");
expect($route)->toContain("'/edge-agent/artifacts/agent.mjs'");
expect($route)->toContain("'/edge-agent/artifacts/package.json'");