feat(databases): add public port timeout configuration

Add support for configuring public port timeout on databases via API:
- Add public_port_timeout field to schema documentation with 3600s default
- Add validation rules (integer|nullable|min:1)
- Update all database type configurations to support the field
- Add comprehensive test coverage for the feature
This commit is contained in:
Andras Bacsai committed 2026-03-28 17:08:02 +01:00
1 parent 3b2e6e11f1
commit 72118d61f9
4 files changed
+239 -18

No files matched your search

+27
View File
@@ -2873,6 +2873,9 @@ paths:
public_port:
type: integer
description: 'Public port of the database'
public_port_timeout:
type: integer
description: 'Public port timeout in seconds (default: 3600)'
limits_memory:
type: string
description: 'Memory limit of the database'
@@ -3189,6 +3192,9 @@ paths:
public_port:
type: integer
description: 'Public port of the database'
public_port_timeout:
type: integer
description: 'Public port timeout in seconds (default: 3600)'
limits_memory:
type: string
description: 'Memory limit of the database'
@@ -3281,6 +3287,9 @@ paths:
public_port:
type: integer
description: 'Public port of the database'
public_port_timeout:
type: integer
description: 'Public port timeout in seconds (default: 3600)'
limits_memory:
type: string
description: 'Memory limit of the database'
@@ -3370,6 +3379,9 @@ paths:
public_port:
type: integer
description: 'Public port of the database'
public_port_timeout:
type: integer
description: 'Public port timeout in seconds (default: 3600)'
limits_memory:
type: string
description: 'Memory limit of the database'
@@ -3462,6 +3474,9 @@ paths:
public_port:
type: integer
description: 'Public port of the database'
public_port_timeout:
type: integer
description: 'Public port timeout in seconds (default: 3600)'
limits_memory:
type: string
description: 'Memory limit of the database'
@@ -3554,6 +3569,9 @@ paths:
public_port:
type: integer
description: 'Public port of the database'
public_port_timeout:
type: integer
description: 'Public port timeout in seconds (default: 3600)'
limits_memory:
type: string
description: 'Memory limit of the database'
@@ -3655,6 +3673,9 @@ paths:
public_port:
type: integer
description: 'Public port of the database'
public_port_timeout:
type: integer
description: 'Public port timeout in seconds (default: 3600)'
limits_memory:
type: string
description: 'Memory limit of the database'
@@ -3756,6 +3777,9 @@ paths:
public_port:
type: integer
description: 'Public port of the database'
public_port_timeout:
type: integer
description: 'Public port timeout in seconds (default: 3600)'
limits_memory:
type: string
description: 'Memory limit of the database'
@@ -3848,6 +3872,9 @@ paths:
public_port:
type: integer
description: 'Public port of the database'
public_port_timeout:
type: integer
description: 'Public port timeout in seconds (default: 3600)'
limits_memory:
type: string
description: 'Memory limit of the database'