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

[DBEX] create Lighthouse526DocumentUpload model with state #17407

Conversation

freeheeling
Copy link
Contributor

Summary

Objective: Implements a system for periodically polling the Lighthouse uploads/status endpoint to confirm the status of supplemental documents submitted to Lighthouse as part of a Form 526 Submission. The purpose of this system is to surface successes and failures that happen in the Form 526 process after being forwarded to Lighthouse for processing.

  • Create Lighthouse526DocumentUpload model
    • responsible for persisting a record of a document submitted to Lighthouse's Benefits Document API
    • used to track status of a document as it makes its way through VA's systems
    • must be attached to a Form526Submission
      • if referencing a Veteran-submitted document, must also be attached to the FormAttachment record created for the upload
    • lighthouse_document_request_id is required
      • returned from Lighthouse Benefits Documents API as requestId in the response body
      • used to track upload as it passes through Lighthouse's processing
  • Subsequent PRs will implement interaction with the Lighthouse Benefits Document API client
  • This work is behind a feature toggle (flipper): YES/NO
  • Responsible team: Disability Benefits Experience Team 2 (dBeX Carbs 🥖)

Related issue(s)

Testing done

What areas of the site does it impact?

  • non-user facing, asynchronous job tracking the status of uploaded documents submitted in conjunction with Form 526EZ

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-vsp-bot
Copy link
Collaborator

Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: app/models/lighthouse526_document_upload.rb

@va-vfs-bot va-vfs-bot temporarily deployed to dbex/87619-create-lighthouse526-document-upload-model-with-state/main/main July 4, 2024 00:10 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to dbex/87619-create-lighthouse526-document-upload-model-with-state/main/main July 8, 2024 15:54 Inactive
@freeheeling freeheeling added disability-experience To manage benefits disability claims experience. disability-compensation Label used for Pull Requests that impact Disability Compensation claims (526EZ) labels Jul 8, 2024
@freeheeling freeheeling marked this pull request as ready for review July 9, 2024 15:34
@freeheeling freeheeling requested a review from a team as a code owner July 9, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
disability-compensation Label used for Pull Requests that impact Disability Compensation claims (526EZ) disability-experience To manage benefits disability claims experience.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants