Project

General

Profile

Task #6715

Feature #6498: V2 Metacat MN and CN Support

Task #6734: Implement the feature to support SID in MN and CN apis

The sid handling in the MN.getLogRecord

Added by Jing Tao almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2015-01-05
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

The documentation on http://jenkins-1.dataone.org/jenkins/job/API%20Documentation%20-%20trunk/ws/api-documentation/build/html/design/ContentMutability.html says:

MN.getLogRecords(?idFilter):
Filter results to include: PIDs that match the idFilter. SIDs that match the idFilter. N.B. Log.identifier field will only contain PID values, no SIDs.

During our standup meeting, we decided:
GetLogRecord can be called with a PID or a SID. The MN should resolve the SID to the HEAD PID, and return the log records for that PID. If a client wishes to retrieve log records for the entire family of objects referenced by a SID, then the client should retrieve a list of PIDs for the SID, the call getLogRecords for each PID to retrieve the entire set of log records.

History

#1 Updated by Jing Tao almost 10 years ago

  • Parent task set to #6734

#2 Updated by Jing Tao over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • translation missing: en.field_remaining_hours set to 0.0

The code was added to handle SID and the junit test passed.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)