Project

General

Profile

Task #3098

Task #3074: Phase one implementaion for morpho to connect dataone services

Implment the update and delete methods

Added by Jing Tao over 12 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2012-07-20
Due date:
% Done:

0%

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

Description

The methods will look like:

public String update(String pid, InputStream object, String newPid, String sysMetadata);
public String delete(String pid);

They will handle both data and metadata objects.

Three checks have to pass: user has the Write permission on the object, user has execute permission on the service, and the authoritative member node is available for the object.

We will depend the first two checks on the update method of the dataone lib. It will throw an org.dataone.service.exceptions.NotAuthorized exception if it can't pass the check.
We have a new mechanism for the third check.

The attached is the update sequence diagram.

morpho-update-dataone-sequence.png (63.7 KB) Jing Tao, 2012-07-23 23:07

126

History

#2 Updated by Jing Tao over 12 years ago

  • Status changed from New to Rejected

Duplicate the task 3103

#3 Updated by Dave Vieglais about 12 years ago

  • Target version changed from Sprint-2012.37-Block.5.3 to Sprint-2012.41-Block.6.1

#4 Updated by Ben Leinfelder about 12 years ago

  • Target version changed from Sprint-2012.41-Block.6.1 to Sprint-2012.44-Block.6.2

#5 Updated by Chris Jones almost 12 years ago

  • Target version changed from Sprint-2012.44-Block.6.2 to Sprint-2012.50-Block.6.4

#6 Updated by Ben Leinfelder over 11 years ago

  • Target version changed from Sprint-2012.50-Block.6.4 to 2013.10-Block.2.1

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)