diff --git a/obp-api/pom.xml b/obp-api/pom.xml index fcf409b80..8077e04ca 100644 --- a/obp-api/pom.xml +++ b/obp-api/pom.xml @@ -107,6 +107,11 @@ postgresql 42.2.8 + + com.oracle.database.jdbc + ojdbc8 + 21.4.0.0 + com.h2database h2 diff --git a/obp-api/src/main/scala/code/api/v4_0_0/APIMethods400.scala b/obp-api/src/main/scala/code/api/v4_0_0/APIMethods400.scala index f0d48b398..72740e003 100644 --- a/obp-api/src/main/scala/code/api/v4_0_0/APIMethods400.scala +++ b/obp-api/src/main/scala/code/api/v4_0_0/APIMethods400.scala @@ -5727,15 +5727,15 @@ trait APIMethods400 { // }yield{ // JBool(isDeleted) // } - throw new RuntimeException(s"$NotImplemented Only support Http Method `GET`,`CREATE`,`DELETE` yet, current is ${method.value}") + throw new RuntimeException(s"$NotImplemented We only support the Http Methods GET and POST . The current method is: ${method.value}") } else if (method.value.equalsIgnoreCase("put")) { - throw new RuntimeException(s"$NotImplemented Only support Http Method `GET`,`CREATE`,`DELETE` yet, current is ${method.value}") + throw new RuntimeException(s"$NotImplemented We only support the Http Methods GET and POST . The current method is: ${method.value}") }else { NewStyle.function.tryons(s"$InvalidEndpointMapping `request_mapping` must be linked to at least one valid dynamic entity!", 400, cc.callContext) { DynamicEndpointHelper.getEntityNameKeyAndValue(responseMappingString, pathParams) } - throw new RuntimeException(s"$NotImplemented Only support Http Method `GET`,`CREATE`,`DELETE` yet, current is ${method.value}") + throw new RuntimeException(s"$NotImplemented We only support the Http Methods GET and POST . The current method is: ${method.value}") } } yield{ (Full(("code", 200) ~ ("value", responseBody)), callContext)