-
Notifications
You must be signed in to change notification settings - Fork 166
Async phone proofing calls (LG-3275) #4273
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
Merged
mitchellhenke
merged 21 commits into
master
from
mitchellhenke/async-phone-proofing-calls-lg-3275
Oct 7, 2020
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
2394e20
refactor proofing document capture session result
6129310
async phone proofing calls
4572d08
fix step specs
4a1d529
fix controller specs
a0664c5
fix bad translation reference
63b74ea
use lambda runner for address proofing
99fabb5
add timed_out test
0bd21bd
add retries gem
0a66bf6
use lambda
7cf5fe0
temporary lambda ref update
be0db7f
lint
ebf1082
use Agent in lambda controller spec
4cffda7
add in progress spec
5a0d9ce
strong parameters
d410419
lint
f64ca56
do not return idv result in lambda callback
3c51475
use constants for magic phone numbers
4f5fad1
remove retries from Gemfile
bff7fe4
move job class logic into proofer
9adf763
update lambda version
7626fce
reorder spec expectations
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # frozen_string_literal: true | ||
|
|
||
| module LambdaJobs | ||
| GIT_REF = '1ffdce9da7fd2d69de2b51a04873bc8bbd9c3f4b' | ||
| GIT_REF = 'd32d49bc27c62a510695c6fe498c6d9b8942f6be' | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,28 @@ | ||
| # frozen_string_literal: true | ||
|
|
||
| ProofingDocumentCaptureSessionResult = Struct.new(:id, :pii, :result, keyword_init: true) do | ||
| ProofingDocumentCaptureSessionResult = Struct.new(:id, :pii, :result, :status, | ||
| keyword_init: true) do | ||
| def self.redis_key_prefix | ||
| 'dcs-proofing:result' | ||
| end | ||
|
|
||
| def self.none | ||
| new(status: :none) | ||
| end | ||
|
|
||
| def self.timed_out | ||
| new(status: :timed_out) | ||
| end | ||
|
|
||
| def self.in_progress | ||
| new(status: :in_progress) | ||
| end | ||
|
|
||
| def done | ||
| ProofingDocumentCaptureSessionResult.new( | ||
| pii: pii.deep_symbolize_keys, | ||
| result: result.deep_symbolize_keys, | ||
| status: :done, | ||
| ) | ||
| end | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| <% title t('doc_auth.titles.doc_auth') %> | ||
|
|
||
| <h1 class="h3 my0"><%= t('doc_auth.info.interstitial_eta') %></h1> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.