Merge pull request #1219 from hongwei1/develop

fixed the empty response issues
This commit is contained in:
Simon Redfern 2019-02-14 14:43:10 +01:00 committed by GitHub
commit 63540ec786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 27 additions and 26 deletions

View File

@ -67,7 +67,7 @@ Removes consent""",
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}

View File

@ -1863,7 +1863,7 @@ Requests OAuth2 authorization code based One-time authorization code issued by E
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}

View File

@ -160,9 +160,10 @@ trait ResourceDocsAPIMethods extends MdcLoggable with APIMethods220 with APIMeth
activePlusLocalResourceDocs ++= activeResourceDocs
requestedApiVersion match
{
case ApiVersion.`apiBuilder` => ;
case version: ScannedApiVersion => ;
case _ => activePlusLocalResourceDocs ++= localResourceDocs
// only `obp` standard show the `localResouceDocs`
case version: ScannedApiVersion if(version.apiStandard =="obp") => activePlusLocalResourceDocs ++= localResourceDocs
// all other standards only show their own apis.
case _ => ;
}
// activePlusLocalResourceDocs ++= localResourceDocs

View File

@ -84,7 +84,7 @@ object APIMethods_AISPApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}
@ -131,7 +131,7 @@ object APIMethods_AISPApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}
@ -181,7 +181,7 @@ object APIMethods_AISPApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}
@ -236,7 +236,7 @@ object APIMethods_AISPApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}
@ -279,7 +279,7 @@ object APIMethods_AISPApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}
@ -324,7 +324,7 @@ object APIMethods_AISPApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}

View File

@ -82,7 +82,7 @@ The ASPSP answers with a structure embedding the original request and the result
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}

View File

@ -85,7 +85,7 @@ object APIMethods_PISPApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}
@ -340,7 +340,7 @@ The status information must be available during at least 30 calendar days after
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}
@ -695,7 +695,7 @@ The following use cases can be applied:
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}

View File

@ -132,7 +132,7 @@ object APIMethods_AccountAccessApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}

View File

@ -206,7 +206,7 @@ object APIMethods_FilePaymentsApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}
@ -525,7 +525,7 @@ object APIMethods_FilePaymentsApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}
@ -701,7 +701,7 @@ object APIMethods_FilePaymentsApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}

View File

@ -210,7 +210,7 @@ object APIMethods_FundsConfirmationsApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}

View File

@ -57,7 +57,7 @@ object APIMethods_ProductsApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}
@ -84,7 +84,7 @@ object APIMethods_ProductsApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}

View File

@ -879,7 +879,7 @@ object APIMethods_StatementsApi extends RestHelper {
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}

View File

@ -225,7 +225,7 @@ As a last option, an ASPSP might in addition accept a command with access rights
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}

View File

@ -76,7 +76,7 @@ Nevertheless, single transactions might be cancelled on an individual basis on t
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}

View File

@ -175,7 +175,7 @@ Nevertheless, single transactions might be cancelled on an individual basis on t
for {
(Full(u), callContext) <- authorizeEndpoint(UserNotLoggedIn, cc)
} yield {
(json.parse(""""""), callContext)
(NotImplemented, callContext)
}
}
}