nvazquez commented on pull request #6080:
URL: https://github.com/apache/cloudstack/pull/6080#issuecomment-1064044817
@GabrielBrascher I've tested through the API and UI:
- API works as expected, passed `value` parameters with length > 255 and the
response was properly retrieved.
- UI seems to still be truncating the value at 255 characters, can you check
if this can be extended?
Example: input length = 650 characters:
````
(localcloud) 🐱 > update configuration
accountid=deb22344-0869-49a2-ac1f-116cb858ee03
name='api.allowed.source.cidr.list'
value=12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
{
"configuration": {
"category": "Advanced",
"description": "Comma separated list of IPv4/IPv6 CIDRs from which API
calls can be performed. Can be set on Global and Account levels.",
"isdynamic": true,
"name": "api.allowed.source.cidr.list",
"scope": "account",
"value":
"12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
}
}
````
<img width="919" alt="Screen Shot 2022-03-10 at 10 13 45"
src="https://user-images.githubusercontent.com/5295080/157669028-2f578977-459d-4d96-8f78-6ce4b66a1381.png">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]