Skip to content

Commit

Permalink
Refactor iRODS microservices to remove acPostProcForCreate
Browse files Browse the repository at this point in the history
  • Loading branch information
devincowan committed Apr 17, 2024
1 parent 8f61e28 commit 2a59286
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions hydroshare.re
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ acPostProcForCopy () {
msiHSAddNewFile($objPath, "/hydroshareZone/home/cuahsiDataProxy/bags", "quotaUserName", "Federated", "hsuser", "dummy", "local.hs.org/hsapi/_internal/update_quota_usage/");
}

# catch other create commands including "ibun"
# documentation is limited https://irods.org/uploads/2015/01/irods4-microservices-book-web.pdf
# but I think we might just simply be able to use acPostProcForCreate to catch zipping of files
acPostProcForCreate () {
msiHSAddNewFile($objPath, "/hydroshareZone/home/cuahsiDataProxy/bags", "quotaUserName", "Federated", "hsuser", "dummy", "local.hs.org/hsapi/_internal/update_quota_usage/");
}

# catch "imv" command
#acPostProcForObjRename (*sourceObject, *destObject) {
# msiHSRemoveFile(*sourceObject, "/hydroshareZone/home/cuahsiDataProxy/bags", "quotaUserName", "Federated", "hsuser", "dummy", "local.hs.org/hsapi/_internal/update_quota_usage/");
Expand Down

0 comments on commit 2a59286

Please sign in to comment.