Skip to content
Snippets Groups Projects

fix importance bug

Merged Timm Fitschen requested to merge f-importance into dev
All threads resolved!
Files
21
+ 112
0
#
# This file is a part of the CaosDB Project.
#
# Copyright (C) 2018 Research Group Biomedical Physics,
# Max-Planck-Institute for Dynamics and Self-Organization Göttingen
# Copyright (C) 2021 Timm Fitsche <t.fitschen@indiscale.com>
# Copyright (C) 2021 IndiScale GmbH <info@indiscale.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# Five columns:
# DOMAIN_ID, ENTITY_ID, TRANSACTION, JOB, MODE
# general rules
0,0,INSERT,CheckPropValid,MUST
0,0,INSERT,CheckParValid,MUST
0,0,INSERT,CheckParOblPropPresent,MUST
0,0,INSERT,CheckValueParsable,MUST
0,0,UPDATE,CheckPropValid,MUST
0,0,UPDATE,CheckParValid,MUST
0,0,UPDATE,CheckParOblPropPresent,MUST
0,0,UPDATE,CheckValueParsable,MUST
0,0,DELETE,CheckReferenceDependencyExistent,MUST
0,0,DELETE,CheckChildDependencyExistent,MUST
# role specific rules
## recordtype rules
0,1,INSERT,CheckNamePresent,MUST
0,1,INSERT,CheckPropPresent,SHOULD
0,1,INSERT,SetImpToRecByDefault,MUST
0,1,UPDATE,CheckNamePresent,MUST
0,1,UPDATE,CheckPropPresent,SHOULD
0,1,UPDATE,SetImpToRecByDefault,MUST
## record rules
0,2,INSERT,CheckNamePresent,SHOULD
0,2,INSERT,CheckPropPresent,SHOULD
0,2,INSERT,CheckParPresent,MUST
0,2,INSERT,SetImpToFix,MUST
0,2,UPDATE,CheckNamePresent,SHOULD
0,2,UPDATE,CheckPropPresent,SHOULD
0,2,UPDATE,CheckParPresent,MUST
0,2,UPDATE,SetImpToFix,MUST
## file rules
0,3,INSERT,CheckNamePresent,SHOULD
0,3,INSERT,MatchFileProp,MUST
0,3,INSERT,CheckTargetPathValid,MUST
0,3,INSERT,SetImpToFix,MUST
0,3,UPDATE,CheckNamePresent,SHOULD
0,3,UPDATE,MatchFileProp,MUST
0,3,UPDATE,CheckTargetPathValid,MUST
0,3,UPDATE,SetImpToFix,MUST
## property rules
0,4,INSERT,CheckDatatypePresent,MUST
0,4,UPDATE,CheckDatatypePresent,MUST
0,4,INSERT,CheckNamePresent,MUST
0,4,UPDATE,CheckNamePresent,MUST
0,4,INSERT,SetImpToFix,MUST
0,4,UPDATE,SetImpToFix,MUST
## query template rules
0,8,UPDATE,CheckQueryTemplate,MUST
0,8,INSERT,CheckQueryTemplate,MUST
# data type specific rules
## reference rules
0,11,INSERT,CheckRefidPresent,SHOULD
0,11,INSERT,CheckRefidValid,MUST
0,11,INSERT,CheckRefidIsaParRefid,SHOULD
0,11,UPDATE,CheckRefidPresent,SHOULD
0,11,UPDATE,CheckRefidValid,MUST
0,11,UPDATE,CheckRefidIsaParRefid,SHOULD
## integer rules
0,12,INSERT,CheckUnitPresent,SHOULD
0,12,INSERT,ParseUnit,SHOULD
0,12,UPDATE,CheckUnitPresent,SHOULD
0,12,UPDATE,ParseUnit,SHOULD
## double rules
0,13,INSERT,CheckUnitPresent,SHOULD
0,13,INSERT,ParseUnit,SHOULD
0,13,UPDATE,CheckUnitPresent,SHOULD
0,13,UPDATE,ParseUnit,SHOULD
## filereference rules
0,17,INSERT,CheckRefidValid,MUST
0,17,INSERT,CheckRefidIsaParRefid,MUST
0,17,UPDATE,CheckRefidValid,MUST
0,17,UPDATE,CheckRefidIsaParRefid,MUST
Loading