Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Commit

Permalink
preparation for the new release
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudio Cacciari committed Apr 11, 2017
1 parent 005e170 commit dd02356
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 140 deletions.
11 changes: 11 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
B2SAFE package 4.0.0 [2017/04/12]
Tested with iRODS 4.1.x and 4.2.0.
Compatible with EPIC API and HSv8 API.
- added support for iRODS v4.2.0
- added support for the EUDAT PID profile
- changed epic client to support new b2handle library
- python script code cleaning
- initial support of the metadata module (added a couple of rules)
- various bug fixing
- initial support for the ARGO messaging system

B2SAFE package 3.1.3 [2017/01/04]
bug fixing release:
- fixed many epicclents bugs
Expand Down
15 changes: 6 additions & 9 deletions rulebase/catchError.re
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
# EUDATCheckOwnershipObj(*path)
# EUDATCheckOwnershipColl(*path)

#

# Check if 2 replicas have the same checksum
#
# Parameters:
# *source [IN] path source of data object
# *destination [IN] path destination of replicated data object
#
# Author: Long Phan, JSC
#
#-------------------------------------------------------------------------------
EUDATCatchErrorChecksum(*source,*destination) {
logInfo("[EUDATCatchErrorChecksum] Check if 2 replicas have the same checksum. " ++
"Source = *source, destination = *destination");
Expand All @@ -41,15 +41,14 @@ EUDATCatchErrorChecksum(*source,*destination) {

}

#
# Check if 2 replicas have the same size.
#
# Parameters:
# *source [IN] path source of data object
# *destination [IN] path destination of replicated data object
#
# Author: Long Phan, JSC
#
#-------------------------------------------------------------------------------
EUDATCatchErrorSize(*source,*destination) {
logInfo("[EUDATCatchErrorSize] Check if 2 replicas have the same size." ++
"Source = *source, destination = *destination");
Expand Down Expand Up @@ -78,7 +77,6 @@ EUDATCatchErrorSize(*source,*destination) {

}

#
# Check if a user is or is not owner of the data object/collection
# (Reference: https://www.irods.org/index.php/iRODS_Error_Codes or /iRODS/lib/core/include/rodsErrorTable.h)
#
Expand All @@ -88,7 +86,7 @@ EUDATCatchErrorSize(*source,*destination) {
#
# Author: Long Phan, JSC;
# Author: Claudio Cacciari, Cineca;
#----------------------------------------------------
#-------------------------------------------------------------------------------
EUDATCatchErrorDataOwner(*path,*msg) {
*msg = "ownership check passed";

Expand Down Expand Up @@ -138,7 +136,6 @@ EUDATCatchErrorDataOwner(*path,*msg) {
}
}


# Check if a user is or is not owner of the data object,
# but comparing the session var "userNameClient" with the owners of the object
#
Expand All @@ -147,7 +144,7 @@ EUDATCatchErrorDataOwner(*path,*msg) {
# *message [OUT] response message
#
# Author: Claudio Cacciari, Cineca;
#----------------------------------------------------
#-------------------------------------------------------------------------------
EUDATCheckOwnershipObj(*path) {

msiSplitPath(*path, *collPath, *objPath);
Expand All @@ -168,7 +165,7 @@ EUDATCheckOwnershipObj(*path) {
# *message [OUT] response message
#
# Author: Claudio Cacciari, Cineca;
# ----------------------------------------------------
#-------------------------------------------------------------------------------
EUDATCheckOwnershipColl(*path) {

*owner = 0;
Expand Down
Loading

0 comments on commit dd02356

Please sign in to comment.