Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API-39840-check-empty-birls-id #19269

Merged
merged 19 commits into from
Nov 12, 2024
Merged

Conversation

stiehlrod
Copy link
Contributor

@stiehlrod stiehlrod commented Nov 5, 2024

Summary

  • Adds file number check, if empty, to supporting docs.
  • Adds tests.

Related issue(s)

Testing done

  • New code is covered by unit tests
  • Postman steps:
  1. hit v2 claims show.
  2. this claim has supporting docs: {{uri}}/services/claims/v2/veterans/1012853277V552077/claims/600579354
  3. put a debugger here and set file_number to ""
  4. the response should be a really quick 200 without supporting docs because it skipped the upload and retrieval process for docs

What areas of the site does it impact?

modified:   modules/claims_api/app/controllers/concerns/claims_api/v2/claims_requests/supporting_documents.rb
modified:   modules/claims_api/spec/concerns/claims_api/v2/claims_requests/supporting_documents_spec.rb

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No error nor warning in the console.
  • Events are being sent to the appropriate logging solution
  • Documentation has been updated (link to documentation)
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • Feature/bug has a monitor built into Datadog (if applicable)
  • If app impacted requires authentication, did you login to a local build and verify all authenticated routes work as expected
  • I added a screenshot of the developed feature

@va-vfs-bot va-vfs-bot temporarily deployed to API-39840-check-empty-birls-id/main/main November 5, 2024 20:30 Inactive
@rockwellwindsor-va
Copy link
Contributor

rockwellwindsor-va commented Nov 6, 2024

@stiehlrod Looks like there are failing tests related to the work ( I think)

Screenshot 2024-11-06 at 7 58 31 AM

@stiehlrod stiehlrod marked this pull request as draft November 6, 2024 14:53
@stiehlrod stiehlrod marked this pull request as ready for review November 6, 2024 20:16
@stiehlrod stiehlrod requested a review from a team November 8, 2024 20:48
Copy link
Contributor

@mchristiansonVA mchristiansonVA left a comment

Choose a reason for hiding this comment

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

Looks better to me!

@stiehlrod stiehlrod requested a review from a team November 12, 2024 14:49
@stiehlrod stiehlrod enabled auto-merge (squash) November 12, 2024 14:49
@stiehlrod stiehlrod merged commit 1c28a1f into master Nov 12, 2024
36 checks passed
@stiehlrod stiehlrod deleted the API-39840-check-empty-birls-id branch November 12, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants