Skip to content

Commit

Permalink
updated update_documents_status_service, tests and moved test file to…
Browse files Browse the repository at this point in the history
… the correct folder
  • Loading branch information
pmclaren19 committed Dec 11, 2024
1 parent 3777ecb commit 31af3f8
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 233 deletions.
31 changes: 18 additions & 13 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def initialize(benefits_document_uploads, lighthouse_status_response)

def process_status_updates
update_documents_status

unknown_ids = @lighthouse_status_response.dig('data', 'requestIdsNotFound')

return { success: true } if unknown_ids.blank?
Expand Down Expand Up @@ -82,9 +81,9 @@ def update_document_status(status_response)
# end
end

def statsd_document_base_key(statsd_document_type_key)
@statsd_document_base_key ||= "#{STATSD_BASE_KEY}.#{statsd_document_type_key}"
end
# def statsd_document_base_key(statsd_document_type_key)
# @statsd_document_base_key ||= "#{STATSD_BASE_KEY}.#{statsd_document_type_key}"
# end

# def log_failure(status_updater, document_upload)
# # Because Lighthouse's processing steps are subject to change, these metrics must be dynamic.
Expand Down

This file was deleted.

Loading

0 comments on commit 31af3f8

Please sign in to comment.