mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 19:16:53 +00:00
val -> lazy val endpointsOfX (OBP)
This commit is contained in:
parent
16de107c02
commit
8dfd3e6538
@ -40,7 +40,7 @@ object OBPAPI1_2_1 extends OBPRestHelper with APIMethods121 with MdcLoggable wit
|
||||
val version : ApiVersion = ApiVersion.v1_2_1 // "1.2.1"
|
||||
val versionStatus = ApiVersionStatus.STABLE.toString
|
||||
|
||||
val endpointsOf1_2_1 = List(
|
||||
lazy val endpointsOf1_2_1 = List(
|
||||
Implementations1_2_1.root(version, versionStatus),
|
||||
Implementations1_2_1.getBanks,
|
||||
Implementations1_2_1.bankById,
|
||||
|
||||
@ -19,7 +19,7 @@ object OBPAPI1_3_0 extends OBPRestHelper with APIMethods130 with APIMethods121 w
|
||||
|
||||
//TODO: check all these calls to see if they should really have the same behaviour as 1.2.1
|
||||
|
||||
val endpointsOf1_2_1 = List(
|
||||
lazy val endpointsOf1_2_1 = List(
|
||||
Implementations1_2_1.root(version, versionStatus),
|
||||
Implementations1_2_1.getBanks,
|
||||
Implementations1_2_1.bankById,
|
||||
|
||||
@ -12,7 +12,7 @@ object OBPAPI1_4_0 extends OBPRestHelper with APIMethods140 with MdcLoggable wit
|
||||
val version : ApiVersion = ApiVersion.v1_4_0 //"1.4.0"
|
||||
val versionStatus = ApiVersionStatus.STABLE.toString
|
||||
|
||||
val endpointsOf1_2_1 = List(
|
||||
lazy val endpointsOf1_2_1 = List(
|
||||
Implementations1_2_1.root(version, versionStatus),
|
||||
Implementations1_2_1.getBanks,
|
||||
Implementations1_2_1.bankById,
|
||||
|
||||
@ -43,7 +43,7 @@ object OBPAPI2_0_0 extends OBPRestHelper with APIMethods130 with APIMethods140 w
|
||||
|
||||
// Note: Since we pattern match on these routes, if two implementations match a given url the first will match
|
||||
|
||||
val endpointsOf1_2_1 = List(
|
||||
lazy val endpointsOf1_2_1 = List(
|
||||
Implementations1_2_1.root(version, versionStatus),
|
||||
Implementations1_2_1.getBanks,
|
||||
Implementations1_2_1.bankById,
|
||||
|
||||
@ -47,7 +47,7 @@ object OBPAPI2_1_0 extends OBPRestHelper with APIMethods130 with APIMethods140 w
|
||||
val versionStatus = ApiVersionStatus.STABLE.toString
|
||||
|
||||
// Possible Endpoints 1.2.1
|
||||
val endpointsOf1_2_1 = Implementations1_2_1.addCommentForViewOnTransaction ::
|
||||
lazy val endpointsOf1_2_1 = Implementations1_2_1.addCommentForViewOnTransaction ::
|
||||
Implementations1_2_1.addCounterpartyCorporateLocation::
|
||||
Implementations1_2_1.addCounterpartyImageUrl ::
|
||||
Implementations1_2_1.addCounterpartyMoreInfo ::
|
||||
|
||||
@ -19,7 +19,7 @@ object OBPAPI2_2_0 extends OBPRestHelper with APIMethods130 with APIMethods140 w
|
||||
val versionStatus = ApiVersionStatus.STABLE.toString
|
||||
|
||||
// Possible Endpoints from 1.2.1
|
||||
val endpointsOf1_2_1 = Implementations1_2_1.addCommentForViewOnTransaction ::
|
||||
lazy val endpointsOf1_2_1 = Implementations1_2_1.addCommentForViewOnTransaction ::
|
||||
Implementations1_2_1.addCounterpartyCorporateLocation::
|
||||
Implementations1_2_1.addCounterpartyImageUrl ::
|
||||
Implementations1_2_1.addCounterpartyMoreInfo ::
|
||||
|
||||
@ -57,7 +57,7 @@ object OBPAPI3_0_0 extends OBPRestHelper with APIMethods130 with APIMethods140 w
|
||||
|
||||
|
||||
// Possible Endpoints from 1.2.1
|
||||
val endpointsOf1_2_1 = Implementations1_2_1.addCommentForViewOnTransaction ::
|
||||
lazy val endpointsOf1_2_1 = Implementations1_2_1.addCommentForViewOnTransaction ::
|
||||
Implementations1_2_1.addCounterpartyCorporateLocation::
|
||||
Implementations1_2_1.addCounterpartyImageUrl ::
|
||||
Implementations1_2_1.addCounterpartyMoreInfo ::
|
||||
|
||||
@ -56,7 +56,7 @@ object OBPAPI3_1_0 extends OBPRestHelper with APIMethods130 with APIMethods140 w
|
||||
|
||||
|
||||
// Possible Endpoints from 1.2.1
|
||||
val endpointsOf1_2_1 = Implementations1_2_1.addCommentForViewOnTransaction ::
|
||||
lazy val endpointsOf1_2_1 = Implementations1_2_1.addCommentForViewOnTransaction ::
|
||||
Implementations1_2_1.addCounterpartyCorporateLocation::
|
||||
Implementations1_2_1.addCounterpartyImageUrl ::
|
||||
Implementations1_2_1.addCounterpartyMoreInfo ::
|
||||
|
||||
@ -51,7 +51,7 @@ object OBPAPI4_0_0 extends OBPRestHelper with APIMethods130 with APIMethods140 w
|
||||
|
||||
val version : ApiVersion = ApiVersion.v4_0_0
|
||||
|
||||
val versionStatus = ApiVersionStatus.STABLE.toString
|
||||
lazy val versionStatus = ApiVersionStatus.STABLE.toString
|
||||
|
||||
// Possible Endpoints from 4.0.0, exclude one endpoint use - method,exclude multiple endpoints use -- method,
|
||||
// e.g getEndpoints(Implementations4_0_0) -- List(Implementations4_0_0.genericEndpoint, Implementations4_0_0.root)
|
||||
|
||||
@ -69,7 +69,7 @@ object OBPAPI5_0_0 extends OBPRestHelper
|
||||
|
||||
// Possible Endpoints from 5.0.0, exclude one endpoint use - method,exclude multiple endpoints use -- method,
|
||||
// e.g getEndpoints(Implementations5_0_0) -- List(Implementations5_0_0.genericEndpoint, Implementations5_0_0.root)
|
||||
val endpointsOf5_0_0 = getEndpoints(Implementations5_0_0)
|
||||
lazy val endpointsOf5_0_0 = getEndpoints(Implementations5_0_0)
|
||||
|
||||
// if old version ResourceDoc objects have the same name endpoint with new version, omit old version ResourceDoc.
|
||||
def allResourceDocs = collectResourceDocs(
|
||||
|
||||
@ -70,7 +70,7 @@ object OBPAPI5_1_0 extends OBPRestHelper
|
||||
|
||||
// Possible Endpoints from 5.1.0, exclude one endpoint use - method,exclude multiple endpoints use -- method,
|
||||
// e.g getEndpoints(Implementations5_0_0) -- List(Implementations5_0_0.genericEndpoint, Implementations5_0_0.root)
|
||||
val endpointsOf5_1_0 = getEndpoints(Implementations5_1_0)
|
||||
lazy val endpointsOf5_1_0 = getEndpoints(Implementations5_1_0)
|
||||
|
||||
lazy val bugEndpoints = // these endpoints miss Provider parameter in the URL, we introduce new ones in V510.
|
||||
nameOf(Implementations3_0_0.getUserByUsername) ::
|
||||
|
||||
Loading…
Reference in New Issue
Block a user