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

Upsert People before RSVP Sync [3] #5

Closed
aguestuser opened this issue Mar 19, 2018 · 1 comment
Closed

Upsert People before RSVP Sync [3] #5

aguestuser opened this issue Mar 19, 2018 · 1 comment
Labels
Milestone

Comments

@aguestuser
Copy link
Contributor

aguestuser commented Mar 19, 2018

Acceptance Criteria

GIVEN an event sync has just been triggered:

  • THEN the service will determine which of the People records included in the Event's RSVPs already exist in VAN
  • AND the service will not proceed with the sync until it has finished checking the status of all people

GIVEN a response to the above request for the status of rsvp'ed people has returned:

  • WHEN the person already exists in VAN
    • THEN the service will record that fact, along with their VAN id
  • WHEN an RSVP'ed person does not already exist in VAN
  • THEN the service will record that fact
  • WHEN all people have been inspected
    • THEN the service will issue a request to create all the people who did not yet exist in VAN
    • AND record the VAN ids of newly created people as they return
    • AND handle failure appropriately

GIVEN the above process has completed and all people have been rectified:

  • THEN the RSVP sync process will begin
@aguestuser aguestuser added this to the ak-van-sync milestone Mar 19, 2018
@aguestuser aguestuser changed the title Upsert People during RSVP Sync [3] Upsert People before RSVP Sync [3] Mar 19, 2018
@aguestuser
Copy link
Contributor Author

closing as ill-drawn and duplicative of work folded into #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant