diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7f7bb5c8c..78311f2f4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,17 +17,17 @@ preflight:
stage: preflight
script:
- pwd
- - git clone -b only_final "http://gitlab-ci-token:$ACCESS_TOKEN@git.mfd.msk/mfd/clearing_test.git"
+ - git clone -b successful_set_export_fixed "http://gitlab-ci-token:$ACCESS_TOKEN@git.mfd.msk/mfd/clearing_test.git"
artifacts:
name: "$CI_COMMIT_REF_NAME"
expire_in: 1 day
paths:
- clearing_test
only:
+ - master
- dev
- /^dev_.*$/
- new
- - spring-state-machine-template-v2
resource_group: clearing-test
build:
@@ -41,10 +41,10 @@ build:
paths:
- /builds/mfd/clearing/z-distr/target/clearing
only:
+ - master
- dev
- /^dev_.*$/
- new
- - spring-state-machine-template-v2
resource_group: clearing-test
test:
@@ -56,18 +56,20 @@ test:
script:
- echo "Installing maven and python" && apk update && apk add maven python3
- echo "Copying jar files to clearing-all/bin" && cp -r /builds/mfd/clearing/z-distr/target/clearing/bin ./clr_test/clearing-all/bin
+ - echo "Copying ddl files to clearing-all/db" && cp -r /builds/mfd/clearing/z-distr/target/clearing/db ./clr_test/clearing-all/db
- echo "Removing old logs folder artifacts/logs" && rm -rf artifacts/logs
- python3 clr_test/run_test_docker_containers.py
- echo "Copying logs" && mkdir -p artifacts/logs && docker run --rm -v clr_test_logs_volume:/logs alpine tar -C /logs -cf - . | tar -C artifacts/logs -xf -
- echo "Cleaning up log volume" && docker volume rm clr_test_logs_volume
+ - cat clr_test/results.txt && ! grep -q "failed" clr_test/results.txt
artifacts:
- expire_in: 1 day
+ expire_in: 7 day
when: always
paths:
- artifacts/logs
only:
+ - master
- dev
- /^dev_.*$/
- new
- - spring-state-machine-template-v2
resource_group: clearing-test
\ No newline at end of file
diff --git a/clearing-parent/account-service/pom.xml b/clearing-parent/account-service/pom.xml
index 3c4dda71e..503158a8f 100644
--- a/clearing-parent/account-service/pom.xml
+++ b/clearing-parent/account-service/pom.xml
@@ -5,7 +5,7 @@
clearing-parent
ru.spcex.clearing
- SPCEX-3.18.240
+ SPCEX-3.18.244
4.0.0
diff --git a/clearing-parent/account-service/src/main/java/ru/spcex/clearing/account/config/validation/BankAccountValidationConfig.java b/clearing-parent/account-service/src/main/java/ru/spcex/clearing/account/config/validation/BankAccountValidationConfig.java
index 4b8856552..6713d5fee 100644
--- a/clearing-parent/account-service/src/main/java/ru/spcex/clearing/account/config/validation/BankAccountValidationConfig.java
+++ b/clearing-parent/account-service/src/main/java/ru/spcex/clearing/account/config/validation/BankAccountValidationConfig.java
@@ -71,37 +71,37 @@ public class BankAccountValidationConfig {
AccountError.RequiredFieldEmpty,
AccountError.DictionaryNotFound,
false),
- ValidateSymbolsRule.required("bankIdentificationCode",
+ ValidateSymbolsRule.required("БИК",
BankAccountNewRequest::getBankIdentificationCode,
AccountError.RequiredFieldEmpty,
AccountError.BadSymbol),
- ValidateSymbolsRule.required("bankName",
+ ValidateSymbolsRule.required("Наименование компании",
BankAccountNewRequest::getBankName,
AccountError.RequiredFieldEmpty,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("correspondentAccount",
+ ValidateSymbolsRule.notRequired("Корр. счет",
BankAccountNewRequest::getCorrespondentAccount,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("correspondentAccountName",
+ ValidateSymbolsRule.notRequired("Наименование корр. счета",
BankAccountNewRequest::getCorrespondentAccountName,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("destination",
+ ValidateSymbolsRule.notRequired("Назначение платежа",
BankAccountNewRequest::getDestination,
AccountError.BadSymbol),
- ValidateSymbolsRule.required("account",
+ ValidateSymbolsRule.required("Счет",
BankAccountNewRequest::getAccount,
AccountError.RequiredFieldEmpty,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("taxpayerIdentificationNumber",
+ ValidateSymbolsRule.notRequired("ИНН",
BankAccountNewRequest::getTaxpayerIdentificationNumber,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("taxRegistrationReasonCode",
+ ValidateSymbolsRule.notRequired("КПП",
BankAccountNewRequest::getTaxRegistrationReasonCode,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("swiftCode",
+ ValidateSymbolsRule.notRequired("SWIFT",
BankAccountNewRequest::getSwiftCode,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("intermediarySwiftCode",
+ ValidateSymbolsRule.notRequired("SWIFT посредника",
BankAccountNewRequest::getIntermediarySwiftCode,
AccountError.BadSymbol)
);
@@ -145,34 +145,34 @@ public class BankAccountValidationConfig {
AccountError.RequiredFieldEmpty,
AccountError.DictionaryNotFound,
false),
- ValidateSymbolsRule.notRequired("bankIdentificationCode",
+ ValidateSymbolsRule.notRequired("БИК",
BankAccountUpdateRequest::getBankIdentificationCode,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("bankName",
+ ValidateSymbolsRule.notRequired("Наименование компании",
BankAccountUpdateRequest::getBankName,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("correspondentAccount",
+ ValidateSymbolsRule.notRequired("Корр. счет",
BankAccountUpdateRequest::getCorrespondentAccount,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("correspondentAccountName",
+ ValidateSymbolsRule.notRequired("Наименование корр. счета",
BankAccountUpdateRequest::getCorrespondentAccountName,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("destination",
+ ValidateSymbolsRule.notRequired("Назначение платежа",
BankAccountUpdateRequest::getDestination,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("account",
+ ValidateSymbolsRule.notRequired("Счет",
BankAccountUpdateRequest::getAccount,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("taxpayerIdentificationNumber",
+ ValidateSymbolsRule.notRequired("ИНН",
BankAccountUpdateRequest::getTaxpayerIdentificationNumber,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("taxRegistrationReasonCode",
+ ValidateSymbolsRule.notRequired("КПП",
BankAccountUpdateRequest::getTaxRegistrationReasonCode,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("swiftCode",
+ ValidateSymbolsRule.notRequired("SWIFT",
BankAccountUpdateRequest::getSwiftCode,
AccountError.BadSymbol),
- ValidateSymbolsRule.notRequired("intermediarySwiftCode",
+ ValidateSymbolsRule.notRequired("SWIFT посредника",
BankAccountUpdateRequest::getIntermediarySwiftCode,
AccountError.BadSymbol)
);
diff --git a/clearing-parent/backend-api/pom.xml b/clearing-parent/backend-api/pom.xml
index 0e2e21749..763665abb 100644
--- a/clearing-parent/backend-api/pom.xml
+++ b/clearing-parent/backend-api/pom.xml
@@ -11,7 +11,7 @@
clearing-parent
ru.spcex.clearing
- SPCEX-3.18.240
+ SPCEX-3.18.244
diff --git a/clearing-parent/backend-api/src/main/java/ru/spcex/clearing/backendapi/controller/request/cud/registry/ChangeRefundDateActionNew.java b/clearing-parent/backend-api/src/main/java/ru/spcex/clearing/backendapi/controller/request/cud/registry/ChangeRefundDateActionNew.java
index 76856dd5f..cd8447aaa 100644
--- a/clearing-parent/backend-api/src/main/java/ru/spcex/clearing/backendapi/controller/request/cud/registry/ChangeRefundDateActionNew.java
+++ b/clearing-parent/backend-api/src/main/java/ru/spcex/clearing/backendapi/controller/request/cud/registry/ChangeRefundDateActionNew.java
@@ -26,12 +26,15 @@ public class ChangeRefundDateActionNew implements IAction {
@@ -39,6 +31,8 @@ public class RSplitDepositActionNew implements IAction
-
+
@@ -1070,6 +1070,7 @@
+
@@ -1082,6 +1083,7 @@
+
@@ -1094,6 +1096,7 @@
+