Fabian Morgan created HDDS-16506:
------------------------------------

             Summary: Consistent DurationSeconds Validation Message and Minor 
Design Doc updates
                 Key: HDDS-16506
                 URL: https://issues.apache.org/jira/browse/HDDS-16506
             Project: Apache Ozone
          Issue Type: Task
            Reporter: Fabian Morgan
            Assignee: Fabian Morgan


In the DurationSeconds parameter for the AssumeRole call, the value must be 
between 900 and 43200 (15 minutes and 12 hours).  If the value is invalid like 
`4320010`, it says `Invalid Value: DurationSeconds must be between 900 and 
43200 seconds`.  However is the value is invalid and overflows an integer type 
like `43200100000`, it says `Invalid Value: DurationSeconds must be a number`.  
The latter message is shown also in the case of a non-numeric invalid value 
like `abc` but it is confusing for numeric overflow values.This ticket will 
make the validation message consistent for all cases.  

Separately, this ticket updates the STS design doc with minor changes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to