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

Notification System Fixes - Changes Route #268

Merged
merged 7 commits into from
Jan 10, 2020

Conversation

sf2ne
Copy link
Collaborator

@sf2ne sf2ne commented Jan 10, 2020

This PR references:
#258
#265

This PR contains:

  • filtering on orgId in POST /v1/orgs/{orgid}/search/nodes/error
  • changing the /changes route query so it gets all public changes, not just ones from the IBM org
  • Adding maxChangeIdOfQuery to the response, which is the highest changeId from the db query (so its not the highest changeId in the response necessarily, but its the highest changeId that they could have at the time of the request) So essentially if the response gets cut off its how many changes are potentially left to consume
  • Collating the response body by both id and the resource itself so that changes for the same id but different resources aren't smushed together
  • relevant tests and test fixes

@sf2ne sf2ne requested a review from bmpotter January 10, 2020 18:55
@bmpotter bmpotter merged commit 662f4f7 into open-horizon:master Jan 10, 2020
@sf2ne sf2ne deleted the changesfixes branch January 10, 2020 20:00
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.

2 participants