Merge branch 'dev' into feature/CTLE-434-oms-update-business-logic

This commit is contained in:
2023-06-06 09:06:34 -05:00
6 changed files with 273 additions and 64 deletions

View File

@ -1009,7 +1009,12 @@ public class BaseAPIActionUtil
*******************************************************************************/
protected boolean shouldBeRetryableServerErrorException(QHttpResponse qResponse)
{
return (qResponse.getStatusCode() != null && qResponse.getStatusCode() >= 500);
if(actionInput instanceof QueryInput || actionInput instanceof GetInput)
{
return (qResponse.getStatusCode() != null && qResponse.getStatusCode() >= 500);
}
return (false);
}

View File

@ -86,7 +86,10 @@ public class OutboundAPILogMetaDataProvider
new QPossibleValue<>(404, "404 (Not Found)"),
new QPossibleValue<>(422, "422 (Unprocessable Entity)"),
new QPossibleValue<>(429, "429 (Too Many Requests)"),
new QPossibleValue<>(500, "500 (Internal Server Error)")
new QPossibleValue<>(500, "500 (Internal Server Error)"),
new QPossibleValue<>(502, "502 (Bad Gateway)"),
new QPossibleValue<>(503, "503 (Service Unavailable)"),
new QPossibleValue<>(504, "500 (Gateway Timeout)")
)));
}
@ -134,7 +137,11 @@ public class OutboundAPILogMetaDataProvider
.withValue(AdornmentType.ChipValues.colorValue(404, AdornmentType.ChipValues.COLOR_ERROR))
.withValue(AdornmentType.ChipValues.colorValue(422, AdornmentType.ChipValues.COLOR_ERROR))
.withValue(AdornmentType.ChipValues.colorValue(429, AdornmentType.ChipValues.COLOR_ERROR))
.withValue(AdornmentType.ChipValues.colorValue(500, AdornmentType.ChipValues.COLOR_ERROR)));
.withValue(AdornmentType.ChipValues.colorValue(500, AdornmentType.ChipValues.COLOR_ERROR))
.withValue(AdornmentType.ChipValues.colorValue(502, AdornmentType.ChipValues.COLOR_ERROR))
.withValue(AdornmentType.ChipValues.colorValue(503, AdornmentType.ChipValues.COLOR_ERROR))
.withValue(AdornmentType.ChipValues.colorValue(504, AdornmentType.ChipValues.COLOR_ERROR))
);
///////////////////////////////////////////
// these are the lengths of a MySQL TEXT //