aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/generic_attribute_control
diff options
context:
space:
mode:
authorXinhui2017-10-17 16:47:53 +0200
committerXinhui2017-10-17 16:47:59 +0200
commit40c1942fedfa6932c94be42d169e4977674c0cfa (patch)
tree7c8465106e8877b4167eea514e309f6274ce0ed8 /app/models/generic_attribute_control
parent5559c8639f977b2ee946d3f982da1bbf0643a5a4 (diff)
downloadchouette-core-40c1942fedfa6932c94be42d169e4977674c0cfa.tar.bz2
Compliance Control set min level of criticity
Refs #4730
Diffstat (limited to 'app/models/generic_attribute_control')
-rw-r--r--app/models/generic_attribute_control/min_max.rb1
-rw-r--r--app/models/generic_attribute_control/pattern.rb1
-rw-r--r--app/models/generic_attribute_control/uniqueness.rb1
3 files changed, 0 insertions, 3 deletions
diff --git a/app/models/generic_attribute_control/min_max.rb b/app/models/generic_attribute_control/min_max.rb
index a83ab64ab..ab6f546a7 100644
--- a/app/models/generic_attribute_control/min_max.rb
+++ b/app/models/generic_attribute_control/min_max.rb
@@ -9,7 +9,6 @@ module GenericAttributeControl
class << self
def attribute_type; :integer end
- def default_criticity; :warning end
def default_code; "3-Generic-2" end
end
end
diff --git a/app/models/generic_attribute_control/pattern.rb b/app/models/generic_attribute_control/pattern.rb
index 027d6948e..3a4a55d5c 100644
--- a/app/models/generic_attribute_control/pattern.rb
+++ b/app/models/generic_attribute_control/pattern.rb
@@ -7,7 +7,6 @@ module GenericAttributeControl
class << self
def attribute_type; :string end
- def default_criticity; :warning end
def default_code; "3-Generic-1" end
end
end
diff --git a/app/models/generic_attribute_control/uniqueness.rb b/app/models/generic_attribute_control/uniqueness.rb
index 36a270d74..f707c944b 100644
--- a/app/models/generic_attribute_control/uniqueness.rb
+++ b/app/models/generic_attribute_control/uniqueness.rb
@@ -6,7 +6,6 @@ module GenericAttributeControl
class << self
def attribute_type; :string end
- def default_criticity; :warning end
def default_code; "3-Generic-3" end
end
end