Skip to content

Deploy RC 231 to Stages/prod#7395

Merged
mdiarra3 merged 4 commits intostages/prodfrom
stages/rc-2022-11-28
Nov 28, 2022
Merged

Deploy RC 231 to Stages/prod#7395
mdiarra3 merged 4 commits intostages/prodfrom
stages/rc-2022-11-28

Conversation

@mdiarra3
Copy link
Contributor

@mdiarra3 mdiarra3 commented Nov 28, 2022

Bug Fixes

  • GPO: Address issue where expiration date on GPO letters was not printed correctly. (#7389)

Internal

  • Logging: Include OTP adapter when logging the OTP send event (#7391)
  • IRS Attempts API: Add document escrow fields to IRS attempts API (#7381)

Upcoming Features

  • Inherited Proofing: LG-7450 Implement "Try Again" Button Functionality on the First Error Page (#7284)

@mdiarra3 mdiarra3 force-pushed the stages/rc-2022-11-28 branch 2 times, most recently from 0b98517 to 9657a83 Compare November 28, 2022 17:45
gangelo and others added 4 commits November 28, 2022 12:47
… Page (#7284)

* Implement try again logic for Inherited Proofing

changelog: Upcoming Features, Inherited Proofing, LG-7450 Implement "Try Again" Button Functionality on the First Error Page

Refactor code to enqueue user PII job to mixin

- To keep things DRY as this will be used in the verify_wait
step when the user clicks the "Retry" button on the
IP Warning UI.

Refactor to use UserPiiJobInitiator mixin

Add translations for request/response errors

- Related to inherited proofing service provider requests and responses;
this, so that we can 1) record the error and 2) display something to
the user. Errors displayed to the user are "safe" errors, revealing
no information that could be used by those having ill intentions.

Refactor VA form and service classes

- To handle network errors encountered during the request to
the service provider and decrypting response data returned
from the service provider request.

Allow va mock proofer to return meaningful error

- So that we can identify the error in the va Form class as such
and notify our Flow that an error has indeed occured. The error
added to the mock proofer is a network-related error, not a
va api related (returned in a response) error.

Enable flow step to hook into "try again" logic

- Which exists in the base class.

Enable flow step to hook into "try again" logic

DRY VerifyBaseStep for Inherited Proofing usage

Set up throttling for Inherited Proofing

Change the path the "Try again" button uses

- To point to the :verify_wait flow step so the user can try again.

Automated tests

Refactor inherited_proofing_cancel_spec.rb

- To use InheritedProofingWithServiceProviderHelper.

* Address PR feedback

- Remove unnecessary call to super in FormBase class.
- Remove #extra method in FormBase.
- Rename add_service_error_if method to add_service_error and add
conditional callback if: :service_error?
- Fix spec to check actual :service_error hasn key value instead of
converting the hash to a string and checking that.

* Add missing failure method to BaseFlow

- This seemed a better option than making BaseFlow an abstract class raising
NoMethodError, since it looks like the logic would be the same anyhow.

* Create step action to retry user pii retrieval

* Address latest PR feedback
* Include OTP adapter when logging the OTP send event

changelog: Internal, Logging, Include OTP adapter when logging the OTP send event

* Fix typo

* Update app/controllers/idv/otp_delivery_method_controller.rb

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>

* add specs

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
* Add content_type to DataUrlImage

* First pass at wiring doc upload into attempts API

changelog: Improvements, IRS Attempts API, Add document escrow fields to IRS attempts API

* Additional tests

* WIP

* Update form test to roundtrip documents

Write documents to encrypted storage and read them back

* Use front_image & back_image lets for tests

* Update ImageUploadsController spec

* Test Attempts API includes images on  validation failure

* Update app/forms/idv/api_image_upload_form.rb

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>

* Update app/services/encrypted_document_storage/local_storage.rb

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>

* Update *_image -> *_image_uuid

Clarify that these args hold UUIDs identifying the front/back images

* Use let() for regexes in tests

avoid polluting global namespace

* Add doc escrow parameter descriptions

* Minimize unnecessary verbosity

* Lint issues

* Reduce number of document escrow fields

50% off!

* add "filename" to fields

try and make it clearer what these things are

* Remove empty test

whoops

* Update app/services/encrypted_document_storage/document_writer.rb

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>

* Update spec from `should` to `is_expected.to`

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
* Base GPO expiration on original request date

Rather than basing on the date we FTP the .csv file out, base the expiry on the time of the original request's creation.

For LG-8063

changelog: Bug Fixes, GPO, Address issue where expiration date on GPO letters was not printed correctly.

* Switch to Time.zone.parse
@mdiarra3 mdiarra3 force-pushed the stages/rc-2022-11-28 branch from 9657a83 to d745863 Compare November 28, 2022 17:47
@mdiarra3 mdiarra3 marked this pull request as ready for review November 28, 2022 17:54
@mdiarra3 mdiarra3 changed the title Stages/rc 2022 11 28 Deploy RC 229 to Stages/prod Nov 28, 2022
@mdiarra3 mdiarra3 changed the title Deploy RC 229 to Stages/prod Deploy RC 231 to Stages/prod Nov 28, 2022
@mdiarra3 mdiarra3 merged commit 8d3e270 into stages/prod Nov 28, 2022
@mdiarra3 mdiarra3 deleted the stages/rc-2022-11-28 branch November 28, 2022 19:03
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