Commit 6199727f authored by Enriko Käsper's avatar Enriko Käsper
Browse files

Merge branch 'hotfix/TEIS-1198' into 'master'

Release: merge 'hotfix-teis-1198' into 'master' created by Enriko Käsper

See merge request teis/payments-service!32
parents 812b5aba 043c24f3
theGroup=ee.sm.ti.teis
theVersion=1.2.0
theVersion=1.2.1
pluginVersion=1.0.0
commonsVersion=1.4.0
officeApiGatewayVersion=1.4.0
......
--liquibase formatted sql
/* @formatter:off */
--changeset enriko:2020-05-21.cleanup-claim-definitions context:local,dev,test
DELETE FROM reconciliation;
DELETE FROM payment;
DELETE FROM enforcement;
DELETE FROM data_object_reference;
DELETE FROM claim;
DELETE FROM claim_definition;
--changeset enriko:2020-05-21.initial-claim-definitions
INSERT INTO claim_definition (id, code, title, bank_accounts, receiver_name, payment_reference, payment_description, data_object_type, path_end, object_status)
VALUES ('13c32867-b082-48a3-907a-b930f0164d2c', 'PENALTY_PAYMENT', 'Sunniraha', 'SEB Pank EE891010220034796011\nSwedbank EE932200221023778606\nLuminor Bank EE701700017001577198',
'Rahandusministeerium', '2800082284', 'Toimingu nr', 'OBJECT_TYPE__VIOLATION_ACT', 'general', 'CURRENT');
......@@ -10,13 +10,12 @@ DELETE FROM payment;
DELETE FROM enforcement;
DELETE FROM data_object_reference;
DELETE FROM claim;
DELETE FROM claim_definition;
DELETE FROM claim_definition WHERE created_by = 'test';
INSERT INTO claim_definition (id, code, title, bank_accounts, receiver_name, payment_reference, payment_description, data_object_type, path_end, object_status)
VALUES ('20bffead-a063-467e-a4b1-d55bf53944b5', 'CREATE_PAYMENT', 'Create payment', 'EE123123213453543', 'TEHIK', 'Create payment reference', 'payment description 123', 'OBJECT_TYPE__CLAIM_PAYMENT', null, 'CURRENT'),
('500dacdc-dbff-47bd-a5fe-ba61537b08f9', 'CREATE_ANOTHER_PAYMENT', 'Create another payment definition', 'EE123123213453543', 'TEHIK', 'Ref 123456789', 'payment another description', 'OBJECT_TYPE__CLAIM_PAYMENT', null, 'CURRENT'),
('4cf07228-fdd9-4a76-a8a2-a2dffa97bd3e', 'CREATE_THIRD_PAYMENT', 'Create payment', 'EE123123213453543', 'TEHIK', 'Ref 987654321', 'payment description 123', 'OBJECT_TYPE__CLAIM_PAYMENT', null, 'DELETED'),
('13c32867-b082-48a3-907a-b930f0164d2c', 'PENALTY_PAYMENT', 'Payment details test', 'EE123123213453543', 'TEHIK', '2800082284', 'payment another description', 'OBJECT_TYPE__VIOLATION_ACT', null, 'CURRENT');
INSERT INTO claim_definition (id, code, title, bank_accounts, receiver_name, payment_reference, payment_description, data_object_type, path_end, object_status, created_by)
VALUES ('20bffead-a063-467e-a4b1-d55bf53944b5', 'CREATE_PAYMENT', 'Create payment', 'EE123123213453543', 'TEHIK', 'Create payment reference', 'payment description 123', 'OBJECT_TYPE__CLAIM_PAYMENT', null, 'CURRENT', 'test'),
('500dacdc-dbff-47bd-a5fe-ba61537b08f9', 'CREATE_ANOTHER_PAYMENT', 'Create another payment definition', 'EE123123213453543', 'TEHIK', 'Ref 123456789', 'payment another description', 'OBJECT_TYPE__CLAIM_PAYMENT', null, 'CURRENT', 'test'),
('4cf07228-fdd9-4a76-a8a2-a2dffa97bd3e', 'CREATE_THIRD_PAYMENT', 'Create payment', 'EE123123213453543', 'TEHIK', 'Ref 987654321', 'payment description 123', 'OBJECT_TYPE__CLAIM_PAYMENT', null, 'DELETED', 'test');
INSERT INTO claim (id, claim_definition_id, employer_id, issued_date, amount, deadline_date, reference, payment_reference, path, status, balance, object_status, payment_description)
VALUES ('0f8680d3-6bea-4540-ae61-58e4793ffc30', '20bffead-a063-467e-a4b1-d55bf53944b5', '6b68de81-37be-4613-b7c4-f226107978e5', '2020-01-14', 12.31, '2020-01-15', 'new reference 32', 'Create payment reference', null, 'VALID', 12.31, 'CURRENT', 'test payment description 321'),
......
Supports Markdown
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