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

PCIU Replacement Step 6 (b): Remove PCIU configuration #99430

Closed
6 tasks
RachalCassity opened this issue Dec 18, 2024 · 0 comments
Closed
6 tasks

PCIU Replacement Step 6 (b): Remove PCIU configuration #99430

RachalCassity opened this issue Dec 18, 2024 · 0 comments

Comments

@RachalCassity
Copy link
Member

Summary

FormData.initialize_contact_information prefills contact information with PCIU data.
Coverband is showing a lot of data. This will have to be tested when migrating to VAProfile. PCIU references, extract_pciu_data, need to be removed. Draft pull request can be found here.

Ex:

Previous:

  def initialize_contact_information
    opt = {}
    opt.merge!(vets360_contact_info_hash) if vet360_contact_info
    opt[:address] ||= user_address_hash
    opt[:email] ||= extract_pciu_data(:pciu_email)
    if opt[:home_phone].nil?
      opt[:home_phone] = pciu_primary_phone
      opt[:us_phone] = pciu_us_phone
    end
    format_for_schema_compatibility(opt)
    FormContactInformation.new(opt)
  end

Next Steps

VFS teams can test their form pre-fills.

Tasks

  • Ensure initialize_contact_information is returning vet360_contact_info, no longer pciu data
  • Remove initialize_contact_information PCIU calls
  • Ensure all pre-fill form data is using vet360_contact_info data.
  • Ensure forms data is being properly loaded by testing in a local environment.
  • Ensure forms data is being properly loaded by testing in the staging environment.

Acceptance Criteria

  • VAProfile Contact Information V2 has successfully replaced the EVSS PCIU service for form pre-fill user data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant