Update Harbor client and gateway functionality
Build and Deploy Gateway / build-and-push (push) Successful in 35s
Build and Deploy Gateway / deploy (push) Successful in 14s

This commit is contained in:
2026-08-17 15:23:16 +03:00
parent 0b39211fbd
commit 7c255192b0
41 changed files with 1443 additions and 218 deletions
+3 -2
View File
@@ -93,11 +93,12 @@ test('typed endpoint facade preserves exact request contracts and raw payload id
[() => api.gatewayAuto.setEnabled(true), '/api/gateway-auto', {
method: 'POST', body: JSON.stringify({ enabled: true }),
}],
[() => api.routeRules.update([{ type: 'domain', value: 'example.com' }], 7), '/api/route-rules', {
[() => api.routeRules.update([{ type: 'domain', value: 'example.com', enabled: true, outbound: 'vpn' }], 7), '/api/route-rules/v2', {
method: 'PUT',
body: JSON.stringify({
rules: [{ type: 'domain', value: 'example.com' }],
rules: [{ type: 'domain', value: 'example.com', enabled: true, outbound: 'vpn' }],
expectedRulesRevision: 7,
rulesContractVersion: 2,
}),
}],
[() => api.devices.list(), '/api/devices', {}],