This repository has been archived by the owner on Mar 8, 2020. It is now read-only.
[3:3] Require that update_diaper_partner
is successful before advancing to pending
status
#2
Milestone
(Pulled from RfG#671 )
Note - This requires work on both the diaper and partner apps. Each point below will require altering the api endpoint on each app as well as whatever is making the request to the endpoint.
Summary
In the Diaper app in the partner.rb model there is a method
update_diaper_partner
that immediately sets the partnerstatus
topending
regardless if theDiaperPartnerClient.post(attributes)
was successful or not. We need to ensure that the post action was successful and then set the partnerstatus
topending
. We may need to schedule a retry on a fail or something similar.Criteria for Completion
Reference / History
This was originally part of #636, and is related to #1
The text was updated successfully, but these errors were encountered: