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

Prefill data with VAProfile data instead of the PCIU data #18729

Draft
wants to merge 33 commits into
base: master
Choose a base branch
from

Conversation

RachalCassity
Copy link
Member

Note: Delete the description statements, complete each step. None are optional, but can be justified as to why they cannot be completed as written. Provide known gaps to testing that may raise the risk of merging to production.

Summary

  • This work is behind a feature toggle (flipper): YES/NO
  • (Summarize the changes that have been made to the platform)
  • (If bug, how to reproduce)
  • (What is the solution, why is this the solution?)
  • (Which team do you work for, does your team own the maintenance of this component?)
  • (If introducing a flipper, what is the success criteria being targeted?)

Related issue(s)

  • Link to ticket created in va.gov-team repo OR screenshot of Jira ticket if your team uses Jira
  • Link to previous change of the code/bug (if applicable)
  • Link to epic if not included in ticket

Testing done

  • New code is covered by unit tests
  • Describe what the old behavior was prior to the change
  • Describe the steps required to verify your changes are working as expected. Exclusively stating 'Specs run' is NOT acceptable as appropriate testing
  • If this work is behind a flipper:
    • Tests need to be written for both the flipper on and flipper off scenarios. Docs.
    • What is the testing plan for rolling out the feature?

Screenshots

Note: Optional

What areas of the site does it impact?

(Describe what parts of the site are impacted andifcode touched other areas)

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

Requested Feedback

(OPTIONAL)What should the reviewers know in addition to the above. Is there anything specific you wish the reviewer to assist with. Do you have any concerns with this PR, why?

@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: spec/models/form_profile_spec_v2.rb

@va-vfs-bot va-vfs-bot temporarily deployed to rcassity-replace-pciu-service/main/main October 4, 2024 17:58 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to rcassity-replace-pciu-service/main/main October 7, 2024 23:31 Inactive
Copy link

github-actions bot commented Oct 8, 2024

1 Error
🚫 This PR changes 1860 LoC (not counting whitespace/newlines).

In order to ensure each PR receives the proper attention it deserves, those exceeding
500 will not be reviewed, nor will they be allowed to merge. Please break this PR up into
smaller ones.

If you have reason to believe that this PR should be granted an exception, please see the
Submitting pull requests for approval - FAQ.

File Summary

Files

  • .github/CODEOWNERS (+1/-0)

  • app/models/form_profile.rb (+33/-4)

  • app/models/form_profiles/va_686c674.rb (+7/-1)

  • app/models/user.rb (+13/-1)

  • config/settings.yml (+1/-1)

  • modules/mobile/spec/requests/mobile/v0/claims/pre_need_burial_spec.rb (+1/-0)

  • modules/mobile/spec/requests/mobile/v0/user/addresses_spec.rb (+3/-1)

  • modules/mobile/spec/requests/mobile/v0/user/contact_info_spec.rb (+1/-0)

  • modules/mobile/spec/requests/mobile/v0/user/phones_spec.rb (+1/-0)

  • modules/mobile/spec/requests/mobile/v0/user_spec.rb (+1/-0)

  • modules/mobile/spec/requests/mobile/v1/user_spec.rb (+1/-0)

  • modules/mobile/spec/services/sync_update_service_spec.rb (+1/-0)

  • spec/factories/va_profile/telephones.rb (+13/-0)

  • spec/factories/va_profile/v3/addresses.rb (+0/-0)

  • spec/lib/common/models/concerns/cache_aside_spec.rb (+1/-1)

  • spec/lib/va_profile/v2/contact_information/service_spec.rb (+4/-4)

  • spec/models/async_transaction/va_profile/base_spec.rb (+19/-4)

  • spec/models/async_transaction/vet360/base_spec.rb (+11/-2)

  • spec/models/form_profile_spec.rb (+1/-0)

  • spec/models/form_profile_v2_spec.rb (+1687/-0)

  • spec/rails_helper.rb (+1/-1)

  • spec/requests/swagger_spec.rb (+10/-5)

  • spec/requests/v0/profile/email_addresses_spec.rb (+8/-2)

  • spec/requests/v0/profile/permissions_spec.rb (+1/-1)

  • spec/requests/v0/profile/transactions_spec.rb (+2/-2)

  • spec/requests/v0/user_spec.rb (+3/-2)

  • spec/services/users/profile_spec.rb (+1/-0)

  • spec/support/va_profile/stub_vaprofile_user.rb (+1/-1)

    Note: We exclude files matching the following when considering PR size:

    *.csv, *.json, *.tsv, *.txt, *.md, Gemfile.lock, app/swagger, modules/mobile/docs, spec/fixtures/, spec/support/vcr_cassettes/, modules/mobile/spec/support/vcr_cassettes/, db/seeds, modules/vaos/app/docs, modules/meb_api/app/docs, modules/appeals_api/app/swagger/, *.bru, *.pdf
    

Big PRs are difficult to review, often become stale, and cause delays.

Generated by 🚫 Danger

@va-vfs-bot va-vfs-bot temporarily deployed to rcassity-replace-pciu-service/main/main October 8, 2024 17:04 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to rcassity-replace-pciu-service/main/main October 10, 2024 15:29 Inactive
@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: config/t

@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: config/t

@va-vfs-bot va-vfs-bot temporarily deployed to rcassity-replace-pciu-service/main/main October 10, 2024 16:49 Inactive
@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: config/t

@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: config/t

@va-vfs-bot va-vfs-bot temporarily deployed to rcassity-replace-pciu-service/main/main October 10, 2024 17:07 Inactive
@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: config/t

@va-vfs-bot va-vfs-bot temporarily deployed to rcassity-replace-pciu-service/main/main October 10, 2024 18:05 Inactive
@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: config/t

@va-vfs-bot va-vfs-bot temporarily deployed to rcassity-replace-pciu-service/main/main October 10, 2024 22:15 Inactive
Copy link

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: config/t

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.

3 participants