Merge pull request #188 from hongwei1/develop

feature/support the V500 version
This commit is contained in:
Simon Redfern 2022-06-14 14:35:39 +02:00 committed by GitHub
commit 9e839cb1a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -49,6 +49,7 @@ object ObpAPI extends Loggable {
final val ContentEqualDynamic = "content=dynamic"
final val UnknownErrorMessage = "Unknown Error!"
final val OBPVersionV400 = "OBPv4.0.0"
final val OBPVersionV500 = "OBPv5.0.0"
final val UKVersionV31 = "UKv3.1"
final val UKVersionV20 = "UKv2.0"
final val BGVersionV13 = "BGv1.3"

View File

@ -343,7 +343,7 @@ WIP to add comments on resource docs. This code copied from Sofit.
val defaultVersion: String = Helper.getPropsValue("default.version") match {
case Full(v) => v
case _ => OBPVersionV400
case _ => OBPVersionV500
}
// Get the requested version from the url parameter and default if none
@ -352,7 +352,7 @@ WIP to add comments on resource docs. This code copied from Sofit.
// Possible OBP Versions
val obpVersionsSupported = List("OBPv3.1.0", OBPVersionV400)
val obpVersionsSupported = List(OBPVersionV400, OBPVersionV500)
val otherVersionsSupported = List(BGVersionV13, UKVersionV31)
@ -368,6 +368,7 @@ WIP to add comments on resource docs. This code copied from Sofit.
"OBPv3.0.0",
"OBPv3.1.0",
OBPVersionV400,
OBPVersionV500,
UKVersionV31,
BGVersionV13,
STETv14,