Skip to content

Commit

Permalink
Merge branch 'develop' into SRU2024
Browse files Browse the repository at this point in the history
  • Loading branch information
zubri authored Jun 29, 2024
2 parents 5574ec1 + 4ed9e60 commit e9584f1
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Prowide Core - CHANGELOG

#### 9.5.1 - SNAPSHOT
#### 9.5.1 - June 2024
* (PW-1913) Added IBAN validation for Egypt local account structure
* Restore deprecated method in MT210 class

#### 9.5.0 - May 2024
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
dependencies {
classpath 'ru.vyarus:gradle-quality-plugin:4.7.0'
classpath 'pl.allegro.tech.build:axion-release-plugin:1.14.2'
classpath 'io.github.gradle-nexus:publish-plugin:1.1.0'
classpath 'io.github.gradle-nexus:publish-plugin:2.0.0'
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.13.0' // above this version requires Java 11
}
}
Expand Down
20 changes: 20 additions & 0 deletions src/main/resources/BbanStructureValidations.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,26 @@
}
]
},
{
"country_code": "EG",
"validation_rules": [
{
"entry_type": "bank_code",
"length": 4,
"character_type": "n"
},
{
"entry_type": "branch_code",
"length": 4,
"character_type": "n"
},
{
"entry_type": "account_number",
"length": 17,
"character_type": "n"
}
]
},
{
"country_code": "HR",
"validation_rules": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ public void testSomeValidCodes() {
assertIbanOk(" GB06 BARC 2006 0500 9524 86");
assertIbanOk(" GB06 LOYD 3097 5104 5702 05.");
assertIbanOk("GB26BOFS80200643721002");
assertIbanOk("EG389004000100300074201200001");
}

private void assertIbanOk(String string) {
Expand Down

0 comments on commit e9584f1

Please sign in to comment.