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

feature/APPEALS-21478: Update Geo-matching to use zip code instead of street address #19756

Merged
merged 33 commits into from
Dec 19, 2023

Conversation

msteele96
Copy link
Contributor

@msteele96 msteele96 commented Oct 19, 2023

Resolves APPEALS-21478

Description

Updates the geomatch service to use only zip code instead of full street address for geomatching. Geomatches all foreign appeals to the Pittsburgh RO by default. Adds logging for Savon::Errors received when connection to BGS is interrupted.

Acceptance Criteria

  • Code compiles correctly

Testing Plan

  • For feature branches merging into master: Was this deployed to UAT?

Backend

Integrations: Adding endpoints for external APIs

  • Check that Caseflow's external API code for the endpoint matches the code in the relevant integration repo
    • Request: Service name, method name, input field names
    • Response: Check expected data structure
    • Check that calls are wrapped in MetricService record block
  • Check that all configuration is coming from ENV variables
    • Listed all new ENV variables in description
    • Worked with or notified System Team that new ENV variables need to be set
  • Update Fakes
  • For feature branches: Was this tested in Caseflow UAT

Best practices

Code Documentation Updates

  • Add or update code comments at the top of the class, module, and/or component.

Tests

Test Coverage

Did you include any test coverage for your code? Check below:

  • RSpec
  • Jest
  • Other

Code Climate

Your code does not add any new code climate offenses? If so why?

  • No new code climate issues added

@msteele96 msteele96 marked this pull request as draft October 19, 2023 13:41
@msteele96 msteele96 marked this pull request as ready for review October 19, 2023 13:42
@codeclimate
Copy link

codeclimate bot commented Oct 19, 2023

Code Climate has analyzed commit 483f3d7 and detected 0 issues on this pull request.

View more on Code Climate.

minhazur9 and others added 2 commits October 24, 2023 16:03
* APPEALS-31484 added in country code check and new condition for closest regional office

* APPEALS-31484 added rspec test for veterans not living in us

* APPEALS-31484 changed to check appellant address

* APPEALS-31484 changed name of method from veteran to appellant

* added new rspec tests

* added guards for errors for R071 geomatch

* R011 returns instead of RO71 for foreign appeals

* Update spec/services/va_dot_gov_address_validator_spec.rb

Co-authored-by: Marc Steele <71673522+msteele96@users.noreply.github.com>

---------

Co-authored-by: Marc Steele <71673522+msteele96@users.noreply.github.com>
@msteele96 msteele96 changed the title Tracking PR for Geomatching feature/APPEALS-21478: Tracking PR for Geomatching Oct 26, 2023
jefftmarks and others added 7 commits November 22, 2023 10:18
* APPEALS-34933 Add country name to zip code validation

* APPEALS-34933 Update va dot gov spec

* APPEALS-34933 Update Philippines, international, and US territory checks

* APPEALS-34933 Update geomatch spec

* APPEALS-34933 Add foreign address error to address validation response

* APPEALS-34933 Use dig to access addressMetaData

* APPEALS-34933 Fix specs related to address validation

* APPEALS-34933 Remove commented out code

* APPEALS-34933 Create and implement child ZipCodeValidationResponse class

* APPEALS-34933 Update specs with ZipCodeValidationResponse
* APPEALS-36158 Update retry on fetch_bgs_record to raise error

* APPEALS-36158 Undo nested rescue

* APPEALS-36158 Add error logging to bgs address service

* APPEALS-36158 FIx duplicate blocks of code

* APPEALS-36158 Fix variable name

* APPEALS-36158 Fix variable name

---------

Co-authored-by: Marc Steele <71673522+msteele96@users.noreply.github.com>
@msteele96 msteele96 changed the title feature/APPEALS-21478: Tracking PR for Geomatching feature/APPEALS-21478: Update Geo-matching to use zip code instead of street address Dec 18, 2023
Copy link
Contributor

@ThorntonMatthew ThorntonMatthew left a comment

Choose a reason for hiding this comment

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

🚀

@msteele96 msteele96 merged commit 6ba6d8c into master Dec 19, 2023
13 of 15 checks passed
@msteele96 msteele96 deleted the feature/APPEALS-21478 branch October 22, 2024 20:22
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.

4 participants