Project

General

Profile

Task #2197

Story #2191: API refactoring / refinement

add updateObsoletedBy method

Added by Rob Nahf about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Documentation
Start date:
2012-01-10
Due date:
% Done:

100%

Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:

Description

Looking at the other method names that affect systemMetadata, I think the nomenclature should be

CNCore.setObsoletedBy(session, pid, obsoletedByPid, serialVersion);


Related issues

Blocks Infrastructure - Task #2210: Update d1_libclient_java to implement new methods to APIs Rejected 2012-01-11

History

#1 Updated by Ben Leinfelder about 12 years ago

I'm sure there's a reason, but why have this specialized method when there is a CN.updateSystemMetadata() method that could be used for such a thing?

#2 Updated by Dave Vieglais about 12 years ago

  • Status changed from New to In Progress

Rest endpoint requires some discussion.

Proposal is:

PUT /meta/obsoletedby/{pid}

But this depends on correctly interpreting /meta/obsoletedby as a service endpoint rather than a pid = obsoledtedby

#3 Updated by Dave Vieglais about 12 years ago

  • Status changed from In Progress to Closed

REST endpoint switched to PUT /obsoletedBy/{pid}

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)