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

Safely combine updates from the Opportunity API and RPDE Feeds #10

Open
nickevansuk opened this issue Sep 30, 2018 · 0 comments
Open

Safely combine updates from the Opportunity API and RPDE Feeds #10

nickevansuk opened this issue Sep 30, 2018 · 0 comments

Comments

@nickevansuk
Copy link
Contributor

nickevansuk commented Sep 30, 2018

Proposer

ODI

Use Case

In order to safely combine updates from the Opportunity API and Open Data Feeds, a common sense of "modified" timestamp is required.

For example:

  • A call to the Opportunity API of /events/123 shows "remainingAttendeeCapacity": 1:
  • The last item for /events/123 received from open data feed is "remainingAttendeeCapacity": 0

How do we reconcile which is the most recent between these in order to update a broker's search index or item cache?

Proposal

Option 1

Option 2

Option 3

  • All JSON-LD data returned from the Opportunity API and RPDE feeds includes a "modified" property (added to Thing), which can be used to compare any object in the object graph. This works separately and in parallel with the RPDE id/modified mechanism.

Option 4

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

No branches or pull requests

1 participant