Conversation
changelog: Improvements, logging, safeguard duplicate success, failed alerts to show failed, during document authentication
|
It looks like perhaps the identical |
+1 I think it would be nice, could have a Helper class with a static method or a mixin shared across both places |
|
Ok so now the code has been changed so that the values are comma delimited, this means passed and failed can be stored in the same alert as well. Nothing is written over. CW query will use a |
I think adding commas like that makes things hard to aggregate. Yes, we coud use a "LIKE" query in CW, but that still harms the Can we do the monitor-only version of this for a week or so, and the re-evaluate based on how often multiple errors occur? |
app/services/doc_auth/lexis_nexis/responses/true_id_response.rb
Outdated
Show resolved
Hide resolved
|
Refactored duplicate methods into one service class method. Changed the code so that if there is a duplicate for now to just output to the log file so we can see how frequently this occurs first. |
jmhooper
left a comment
There was a problem hiding this comment.
LGTM! Let's throw a changelog commit on here. Looks like CI is upset about that
app/services/doc_auth/processed_alert_to_log_alert_formatter.rb
Outdated
Show resolved
Hide resolved
changelog: Improvements, docuauth Logs, log warning when duplicate messages from same alert occures
1797f18 to
860077a
Compare
This pull request adds a safe guard so that if the alert had failed and passed, that the failed alert is logged and not written over. The chances currently of this happening is zero because the 'Passed alerts are processed first' but as a safeguard, I added a check to ensure failed is always logged and updated the test.
Currently a work in progress and not review for review just yet.