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

+36
View File
@@ -4544,6 +4544,10 @@
"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"
@@ -4989,6 +4993,10 @@
"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"
@@ -5117,6 +5125,10 @@
"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"
@@ -5241,6 +5253,10 @@
"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"
@@ -5369,6 +5385,10 @@
"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"
@@ -5497,6 +5517,10 @@
"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"
@@ -5637,6 +5661,10 @@
"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"
@@ -5777,6 +5805,10 @@
"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"
@@ -5905,6 +5937,10 @@
"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"