Commit 6424c8b2 authored by Siiri Tann's avatar Siiri Tann
Browse files

Merge branch 'develop' into 'master'

Release: merge 'develop' into 'master' created by Siiri Tann

See merge request teis/classifiers-service!79
parents af8d98c7 5ea1095c
# Changelog
## [1.18.0] - 2021-03-08
* TEIS-2018: added new classifier items OBJECT_TYPE__PROCEEDING_WEB_LINK and OBJECT_TYPE__PROCEEDING_FILE
* TEIS-2029: reset risk assessment init data
## [1.17.1] - 2021-02-08
* TEIS-1969: release datawarehouse database views
## [1.17.0] - 2021-02-07
* added data to classifier_item table for risk assessments: vocabulary, risk factor category and business type category
......
theGroup=ee.sm.ti.teis
theVersion=1.17.1
commonsVersion=1.19.0
officeApiGatewayVersion=1.17.0
schedulerVersion=1.13.0
pluginVersion=1.2.0
theVersion=1.18.0
commonsVersion=1.21.0
officeApiGatewayVersion=1.21.0
schedulerVersion=1.14.0
pluginVersion=1.3.0
--liquibase formatted sql
--changeset kristel:2021-02-01.TEIS-1896.insert-risk-assessment-classifier-items splitStatements:false
--changeset kristel:2021-02-01.TEIS-1896.insert-risk-assessment-classifier-items-rerun splitStatements:false
DELETE FROM classifier_item WHERE classifier_definition_id = 'VOCABULARY';
DELETE FROM classifier_item WHERE classifier_definition_id = 'RISK_FACTOR_CATEGORY';
......
--liquibase formatted sql
--changeset kristel:2021-02-02.TEIS-1896.update-risk-assessment-classifier-items-editable-and-valid_from-values
--changeset kristel:2021-02-02.TEIS-1896.update-risk-assessment-classifier-items-editable-and-valid_from-values-rerun
UPDATE classifier_item SET editable = true
WHERE classifier_definition_id IN ('VOCABULARY', 'RISK_BUSINESS_TYPE_CATEGORY', 'RISK_FACTOR_CATEGORY');
UPDATE classifier_item SET valid_from = now()
WHERE classifier_definition_id IN ('VOCABULARY', 'RISK_BUSINESS_TYPE_CATEGORY', 'RISK_FACTOR_CATEGORY');
\ No newline at end of file
WHERE classifier_definition_id IN ('VOCABULARY', 'RISK_BUSINESS_TYPE_CATEGORY', 'RISK_FACTOR_CATEGORY');
--liquibase formatted sql
--changeset jyrgen:2021-03-01.add-object-types-proceeding
INSERT INTO classifier_item (id, classifier_definition_id, code, editable, name, object_status, seq_no, upper_classifier_item_id, valid_from, valid_until, level)
VALUES ('OBJECT_TYPE__PROCEEDING_WEB_LINK', 'OBJECT_TYPE', 'PROCEEDING_WEB_LINK', false, 'Menetluse veebilink', 'CURRENT', 14, null, now(), null, null),
('OBJECT_TYPE__PROCEEDING_FILE', 'OBJECT_TYPE', 'PROCEEDING_FILE', false, 'Menetluse fail', 'CURRENT', 15, null, now(), null, null);
\ No newline at end of file
......@@ -138,4 +138,4 @@ INSERT INTO classifier_item_link(id,source_classifier_item_id,target_classifier_
INSERT INTO classifier_item (id, classifier_definition_id, code, editable, name, object_status, seq_no, upper_classifier_item_id, valid_from, valid_until, level)
VALUES ('VOCABULARY__RISK', 'VOCABULARY', 'RISK', false, 'TEST See on ohu selgitus', 'CURRENT', 12, null, now(), null, null),
('VOCABULARY__OH', 'VOCABULARY', 'OH', false, 'TEST See on töötervishoiu selgitus', 'CURRENT', 12, null, now(), null, null);
\ No newline at end of file
('VOCABULARY__OH', 'VOCABULARY', 'OH', false, 'TEST See on töötervishoiu selgitus', 'CURRENT', 13, null, now(), null, null);
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