HTTP Request Max Response Limit
-
MSR has a parameter called "http_request_action_maxresponse" that can be updated within the properties. There is a good section describing this in the manual. However, the installation config file doesn't include the parameter out of the box. I was able to add the parameter (see below) and eventually got it to work after searching for a while.
Suggestions:
- Include the parameter in the initial config file (or)
- Update the manual to state that the parameter should be added to the file
Additional suggestion:
I understand that it is potentially unsafe to have a large limit overall. However, some API calls unfortunately return large sizes which aren't necessarily problematic. The additional suggestion is to include a configurable max size within each HTTP Reaction in the UI. If it isn't populated then MSR could default to the config file like it does today. This way, we could have a reasonable default limit while allowing larger limit for certain HTTP calls.engine: # # enabled - Whether or not the rules engine runs. Change only when directed. enabled: true http_request_action_maxresponse: 10000
-
Thanks for the suggestion. There's a whole new way of doing settings being developed, with the goal of (a) exposing all options in the UI, and (b) eliminating the need to edit YAML.
Please check the posting guidelines, specifically the section on how to properly format code and code-like things (like configs and logs; find it under the heading Format Posts Properly). Posting improperly-formatted configs makes problems for users that try to copy-paste later.
-
T toggledbits locked this topic on