Skip to content

LG-12280: log image file name#10295

Merged
dawei-nava merged 3 commits intomainfrom
dwang/LG-12280_log_image_file_name
Mar 26, 2024
Merged

LG-12280: log image file name#10295
dawei-nava merged 3 commits intomainfrom
dwang/LG-12280_log_image_file_name

Conversation

@dawei-nava
Copy link
Contributor

@dawei-nava dawei-nava commented Mar 23, 2024

🎫 Ticket

Link to the relevant ticket:
LG-12280

🛠 Summary of changes

Send doc auth image file name as part of metadata, so it can be logged.

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • Step 1: Enter doc auth flow with selfie required
  • Step 2: Upload images
  • Step 3: Submit and verify the event(vendor sumbitted) contains file names.

changelog: Internal, Doc Auth, Log image file name.
@dawei-nava dawei-nava changed the title Dwang/lg 12280 log image file name LG-12280: log image file name Mar 23, 2024
@dawei-nava dawei-nava requested a review from eileen-nava March 23, 2024 19:52
@dawei-nava dawei-nava marked this pull request as ready for review March 24, 2024 17:20
Copy link
Contributor

@eileen-nava eileen-nava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I manually tested this while running make watch_events and file names were logged as expected. I am not sure what's going on with the string interpolation in api_image_upload_form_spec.rb and think that spec needs to be revisited before we merge this code.

@eileen-nava eileen-nava self-requested a review March 26, 2024 14:04
Copy link
Contributor

@eileen-nava eileen-nava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, thanks for revisiting the spec file. 👍🏻

@dawei-nava dawei-nava merged commit d617640 into main Mar 26, 2024
@dawei-nava dawei-nava deleted the dwang/LG-12280_log_image_file_name branch March 26, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants