Commit 569e6796 authored by Enriko Käsper's avatar Enriko Käsper
Browse files

Merge branch 'develop' into 'master'

Release: merge 'develop' into 'master' created by Enriko Käsper

See merge request teis/classifiers-service!87
parents da16ba36 b34d05f6
# Changelog
## [1.20.0] - 2021-04-21
* TEIS-2133: added new data to classifier_item table for risk assessments: vocabulary, risk factor category and business type category items
## [1.20.0] - 2021-04-12
* TEIS-2099: added new data to classifier_item table for risk assessments: vocabulary, risk factor category and business
......
theGroup=ee.sm.ti.teis
theVersion=1.20.0
theVersion=1.21.0
commonsVersion=1.23.0
officeApiGatewayVersion=1.23.0
schedulerVersion=1.15.0
......
......@@ -9,7 +9,8 @@ DELETE FROM classifier_item_link WHERE source_classifier_item_id LIKE 'TEST_%';
DELETE FROM classifier_item_link WHERE target_classifier_item_id LIKE 'TEST_%';
DELETE FROM classifier_item_link WHERE object_status = 'DELETED';
DELETE FROM classifier_item WHERE (classifier_definition_id != 'EMTAK' AND seq_no >= 10000000)
OR classifier_definition_id LIKE 'TEST_%' OR code LIKE 'PLACEHOLDER_FOR_TESTING%';
OR classifier_definition_id LIKE 'TEST_%'
OR code LIKE 'PLACEHOLDER_FOR_TESTING%';
DELETE FROM classifier_item WHERE name LIKE 'TEST%';
DELETE FROM classifier_definition WHERE id LIKE 'TEST_%';
DELETE FROM classifier_attribute_definition WHERE id LIKE 'TEST_%';
......@@ -101,7 +102,7 @@ VALUES
('RISK_BUSINESS_TYPE_CATEGORY__PLACEHOLDER_FOR_TESTING2', 'RISK_BUSINESS_TYPE_CATEGORY', 'PLACEHOLDER_FOR_TESTING2', TRUE, 'TEST Ajutine klassifikaator 2 testimiseks, deleted', 'DELETED', 100000005, null, now(), null, null),
('RISK_BUSINESS_TYPE_CATEGORY__PLACEHOLDER_FOR_TESTING3', 'RISK_BUSINESS_TYPE_CATEGORY', 'PLACEHOLDER_FOR_TESTING3', TRUE, 'TEST Ajutine klassifikaator 3 testimiseks', 'CURRENT', 100000006, null, now(), null, null),
('RISK_FACTOR_CATEGORY__PLACEHOLDER_FOR_TESTING', 'RISK_FACTOR_CATEGORY', 'PLACEHOLDER_FOR_TESTING', FALSE, 'TEST Placeholder for testing risk factor category', 'CURRENT', 100000007, null, now(),null,null),
('RISK_FACTOR_CATEGORY__PLACEHOLDER_FOR_TESTING2', 'RISK_FACTOR_CATEGORY', 'PLACEHOLDER_FOR_TESTING2', FALSE, 'TEST Placeholder for testing risk factor category, deleted', 'DELETED', 10000008, null, now(),null,null);
('RISK_FACTOR_CATEGORY__PLACEHOLDER_FOR_TESTING2', 'RISK_FACTOR_CATEGORY', 'PLACEHOLDER_FOR_TESTING2', FALSE, 'TEST Placeholder for testing risk factor category, deleted', 'DELETED', 10000009, null, now(),null,null);
/*ATTRIBUTE VALUES*/
INSERT INTO classifier_attribute_value (id, object_status, classifier_item_id, classifier_attribute_definition_id, value)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment