forked from UtrechtUniversity/yoda-ruleset
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuuConstants.r
48 lines (35 loc) · 1.67 KB
/
uuConstants.r
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# \file uuConstants.r
# \brief Constants that apply to all Yoda implementations.
# \author Paul Frederiks
# \author Lazlo Westerhof
# \copyright Copyright (c) 2016-2018 Utrecht University. All rights reserved.
# \license GPLv3, see LICENSE.
# \constants uuORGMETADATAPREFIX Prefix for organisational metadata
UUORGMETADATAPREFIX = "org_"
# \constant uuUSERMETADATAPREFIX Prefix for user metadata
UUUSERMETADATAPREFIX = "usr_"
# \constant uuUSERMETADATAROOT JSONAVU namespace/json root for user metadata
UUUSERMETADATAROOT = "usr"
# \constant UUSYSTEMCOLLECTION irods path of a system collection to store system support files in
# Needs to be prepended with irods zone.
UUSYSTEMCOLLECTION = "/yoda"
# \constant UUREVISIONCOLLECTION irods path where all revisions will be stored
UUREVISIONCOLLECTION = UUSYSTEMCOLLECTION ++ "/revisions"
# \constant UUDATAREQUESTCOLLECTION irods path where system data of the datarequest module will be
# stored
UUDATAREQUESTCOLLECTION = UUSYSTEMCOLLECTION ++ "/datarequest"
# \RESOURCE AND TIER MANAGEMENT
# \Default name for a tier when none defined yet
UUDEFAULTRESOURCETIER = 'Standard';
# \Metadata attribute for storage tier name
UURESOURCETIERATTRNAME = UUORGMETADATAPREFIX ++ 'storage_tier';
# \Metadata for calculated storage month
UUMETADATASTORAGEMONTH = UUORGMETADATAPREFIX ++ 'storage_data_month';
# \constant UUPRIMARYRESOURCES
UUPRIMARYRESOURCES = list("irodsResc");
# \constant UUREPLICATIONRESOURCE
UUREPLICATIONRESOURCE = "irodsRescRepl";
# \constant UUMAXREVISIONSIZE
UUMAXREVISIONSIZE = double("2000000000"); # 2GB as in 2 * 1000 * 1000 * 1000
# \constant UUBLOCKLIST
UUBLOCKLIST = list("._*", ".DS_Store");