eclipse-pass / pass-deposit-services

Deposit Services are responsible for the transfer of custodial content and metadata from end users to repositories.
Apache License 2.0
1 stars 4 forks source link

Uses conditional updates when interacting with repository resources #255

Closed emetsger closed 5 years ago

emetsger commented 5 years ago

Upgrade the messaging-support library to 0.1.3-3.4-SNAPSHOT from 0.1.2-3.4.

The CriticalPath class in version 0.1.2-3.4 of the library would always issue updates of repository resources (via HTTP PATCH using the PASS Java client), even if the state of the resource wasn't modified by the caller.

Instead of updating the repository resource each time, the upgraded CriticalPath will conditionally update the repository resource only when it has been modified locally.

See also: https://github.com/OA-PASS/messaging-support/pull/4