proxmox/pbs-api-types/src
Christian Ebner 29c1ceefd5 pbs api types: relax influx organization and bucket length
Relax the length limit for organization and bucket name for InfluxDB
metric servers in Proxmox Backup Server.

Commit 57fa20406 ("pbs-api-types: add metrics api types") introduced
the api schema definition for InfluxDB metric servers, limiting the
name of the organization and the name of the bucket to a length of 3,
most likely as a result of reusing the same values as for the
corresponding config id schema restrictions.

This is however not enforced by the InfluxDB REST api [0, 1] and
stricter than what is defined in Proxmox VE [2].

Reported in the community forum [3].

[0] https://docs.influxdata.com/influxdb/v2/api/#operation/PostOrgs
[1] https://docs.influxdata.com/influxdb/v2/api/#operation/PostBuckets
[2] https://git.proxmox.com/?p=pve-manager.git;a=blob;f=PVE/Status/InfluxDB.pm;h=13a96711e766e2f1ea71424ed6d9d8ec8450504c;hb=HEAD#l24
[3] https://forum.proxmox.com/threads/162521/

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2025-02-20 16:11:50 +01:00
..
tape api-types: add missing doc-comment description for api enums 2024-10-22 15:25:52 +02:00
acl.rs api types: define remote permissions and roles for push sync 2024-11-21 10:14:53 +01:00
ad.rs api: access: add routes for managing AD realms 2024-04-24 21:06:14 +02:00
crypto.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
datastore.rs datastore: extract nesting check into helper 2024-11-27 15:25:37 +01:00
file_restore.rs pbs-api-types: add FileRestoreFormat type 2022-10-05 18:40:49 +02:00
jobs.rs sync jobs: remove superfluous direction property 2024-11-26 16:02:22 +01:00
key_derivation.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
ldap.rs fix typos in strings 2024-08-07 16:49:31 +02:00
lib.rs api: enforce minimum character limit of 8 on new passwords 2024-11-25 15:51:47 +01:00
maintenance.rs maintenance: add 'Unmount' maintenance type 2024-11-25 21:34:22 +01:00
metrics.rs pbs api types: relax influx organization and bucket length 2025-02-20 16:11:50 +01:00
network.rs config: write vlan network interface 2024-04-24 21:48:50 +02:00
node.rs node: status: declutter kernel-version 2023-11-29 15:31:35 +01:00
openid.rs fix #5190: api: OIDC: accept generic URIs for the ACR value 2024-02-08 18:14:30 +01:00
pathpatterns.rs api types: replace PathPatterns with Vec<PathPattern> 2024-11-25 12:28:40 +01:00
percent_encoding.rs move pbs-tools/src/percent_encoding.rs to pbs-api-types/src/percent_encoding.rs 2021-11-25 11:48:52 +01:00
remote.rs api-types: add a missing serde(default) 2023-12-06 15:53:57 +01:00
traffic_control.rs update to proxmox-schema 4 2025-01-15 13:03:42 +01:00
user.rs api-types: set serde defaults for UserWithTokens 2023-08-01 09:12:43 +02:00
version.rs api types: version: implement traits to allow for version comparison 2024-12-02 15:27:37 +01:00
zfs.rs api-types: clippy fixes 2022-07-27 13:29:32 +02:00