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

'idempotentFullSync' method to synchronize collections #38

Closed
andrus opened this issue Aug 31, 2014 · 0 comments
Closed

'idempotentFullSync' method to synchronize collections #38

andrus opened this issue Aug 31, 2014 · 0 comments

Comments

@andrus
Copy link
Contributor

andrus commented Aug 31, 2014

recent "createOrUpdate" functionality in LinkRestService doesn't go far enough. It doesn't allow to build a true PUT request on a collection (e.g. "update the state of 1..N"). It is half way there, but deleting items is not supported. Need to add another Java operation (preliminary name: "idempotentFullSync") that would treat incoming data as a full collection representation and hence would delete server items not in the collection.

There's synergy with #29 - once we switch to multi-object locators, it will be easy to implement delete.

@andrus andrus changed the title createUpdateOrDelete method to synchronize collections 'idempotentFullSync' method to synchronize collections Sep 2, 2014
@andrus andrus added this to the 1.7: TBD milestone Sep 2, 2014
@andrus andrus closed this as completed Sep 4, 2014
atomashpolskiy pushed a commit to atomashpolskiy/link-rest that referenced this issue Jun 24, 2015
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