Skip to content

Commit

Permalink
Add some clarification to iput_wrapper [DHS-3180]
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlinssen committed Jun 7, 2024
1 parent 45456c6 commit 5715acb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datahubirodsruleset/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ def icp_wrapper(ctx, source, destination, project_id, overwrite):

def iput_wrapper(ctx, source, destination, project_id, overwrite):
"""
Added in 4.3.2 development, review if still necessary on next version upgrade!
This is because the microserice msiDataObjPut is only usable when called by a client with 'irule'
https://docs.irods.org/4.3.2/doxygen/reDataObjOpr_8cpp.html#a8076987f48ddb90fdfc0a7f5c5dcf13b
Workaround wrapper function to execute iRODS data object put.
Execute an 'iput' with a sub-process instead of msiDataObjPut.
Expand Down

0 comments on commit 5715acb

Please sign in to comment.