[MXS-4907] Nested parameters in PATCH /v1/maxscale/ do not work correctly Created: 2023-12-20  Updated: 2023-12-28  Resolved: 2023-12-28

Status: Closed
Project: MariaDB MaxScale
Component/s: REST-API
Affects Version/s: 22.08.11, 23.02.8, 23.08.4
Fix Version/s: 22.08.12, 23.02.9, 23.08.5

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

If MaxScale is configured with the following:

[maxscale]
key_manager=file
file.keyfile=/tmp/encryption.key

Doing a PATCH on /v1/maxscale with this payload:

{
  "data": {
    "attributes": {
      "parameters": {
        "log_info": true
      }
    }
  }
}

Will result in this error:

{
    "errors": [
        {
            "detail": "key_manager_file: The mandatory parameter 'keyfile' is not provided."
        }
    ]
}


Generated at Thu Feb 08 04:32:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.