change all typo of filed to field

This commit is contained in:
shuang 2020-10-23 18:36:37 +08:00
parent 30cb773396
commit e786dbc6f8
29 changed files with 109 additions and 109 deletions

View File

@ -8446,7 +8446,7 @@
"request_url": "/obp/v4.0.0/management/dynamic_entities/DYNAMIC_ENTITY_ID",
"summary": "更新DynamicEntity",
"description": "<p>更新DynamicEntity。 </p><p>身份验证是强制性的</p><p>更新一个DynamicEntity更新完成后将更改相应的CURD端点。 </p><p>当前的支持文件类型如下: <br /> [字符串,数字,整数,布尔值] </p>",
"description_markdown": "Update a DynamicEntity.\n\n\nAuthentication is Mandatory\n\nUpdate one DynamicEntity, after update finished, the corresponding CURD endpoints will be changed.\n\nCurrent support filed types as follow:\n[string, number, integer, boolean]\n\n",
"description_markdown": "Update a DynamicEntity.\n\n\nAuthentication is Mandatory\n\nUpdate one DynamicEntity, after update finished, the corresponding CURD endpoints will be changed.\n\nCurrent support field types as follow:\n[string, number, integer, boolean]\n\n",
"example_request_body": {
"FooBar": {
"required": [
@ -11963,7 +11963,7 @@
"request_url": "/obp/v4.0.0/management/dynamic_entities",
"summary": "创建动态实体",
"description": "<p>创建一个DynamicEntity。 </p><p>身份验证是强制性的</p><p>创建一个DynamicEntity创建成功后将自动生成相应的CURD端点</p><p>当前的支持文件类型如下: <br /> [字符串,数字,整数,布尔值] </p>",
"description_markdown": "Create a DynamicEntity.\n\n\nAuthentication is Mandatory\n\nCreate one DynamicEntity, after created success, the corresponding CURD endpoints will be generated automatically\n\nCurrent support filed types as follow:\n[string, number, integer, boolean]\n\n",
"description_markdown": "Create a DynamicEntity.\n\n\nAuthentication is Mandatory\n\nCreate one DynamicEntity, after created success, the corresponding CURD endpoints will be generated automatically\n\nCurrent support field types as follow:\n[string, number, integer, boolean]\n\n",
"example_request_body": {
"FooBar": {
"required": [

View File

@ -76,7 +76,7 @@ object APIBuilder
val deleteSingleApiDescription: String = (deleteSingleApiJValue \ "description").asInstanceOf[JString].values
val getApiDescriptionFromJsonFile: String = getApiDescription + "(From Json File)"
//TODO, for now this is only in description, could be a single filed later.
//TODO, for now this is only in description, could be a single field later.
val getMultipleApiAuthentication:Boolean = getApiDescriptionFromJsonFile.contains("Authentication is Mandatory")
val getSingleApiAuthentication:Boolean = getSingleApiDescription.contains("Authentication is Mandatory")
val createSingleApiAuthentication:Boolean = createSingleApiDescription.contains("Authentication is Mandatory")

View File

@ -214,7 +214,7 @@ trait ResourceDocsAPIMethods extends MdcLoggable with APIMethods220 with APIMeth
partialFunctionNames: Option[List[String]]) : Box[JsonResponse] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -504,7 +504,7 @@ trait ResourceDocsAPIMethods extends MdcLoggable with APIMethods220 with APIMeth
// cache this function with the parameters of the function
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/

View File

@ -957,7 +957,7 @@ object APIUtil extends MdcLoggable with CustomJsonFormats{
HTTPParam("connector_name", connectorName),
HTTPParam("customer_id", customerId),
HTTPParam("locked_status", lockedStatus)
).filter(_.values.head != ""))//Here filter the filed when value = "".
).filter(_.values.head != ""))//Here filter the field when value = "".
}
def createHttpParamsByUrlFuture(httpRequestUrl: String) = Future {

View File

@ -138,7 +138,7 @@ object ExampleValue {
lazy val counterpartyIdExample = ConnectorField("9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh", s"The Counterparty ID used in URLs. This SHOULD NOT be a name of a Counterparty.")
glossaryItems += makeGlossaryItem("Counterparty.counterpartyId", counterpartyIdExample)
lazy val otherAccountProviderExample = ConnectorField("", s"")//TODO, not sure what is this filed for?
lazy val otherAccountProviderExample = ConnectorField("", s"")//TODO, not sure what is this field for?
glossaryItems += makeGlossaryItem("Transaction.otherAccountProvider", otherAccountProviderExample)
lazy val isBeneficiaryExample = ConnectorField("true", s"This is a boolean. True if the originAccount can send money to the Counterparty")

View File

@ -2127,7 +2127,7 @@ trait APIMethods121 {
): Box[JsonResponse] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/

View File

@ -536,7 +536,7 @@ object JSONFactory1_4_0 extends MdcLoggable{
case List(i: Boolean, _*) => "\"" + key + """": {"type": "array","items": {"type": "boolean"}}"""
case Some(List(i: Boolean, _*)) => "\"" + key + """": {"type": "array","items": {"type": "boolean"}}"""
//String --> Some field calleds `date`, we will treat the filed as a `date` object.
//String --> Some field calleds `date`, we will treat the field as a `date` object.
//String --> But for some are not, eg: `date_of_birth` and `future_date` in V300Custom
case i: String if(key.contains("date")&& i.length != "20181230".length) => "\"" + key + """": {"type": "string","format": "date-time"}"""
case Some(i: String) if(key.contains("date")&& i.length != "20181230".length) => "\"" + key + """": {"type": "string","format": "date-time"}"""

View File

@ -986,7 +986,7 @@ trait APIMethods210 {
(card, callContext) <- NewStyle.function.createPhysicalCard(
bankCardNumber=postJson.bank_card_number,
nameOnCard=postJson.name_on_card,
cardType = "",// this filed is introduced from V310
cardType = "",// this field is introduced from V310
issueNumber=postJson.issue_number,
serialNumber=postJson.serial_number,
validFrom=postJson.valid_from_date,
@ -1003,7 +1003,7 @@ trait APIMethods210 {
pinResets= postJson.pin_reset.map(e => PinResetInfo(e.requested_date, PinResetReason.valueOf(e.reason_requested.toUpperCase))),
collected= Option(CardCollectionInfo(postJson.collected)),
posted= Option(CardPostedInfo(postJson.posted)),
customerId = "",// this filed is introduced from V310
customerId = "",// this field is introduced from V310
callContext
)

View File

@ -1223,7 +1223,7 @@ trait APIMethods310 {
postedData <- NewStyle.function.tryons(failMsg, 400, callContext) {
json.extract[PostCustomerJsonV310]
}
_ <- Helper.booleanToFuture(failMsg = InvalidJsonContent + s" The filed dependants(${postedData.dependants}) not equal the length(${postedData.dob_of_dependants.length }) of dob_of_dependants array" ) {
_ <- Helper.booleanToFuture(failMsg = InvalidJsonContent + s" The field dependants(${postedData.dependants}) not equal the length(${postedData.dob_of_dependants.length }) of dob_of_dependants array" ) {
postedData.dependants == postedData.dob_of_dependants.length
}
(customer, callContext) <- NewStyle.function.createCustomer(
@ -1925,7 +1925,7 @@ trait APIMethods310 {
cc =>
for {
(_, callContext) <- anonymousAccess(cc)
connectorVersion = APIUtil.getPropsValue("connector").openOrThrowException("connector props filed `connector` not set")
connectorVersion = APIUtil.getPropsValue("connector").openOrThrowException("connector props field `connector` not set")
starConnectorProps = APIUtil.getPropsValue("starConnector_supported_types").openOr("notfound")
obpApiLoopback <- connectorVersion.contains("kafka") || (connectorVersion.contains("star") && starConnectorProps.contains("kafka")) match {
case false => throw new IllegalStateException(s"${NotImplemented}for connector ${connectorVersion}")
@ -2043,7 +2043,7 @@ trait APIMethods310 {
postedData <- NewStyle.function.tryons(failMsg, 400, callContext) {
json.extract[ProductAttributeJson]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${ProductAttributeType.DOUBLE}(12.1234), ${ProductAttributeType.STRING}(TAX_NUMBER), ${ProductAttributeType.INTEGER}(123) and ${ProductAttributeType.DATE_WITH_DAY}(2012-04-23)"
productAttributeType <- NewStyle.function.tryons(failMsg, 400, callContext) {
ProductAttributeType.withName(postedData.`type`)
@ -2139,7 +2139,7 @@ trait APIMethods310 {
postedData <- NewStyle.function.tryons(failMsg, 400, callContext) {
json.extract[ProductAttributeJson]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${ProductAttributeType.DOUBLE}(12.1234), ${ProductAttributeType.STRING}(TAX_NUMBER), ${ProductAttributeType.INTEGER}(123) and ${ProductAttributeType.DATE_WITH_DAY}(2012-04-23)"
productAttributeType <- NewStyle.function.tryons(failMsg, 400, callContext) {
ProductAttributeType.withName(postedData.`type`)
@ -2762,7 +2762,7 @@ trait APIMethods310 {
postedData <- NewStyle.function.tryons(failMsg, 400, callContext) {
json.extract[AccountAttributeJson]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${AccountAttributeType.DOUBLE}(2012-04-23), ${AccountAttributeType.STRING}(TAX_NUMBER), ${AccountAttributeType.INTEGER}(123) and ${AccountAttributeType.DATE_WITH_DAY}(2012-04-23)"
accountAttributeType <- NewStyle.function.tryons(failMsg, 400, callContext) {
AccountAttributeType.withName(postedData.`type`)
@ -2834,7 +2834,7 @@ trait APIMethods310 {
json.extract[AccountAttributeJson]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${AccountAttributeType.DOUBLE}(2012-04-23), ${AccountAttributeType.STRING}(TAX_NUMBER), ${AccountAttributeType.INTEGER}(123) and ${AccountAttributeType.DATE_WITH_DAY}(2012-04-23)"
accountAttributeType <- NewStyle.function.tryons(failMsg, 400, callContext) {
AccountAttributeType.withName(postedData.`type`)
@ -5086,7 +5086,7 @@ trait APIMethods310 {
json.extract[CardAttributeJson]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${CardAttributeType.DOUBLE}(12.1234), ${CardAttributeType.STRING}(TAX_NUMBER), ${CardAttributeType.INTEGER}(123) and ${CardAttributeType.DATE_WITH_DAY}(2012-04-23)"
createCardAttribute <- NewStyle.function.tryons(failMsg, 400, callContext) {
CardAttributeType.withName(postedData.`type`)
@ -5158,7 +5158,7 @@ trait APIMethods310 {
json.extract[CardAttributeJson]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${CardAttributeType.DOUBLE}(12.1234), ${CardAttributeType.STRING}(TAX_NUMBER), ${CardAttributeType.INTEGER}(123) and ${CardAttributeType.DATE_WITH_DAY}(2012-04-23)"
createCardAttribute <- NewStyle.function.tryons(failMsg, 400, callContext) {
CardAttributeType.withName(postedData.`type`)

View File

@ -1221,7 +1221,7 @@ trait APIMethods400 {
|
|Create one DynamicEntity, after created success, the corresponding CURD endpoints will be generated automatically
|
|Current support filed types as follow:
|Current support field types as follow:
|${DynamicEntityFieldType.values.map(_.toString).mkString("[", ", ", ", reference]")}
|
|${DynamicEntityFieldType.DATE_WITH_DAY} format: ${DynamicEntityFieldType.DATE_WITH_DAY.dateFormat}
@ -1282,7 +1282,7 @@ trait APIMethods400 {
|
|Update one DynamicEntity, after update finished, the corresponding CURD endpoints will be changed.
|
|Current support filed types as follow:
|Current support field types as follow:
|${DynamicEntityFieldType.values.map(_.toString).mkString("[", ", ", ", reference]")}
|
|${DynamicEntityFieldType.DATE_WITH_DAY} format: ${DynamicEntityFieldType.DATE_WITH_DAY.dateFormat}
@ -2893,7 +2893,7 @@ trait APIMethods400 {
postedData <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
json.extract[CustomerAttributeJsonV400]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${CustomerAttributeType.DOUBLE}(12.1234), ${CustomerAttributeType.STRING}(TAX_NUMBER), ${CustomerAttributeType.INTEGER}(123) and ${CustomerAttributeType.DATE_WITH_DAY}(2012-04-23)"
customerAttributeType <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
CustomerAttributeType.withName(postedData.`type`)
@ -2948,7 +2948,7 @@ trait APIMethods400 {
postedData <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
json.extract[CustomerAttributeJsonV400]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${CustomerAttributeType.DOUBLE}(12.1234), ${CustomerAttributeType.STRING}(TAX_NUMBER), ${CustomerAttributeType.INTEGER}(123) and ${CustomerAttributeType.DATE_WITH_DAY}(2012-04-23)"
customerAttributeType <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
CustomerAttributeType.withName(postedData.`type`)
@ -3144,7 +3144,7 @@ trait APIMethods400 {
postedData <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
json.extract[TransactionAttributeJsonV400]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${TransactionAttributeType.DOUBLE}(12.1234), ${TransactionAttributeType.STRING}(TAX_NUMBER), ${TransactionAttributeType.INTEGER} (123)and ${TransactionAttributeType.DATE_WITH_DAY}(2012-04-23)"
transactionAttributeType <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
TransactionAttributeType.withName(postedData.`type`)
@ -3199,7 +3199,7 @@ trait APIMethods400 {
postedData <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
json.extract[TransactionAttributeJsonV400]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${TransactionAttributeType.DOUBLE}(12.1234), ${TransactionAttributeType.STRING}(TAX_NUMBER), ${TransactionAttributeType.INTEGER} (123)and ${TransactionAttributeType.DATE_WITH_DAY}(2012-04-23)"
transactionAttributeType <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
TransactionAttributeType.withName(postedData.`type`)
@ -3820,12 +3820,12 @@ trait APIMethods400 {
postedData <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
json.extract[AttributeDefinitionJsonV400]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${AttributeType.DOUBLE}(12.1234), ${AttributeType.STRING}(TAX_NUMBER), ${AttributeType.INTEGER} (123)and ${AttributeType.DATE_WITH_DAY}(2012-04-23)"
attributeType <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
AttributeType.withName(postedData.`type`)
}
failMsg = s"$InvalidJsonFormat The `Category` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Category` field can only accept the following field: " +
s"${AttributeCategory.Customer}"
category <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
AttributeCategory.withName(postedData.category)
@ -3884,12 +3884,12 @@ trait APIMethods400 {
postedData <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
json.extract[AttributeDefinitionJsonV400]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${AttributeType.DOUBLE}(12.1234), ${AttributeType.STRING}(TAX_NUMBER), ${AttributeType.INTEGER} (123)and ${AttributeType.DATE_WITH_DAY}(2012-04-23)"
attributeType <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
AttributeType.withName(postedData.`type`)
}
failMsg = s"$InvalidJsonFormat The `Category` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Category` field can only accept the following field: " +
s"${AttributeCategory.Account}"
category <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
AttributeCategory.withName(postedData.category)
@ -3947,12 +3947,12 @@ trait APIMethods400 {
postedData <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
json.extract[AttributeDefinitionJsonV400]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${AttributeType.DOUBLE}(12.1234), ${AttributeType.STRING}(TAX_NUMBER), ${AttributeType.INTEGER} (123)and ${AttributeType.DATE_WITH_DAY}(2012-04-23)"
attributeType <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
AttributeType.withName(postedData.`type`)
}
failMsg = s"$InvalidJsonFormat The `Category` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Category` field can only accept the following field: " +
s"${AttributeCategory.Product}"
category <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
AttributeCategory.withName(postedData.category)
@ -4009,12 +4009,12 @@ trait APIMethods400 {
postedData <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
json.extract[AttributeDefinitionJsonV400]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${AttributeType.DOUBLE}(12.1234), ${AttributeType.STRING}(TAX_NUMBER), ${AttributeType.INTEGER} (123)and ${AttributeType.DATE_WITH_DAY}(2012-04-23)"
attributeType <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
AttributeType.withName(postedData.`type`)
}
failMsg = s"$InvalidJsonFormat The `Category` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Category` field can only accept the following field: " +
s"${AttributeCategory.Transaction}"
category <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
AttributeCategory.withName(postedData.category)
@ -4073,12 +4073,12 @@ trait APIMethods400 {
postedData <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
json.extract[AttributeDefinitionJsonV400]
}
failMsg = s"$InvalidJsonFormat The `Type` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Type` field can only accept the following field: " +
s"${AttributeType.DOUBLE}(12.1234), ${AttributeType.STRING}(TAX_NUMBER), ${AttributeType.INTEGER} (123)and ${AttributeType.DATE_WITH_DAY}(2012-04-23)"
attributeType <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
AttributeType.withName(postedData.`type`)
}
failMsg = s"$InvalidJsonFormat The `Category` filed can only accept the following field: " +
failMsg = s"$InvalidJsonFormat The `Category` field can only accept the following field: " +
s"${AttributeCategory.Card}"
category <- NewStyle.function.tryons(failMsg, 400, cc.callContext) {
AttributeCategory.withName(postedData.category)

View File

@ -110,7 +110,7 @@ object Connector extends SimpleInjector {
val connector = new Inject(buildOne _) {}
def buildOne: Connector = {
val connectorProps = APIUtil.getPropsValue("connector").openOrThrowException("connector props filed not set")
val connectorProps = APIUtil.getPropsValue("connector").openOrThrowException("connector props field not set")
getConnectorInstance(connectorProps)
}
@ -950,7 +950,7 @@ trait Connector extends MdcLoggable {
//save transaction_id into database
_ <- Future {saveTransactionRequestTransaction(transactionRequest.id, createdTransactionId)}
//update transaction_id filed for varibale 'transactionRequest'
//update transaction_id field for varibale 'transactionRequest'
transactionRequest <- Future(transactionRequest.copy(transaction_ids = createdTransactionId.value))
} yield {
@ -1639,7 +1639,7 @@ trait Connector extends MdcLoggable {
def getCurrentFxRateCached(bankId: BankId, fromCurrencyCode: String, toCurrencyCode: String): Box[FXRate] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/

View File

@ -182,7 +182,7 @@ object ConnectorBuilderUtil {
s"""saveConnectorMetric {
| /**
| * Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
| * is just a temporary value filed with UUID values in order to prevent any ambiguity.
| * is just a temporary value field with UUID values in order to prevent any ambiguity.
| * The real value will be assigned by Macro during compile time at this line of a code:
| * https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
| */

View File

@ -66,7 +66,7 @@ object ConnectorEndpoints extends RestHelper{
inboundAdapterCallContextKey = StringUtils.uncapitalize(inboundAdapterCallContext)
inboundAdapterCallContextValue = InboundAdapterCallContext(cc.correlationId)
} yield {
// NOTE: if any filed type is BigDecimal, it is can't be serialized by lift json
// NOTE: if any field type is BigDecimal, it is can't be serialized by lift json
val json = Map((inboundAdapterCallContextKey, inboundAdapterCallContextValue),("status", Status("",List(InboundStatusMessage("","","","")))),("data", toValueObject(data)))
(json, HttpCode.`200`(cc))
}

View File

@ -144,7 +144,7 @@ object KafkaMappedConnector_JVMcompatible extends Connector with KafkaHelper wit
def getAccountHolderCached(bankId: BankId, accountId: AccountId) : String = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -168,7 +168,7 @@ object KafkaMappedConnector_JVMcompatible extends Connector with KafkaHelper wit
override def getBanksLegacy(callContext: Option[CallContext]) = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -216,7 +216,7 @@ object KafkaMappedConnector_JVMcompatible extends Connector with KafkaHelper wit
override def getBankLegacy(bankId: BankId, callContext: Option[CallContext]) = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -256,7 +256,7 @@ object KafkaMappedConnector_JVMcompatible extends Connector with KafkaHelper wit
override def getUser( username: String, password: String ): Box[InboundUser] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -303,7 +303,7 @@ object KafkaMappedConnector_JVMcompatible extends Connector with KafkaHelper wit
override def updateUserAccountViewsOld( user: ResourceUser ) = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -376,7 +376,7 @@ object KafkaMappedConnector_JVMcompatible extends Connector with KafkaHelper wit
saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -456,7 +456,7 @@ object KafkaMappedConnector_JVMcompatible extends Connector with KafkaHelper wit
def getTransactionsCached(bankId: BankId, accountId: AccountId, userId : String , loginUser: String): Box[List[Transaction]] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -545,7 +545,7 @@ object KafkaMappedConnector_JVMcompatible extends Connector with KafkaHelper wit
): Box[(BankAccount, Option[CallContext])] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/

View File

@ -464,7 +464,7 @@ object LocalMappedConnector extends Connector with MdcLoggable {
= {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -510,7 +510,7 @@ object LocalMappedConnector extends Connector with MdcLoggable {
= {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -3941,7 +3941,7 @@ object LocalMappedConnector extends Connector with MdcLoggable {
_ <- Future {
saveTransactionRequestTransaction(transactionRequest.id, createdTransactionId)
}
//update transaction_id filed for varibale 'transactionRequest'
//update transaction_id field for varibale 'transactionRequest'
transactionRequest <- Future(transactionRequest.copy(transaction_ids = createdTransactionId.value))
} yield {
@ -4064,7 +4064,7 @@ object LocalMappedConnector extends Connector with MdcLoggable {
_ <- Future {
saveTransactionRequestTransaction(transactionRequest.id, createdTransactionId)
}
//update transaction_id filed for varibale 'transactionRequest'
//update transaction_id field for varibale 'transactionRequest'
transactionRequest <- Future(transactionRequest.copy(transaction_ids = createdTransactionId.value))
} yield {
@ -4597,7 +4597,7 @@ object LocalMappedConnector extends Connector with MdcLoggable {
override def getCurrentFxRateCached(bankId: BankId, fromCurrencyCode: String, toCurrencyCode: String): Box[FXRate] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/

View File

@ -1190,7 +1190,7 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
override def getBankAccountsBalances(bankIdAccountIds: List[BankIdAccountId], @CacheKeyOmit callContext: Option[CallContext]): OBPReturnType[Box[AccountsBalances]] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/

View File

@ -200,7 +200,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getBanksLegacy(callContext: Option[CallContext])= saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -245,7 +245,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getBanks(callContext: Option[CallContext]) = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -314,7 +314,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getBankLegacy(bankId: BankId, callContext: Option[CallContext]) = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -363,7 +363,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getBank(bankId: BankId, callContext: Option[CallContext]) = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -428,7 +428,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getBankAccountsForUserLegacy(username: String, callContext: Option[CallContext]): Box[(List[InboundAccount], Option[CallContext])] = saveConnectorMetric{
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -479,7 +479,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getBankAccountsForUser(username: String, callContext: Option[CallContext]) = saveConnectorMetric{
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -549,7 +549,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getBankAccountLegacy(bankId: BankId, accountId: AccountId, @CacheKeyOmit callContext: Option[CallContext])= saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -605,7 +605,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def checkBankAccountExistsLegacy(bankId: BankId, accountId: AccountId, @CacheKeyOmit callContext: Option[CallContext]) = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -678,7 +678,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getCoreBankAccountsLegacy(BankIdAccountIds: List[BankIdAccountId], @CacheKeyOmit callContext: Option[CallContext]) = saveConnectorMetric{
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -727,7 +727,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getCoreBankAccounts(BankIdAccountIds: List[BankIdAccountId], @CacheKeyOmit callContext: Option[CallContext]) = saveConnectorMetric{
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -833,7 +833,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -900,7 +900,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
def getTransactionsCoreCached(bankId: BankId, accountId: AccountId, limit: Int,fromDate :String, toDate: String, callContext: Option[CallContext]): Box[(List[TransactionCore], Option[CallContext])] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -997,7 +997,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getTransactionLegacy(bankId: BankId, accountId: AccountId, transactionId: TransactionId, callContext: Option[CallContext]) = saveConnectorMetric{
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -1298,7 +1298,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getTransactionRequests210(user : User, fromAccount : BankAccount, callContext: Option[CallContext] = None) = saveConnectorMetric{
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -1407,7 +1407,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getCounterpartiesLegacy(thisBankId: BankId, thisAccountId: AccountId, viewId :ViewId, callContext: Option[CallContext] ) = saveConnectorMetric{
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -1472,7 +1472,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getCounterpartyByCounterpartyId(counterpartyId: CounterpartyId, callContext: Option[CallContext]) = saveConnectorMetric{
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -1514,7 +1514,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getCounterpartyTrait(thisBankId: BankId, thisAccountId: AccountId, couterpartyId: String, callContext: Option[CallContext]) = saveConnectorMetric{
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -1587,7 +1587,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getCustomersByUserId(userId: String, @CacheKeyOmit callContext: Option[CallContext]) = saveConnectorMetric{
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -1664,7 +1664,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
) = saveConnectorMetric{
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -1753,7 +1753,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
) = saveConnectorMetric{
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -1812,7 +1812,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
def createInMemoryTransaction(bankAccount: BankAccount,internalTransaction: InternalTransaction_vJune2017): Box[Transaction] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -1857,7 +1857,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
def createInMemoryTransactionCore(bankAccount: BankAccount,internalTransaction: InternalTransaction_vJune2017): Box[TransactionCore] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -1910,7 +1910,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
def createInMemoryCounterparty(bankAccount: BankAccount, counterpartyName: String, counterpartyId: String): Box[Counterparty] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -1994,7 +1994,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getBranches(bankId: BankId, callContext: Option[CallContext], queryParams: List[OBPQueryParam]) = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -2089,7 +2089,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
logger.debug("Enter getBranch for: " + branchId)
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -2188,7 +2188,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getAtms(bankId: BankId, callContext: Option[CallContext], queryParams: List[OBPQueryParam]) = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -2286,7 +2286,7 @@ trait KafkaMappedConnector_vJune2017 extends Connector with KafkaHelper with Mdc
override def getAtm(bankId : BankId, atmId: AtmId, callContext: Option[CallContext]) = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/

View File

@ -147,7 +147,7 @@ trait KafkaMappedConnector_vMay2019 extends Connector with KafkaHelper with MdcL
override def getAdapterInfo(@CacheKeyOmit callContext: Option[CallContext]): Future[Box[(InboundAdapterInfoInternal, Option[CallContext])]] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -225,7 +225,7 @@ trait KafkaMappedConnector_vMay2019 extends Connector with KafkaHelper with MdcL
override def getBank(bankId: BankId, @CacheKeyOmit callContext: Option[CallContext]): Future[Box[(Bank, Option[CallContext])]] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -302,7 +302,7 @@ trait KafkaMappedConnector_vMay2019 extends Connector with KafkaHelper with MdcL
override def getBanks(@CacheKeyOmit callContext: Option[CallContext]): Future[Box[(List[Bank], Option[CallContext])]] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -382,7 +382,7 @@ trait KafkaMappedConnector_vMay2019 extends Connector with KafkaHelper with MdcL
override def getBankAccountsBalances(bankIdAccountIds: List[BankIdAccountId], @CacheKeyOmit callContext: Option[CallContext]): OBPReturnType[Box[AccountsBalances]] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -509,7 +509,7 @@ trait KafkaMappedConnector_vMay2019 extends Connector with KafkaHelper with MdcL
override def getBranch(bankId: BankId, branchId: BranchId, @CacheKeyOmit callContext: Option[CallContext]): Future[Box[(BranchT, Option[CallContext])]] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -639,7 +639,7 @@ trait KafkaMappedConnector_vMay2019 extends Connector with KafkaHelper with MdcL
override def getBranches(bankId: BankId, @CacheKeyOmit callContext: Option[CallContext], queryParams: List[OBPQueryParam]): Future[Box[(List[BranchT], Option[CallContext])]] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -746,7 +746,7 @@ trait KafkaMappedConnector_vMay2019 extends Connector with KafkaHelper with MdcL
override def getAtm(bankId: BankId, atmId: AtmId, @CacheKeyOmit callContext: Option[CallContext]): Future[Box[(AtmT, Option[CallContext])]] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -856,7 +856,7 @@ trait KafkaMappedConnector_vMay2019 extends Connector with KafkaHelper with MdcL
override def getAtms(bankId: BankId, @CacheKeyOmit callContext: Option[CallContext], queryParams: List[OBPQueryParam]): Future[Box[(List[AtmT], Option[CallContext])]] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -948,7 +948,7 @@ trait KafkaMappedConnector_vMay2019 extends Connector with KafkaHelper with MdcL
override def getCustomersByUserId(userId: String, @CacheKeyOmit callContext: Option[CallContext]): Future[Box[(List[Customer], Option[CallContext])]] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -1040,7 +1040,7 @@ trait KafkaMappedConnector_vMay2019 extends Connector with KafkaHelper with MdcL
override def getCustomerByCustomerId(customerId: String, @CacheKeyOmit callContext: Option[CallContext]): Future[Box[(Customer, Option[CallContext])]] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -1133,7 +1133,7 @@ trait KafkaMappedConnector_vMay2019 extends Connector with KafkaHelper with MdcL
override def getCustomerByCustomerNumber(customerNumber: String, bankId: BankId, @CacheKeyOmit callContext: Option[CallContext]): Future[Box[(Customer, Option[CallContext])]] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/

View File

@ -330,7 +330,7 @@ trait KafkaMappedConnector_vSept2018 extends Connector with KafkaHelper with Mdc
override def getUser(username: String, password: String): Box[InboundUser] = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -382,7 +382,7 @@ trait KafkaMappedConnector_vSept2018 extends Connector with KafkaHelper with Mdc
override def getBanks(callContext: Option[CallContext]) = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -440,7 +440,7 @@ trait KafkaMappedConnector_vSept2018 extends Connector with KafkaHelper with Mdc
override def getBank(bankId: BankId, callContext: Option[CallContext]) = saveConnectorMetric {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/

View File

@ -457,7 +457,7 @@ object DynamicEntityCommons extends Converter[DynamicEntityT, DynamicEntityCommo
// validate all properties have a type and example
allFields.foreach(field => {
val JField(fieldName, value) = field
// validate filed name
// validate field name
checkFormat(namePattern.matcher(fieldName).matches(), s"$DynamicEntityInstanceValidateFail The field name should contains characters [-_A-Za-z0-9], the wrong field name: $fieldName")
checkFormat(value.isInstanceOf[JObject], s"$DynamicEntityInstanceValidateFail The property of $fieldName's type should be json object")

View File

@ -48,7 +48,7 @@ object fx extends MdcLoggable {
def getFallbackExchangeRateCached(fromCurrency: String, toCurrency: String): Option[Double] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/

View File

@ -155,7 +155,7 @@ trait KafkaHelper extends ObpActorInit with MdcLoggable {
import com.openbankproject.commons.ExecutionContext.Implicits.global
implicit val formats = CustomJsonFormats.formats
for{
connectorVersion <- Future {APIUtil.getPropsValue("connector").openOrThrowException("connector props filed `connector` not set")}
connectorVersion <- Future {APIUtil.getPropsValue("connector").openOrThrowException("connector props field `connector` not set")}
startTime = Helpers.now
req = ObpApiLoopback(connectorVersion, gitCommit, "")
obpApiLoopbackRespons <- (actor ? req)

View File

@ -31,7 +31,7 @@ object MapperCounterparties extends Counterparties with MdcLoggable {
override def getOrCreateMetadata(bankId: BankId, accountId: AccountId, counterpartyId: String, counterpartyName:String): Box[CounterpartyMetadata] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/

View File

@ -46,7 +46,7 @@ case class MethodRoutingCommons(methodName: String,
methodRoutingId: Option[String] = None,
) extends MethodRoutingT with JsonFieldReName {
/**
* when serialized to json, the Option filed will be not shown, this method just generate a full fields json, include all None value fields
* when serialized to json, the Option field will be not shown, this method just generate a full fields json, include all None value fields
* @return JObject include all fields
*/
def toJson(implicit format: Formats) = {

View File

@ -27,7 +27,7 @@ object ConnectorMetrics extends ConnectorMetricsProvider {
override def getAllConnectorMetrics(queryParams: List[OBPQueryParam]): List[MappedConnectorMetric] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/

View File

@ -165,7 +165,7 @@ object MappedMetrics extends APIMetrics with MdcLoggable{
override def getAllMetrics(queryParams: List[OBPQueryParam]): List[APIMetric] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -236,7 +236,7 @@ object MappedMetrics extends APIMetrics with MdcLoggable{
def getAllAggregateMetricsBox(queryParams: List[OBPQueryParam]): Box[List[AggregateMetrics]] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)"
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/tesobe/CacheKeyFromArgumentsMacro.scala#L49
*/
@ -312,7 +312,7 @@ object MappedMetrics extends APIMetrics with MdcLoggable{
override def getTopApisFuture(queryParams: List[OBPQueryParam]): Future[Box[List[TopApi]]] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUU
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/t
*/
@ -390,7 +390,7 @@ object MappedMetrics extends APIMetrics with MdcLoggable{
override def getTopConsumersFuture(queryParams: List[OBPQueryParam]): Future[Box[List[TopConsumer]]] = {
/**
* Please note that "var cacheKey = (randomUUID().toString, randomUUID().toString, randomUU
* is just a temporary value filed with UUID values in order to prevent any ambiguity.
* is just a temporary value field with UUID values in order to prevent any ambiguity.
* The real value will be assigned by Macro during compile time at this line of a code:
* https://github.com/OpenBankProject/scala-macros/blob/master/macros/src/main/scala/com/t
*/

View File

@ -175,7 +175,7 @@ case class BankAccountExtended(val bankAccount: BankAccount) extends MdcLoggable
* Note: There are two types of account-owners in OBP: the OBP users and the customers(in a real bank, these should from Main Frame)
*
* This will return all the OBP users who have the link in code.accountholder.MapperAccountHolders.
* This field is tricky, it belongs to Trait `BankAccount` directly, not a filed in `MappedBankAccount`
* This field is tricky, it belongs to Trait `BankAccount` directly, not a field in `MappedBankAccount`
* So this method always need to call the Model `MapperAccountHolders` and get the data there.
* Note:
* We need manually create records for`MapperAccountHolders`, then we can get the data back.

View File

@ -161,7 +161,7 @@ class ConsumerRegistration extends MdcLoggable {
errors.filter(errorMessage => (errorMessage.contains("description") || errorMessage.contains("Description"))).map(errorMessage => S.error("consumer-registration-app-description-error", errorMessage))
errors.filter(errorMessage => (errorMessage.contains("email")|| errorMessage.contains("Email"))).map(errorMessage => S.error("consumer-registration-app-developer-error", errorMessage))
errors.filter(errorMessage => (errorMessage.contains("redirect")|| errorMessage.contains("Redirect"))).map(errorMessage => S.error("consumer-registration-app-redirect-url-error", errorMessage))
//Here show not filed related errors to the general part.
//Here show not field related errors to the general part.
val unknownErrors: Seq[String] = errors
.filterNot(errorMessage => (errorMessage.contains("name") || errorMessage.contains("Name")))
.filterNot(errorMessage => (errorMessage.contains("description") || errorMessage.contains("Description")))

View File

@ -21,8 +21,8 @@ Date Commit Action
13/07/2020 d42dda90 Added props: webui_header_content_url. If we set the props, it will override the id ="table-header" content in default.html
19/06/2020 ea819aab Added props: refresh_user.interval. default is 30 minutes.
This props will set the interval for the internal refresh user process.
29/04/2020 75925d8c Added props: allow_pre_filled_password. in Sign Up page the default password form filed is ****
This props can set the filed to empty .
29/04/2020 75925d8c Added props: allow_pre_filled_password. in Sign Up page the default password form field is ****
This props can set the field to empty .
29/04/2020 1ba4f3aa Added props: webui_signup_form_submit_button_value. this will overwrite the submit button value
in the sign up page.
28/04/2020 9b180f2b Added props: webui_post_consumer_registration_submit_button_value. this will overwrite the submit button value