Commit 627de21f 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!53
parents 9484546a aca7eef1
theGroup=ee.sm.ti.teis
theVersion=1.8.0
theVersion=1.9.0
commonsVersion=1.8.0
commonApiGatewayVersion=1.8.0
officeApiGatewayVersion=1.8.0
......
--liquibase formatted sql
--changeset jyrgen:2020-07-24.1.add-object-type-risk-assessment
DELETE FROM classifier_item where id = 'OBJECT_TYPE__RISK_ASSESSMENT' and classifier_definition_id = 'OBJECT_TYPE';
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__RISK_ASSESSMENT', 'OBJECT_TYPE', 'RISK_ASSESSMENT', false, 'Ohu hinnangu andmeobjekt', 'CURRENT', 11, null, now(), null, null);
\ No newline at end of file
--liquibase formatted sql
--changeset jyrgen:2020-07-22.1.add-risk-settings-status
INSERT INTO classifier_definition (id, default_value, editable, name, hierarchical)
VALUES ('RISK_ASSESSMENT_STATUS', 'IN_PROGRESS', false, 'Riskianalüüsi staatus', false);
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 ('RISK_ASSESSMENT_STATUS__IN_PROGRESS', 'RISK_ASSESSMENT_STATUS', 'IN_PROGRESS', false, 'Tegemisel', 'CURRENT', 1, null, now(), null, null),
('RISK_ASSESSMENT_STATUS__CONFIRMED', 'RISK_ASSESSMENT_STATUS', 'CONFIRMED', false, 'Kinnitatud', 'CURRENT', 2, null, now(), null, null),
('RISK_ASSESSMENT_STATUS__ARCHIVED', 'RISK_ASSESSMENT_STATUS', 'ARCHIVED', false, 'Arhiveeritud', 'CURRENT', 3, null, now(), null, null);
--liquibase formatted sql
--changeset jyrgen:2020-08-04.add-object-type-risk-statement-assessment
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__RISK_STATEMENT_ASSESSMENT', 'OBJECT_TYPE', 'RISK_STATEMENT_ASSESSMENT', false, 'Mõõtmise protokollid', 'CURRENT', 12, null, now(), null, null);
\ No newline at end of file
--liquibase formatted sql
--changeset kristel:2020-08-10.add-placeholder-risk-business-type-category-values
INSERT INTO classifier_definition (id, default_value, editable, name, hierarchical)
VALUES ('RISK_BUSINESS_TYPE_CATEGORY', null, true, 'Riskianalüüsi tegevuse tüüpide grupp (liigituse kõrgem tase)', false);
\ No newline at end of file
......@@ -21,8 +21,7 @@ VALUES
('TEST_EDITABLENONHIERARCHICAL', null, true, 'Rebased', false,TRUE),
('TEST_NONEDITABLEHIERARCHICAL', null, false, 'Kanad', true, FALSE),
('TEST_RISK_BUSINESS_TYPE_CATEGORY', null, true, 'Ärid', true, FALSE),
('TEST_RISK_FACTOR_CATEGORY', 'ACTIVE', true, 'Riskianalüüsi riski kategooriate grupp (liigituse kõrgem tase).', false, true),
('TEST_RISK_ASSESSMENT_STATUS', 'IN_PROGRESS', false, 'Riskianalüüsi staatus.', false, true);
('TEST_RISK_FACTOR_CATEGORY', 'ACTIVE', true, 'Riskianalüüsi riski kategooriate grupp (liigituse kõrgem tase).', false, true);
INSERT INTO classifier_attribute_definition (id, classifier_definition_id, code, name, mandatory, data_type)
VALUES
......@@ -101,9 +100,7 @@ VALUES
('TEST_RISK_BUSINESS_TYPE_CATEGORY__MEDICINE', 'TEST_RISK_BUSINESS_TYPE_CATEGORY', 'MEDICINE', FALSE, 'fixing humanoids', 'CURRENT', 100000003, null,now(),null, null),
('TEST_RISK_FACTOR_CATEGORY__RADIATION', 'TEST_RISK_FACTOR_CATEGORY', 'RADIATION', FALSE, 'Radiatsiooni tase', 'CURRENT', 100000001, null,now(),null, null),
('TEST_RISK_FACTOR_CATEGORY__ABSORB', 'TEST_RISK_FACTOR_CATEGORY', 'ABSORB', FALSE, 'Imavuse tähtis mõõdik', 'CURRENT', 100000002, null,now(),null, null),
('TEST_RISK_ASSESSMENT_STATUS__IN_PROGRESS', 'TEST_RISK_ASSESSMENT_STATUS', 'IN_PROGRESS', FALSE, 'Tegemisel', 'CURRENT', 100000001, null,now(),null, null),
('TEST_RISK_ASSESSMENT_STATUS__CONFIRMED', 'TEST_RISK_ASSESSMENT_STATUS', 'CONFIRMED', FALSE, 'Kinnitatud', 'CURRENT', 100000002, null,now(),null, null),
('TEST_RISK_ASSESSMENT_STATUS__ARCHIVED', 'TEST_RISK_ASSESSMENT_STATUS', 'ARCHIVED', FALSE, 'Arhiveeritud', 'CURRENT', 100000003, null,now(),null, null);
('RISK_BUSINESS_TYPE_CATEGORY__PLACEHOLDER_FOR_TESTING', 'RISK_BUSINESS_TYPE_CATEGORY', 'PLACEHOLDER_FOR_TESTING', TRUE, 'Ajutine klassifikaator testimiseks', 'CURRENT', 100000004, null, now(), null, null);
/*ATTRIBUTE VALUES*/
INSERT INTO classifier_attribute_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