From 0d2a3472d0b02f33bcc9788ff2b8ab3997af5d67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mili=C4=87?= Date: Thu, 19 May 2022 15:16:14 +0200 Subject: [PATCH 01/80] feature/Add OBP POST and GET Consent Request endpoints WIP --- .../main/scala/bootstrap/liftweb/Boot.scala | 3 +- .../scala/code/api/v4_0_0/APIMethods400.scala | 35 ++++++++++++++- .../code/api/v4_0_0/JSONFactory4.0.0.scala | 2 + .../code/consent/ConsentRequesProvider.scala | 31 +++++++++++++ .../scala/code/consent/ConsentRequest.scala | 45 +++++++++++++++++++ 5 files changed, 114 insertions(+), 2 deletions(-) create mode 100644 obp-api/src/main/scala/code/consent/ConsentRequesProvider.scala create mode 100644 obp-api/src/main/scala/code/consent/ConsentRequest.scala diff --git a/obp-api/src/main/scala/bootstrap/liftweb/Boot.scala b/obp-api/src/main/scala/bootstrap/liftweb/Boot.scala index ceadaa9b0..c2193d935 100644 --- a/obp-api/src/main/scala/bootstrap/liftweb/Boot.scala +++ b/obp-api/src/main/scala/bootstrap/liftweb/Boot.scala @@ -55,7 +55,7 @@ import code.bankconnectors.{Connector, ConnectorEndpoints} import code.branches.MappedBranch import code.cardattribute.MappedCardAttribute import code.cards.{MappedPhysicalCard, PinReset} -import code.consent.MappedConsent +import code.consent.{ConsentRequest, MappedConsent} import code.consumer.Consumers import code.context.{MappedConsentAuthContext, MappedUserAuthContext, MappedUserAuthContextUpdate} import code.crm.MappedCrmEvent @@ -1003,6 +1003,7 @@ object ToSchemify { MappedCustomerIdMapping, MappedProductAttribute, MappedConsent, + ConsentRequest, MigrationScriptLog, MethodRouting, EndpointMapping, 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 295809814..2cf4d446a 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 @@ -3,6 +3,7 @@ package code.api.v4_0_0 import java.net.URLEncoder import java.text.SimpleDateFormat import java.util.{Calendar, Date} + import code.DynamicData.{DynamicData, DynamicDataProvider} import code.DynamicEndpoint.DynamicEndpointSwagger import code.accountattribute.AccountAttributeX @@ -42,7 +43,7 @@ import code.apicollectionendpoint.MappedApiCollectionEndpointsProvider import code.authtypevalidation.JsonAuthTypeValidation import code.bankconnectors.{Connector, DynamicConnector, InternalConnector} import code.connectormethod.{JsonConnectorMethod, JsonConnectorMethodMethodBody} -import code.consent.{ConsentStatus, Consents} +import code.consent.{ConsentRequests, ConsentStatus, Consents} import code.dynamicEntity.{DynamicEntityCommons, ReferenceType} import code.dynamicMessageDoc.JsonDynamicMessageDoc import code.dynamicResourceDoc.JsonDynamicResourceDoc @@ -8375,6 +8376,38 @@ trait APIMethods400 { } } + staticResourceDocs += ResourceDoc( + createConsentRequest, + implementedInApiVersion, + nameOf(createConsentRequest), + "POST", + "/my/consents/request", + "Create consent request", + s"""""", + emptyObjectJson, + PostConsentRequestResponseJson("9d429899-24f5-42c8-8565-943ffa6a7945"), + List(UnknownError), + apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil + ) + + lazy val createConsentRequest : OBPEndpoint = { + case "my" :: "consents" :: "request" :: Nil JsonPost json -> _ => { + cc => + for { + (_, callContext) <- applicationAccess(cc) + _ <- passesPsd2Aisp(callContext) + createdConsentRequest <- Future(ConsentRequests.consentRequestProvider.vend.createConsentRequest( + callContext.flatMap(_.consumer), + Some("") + )) map { + i => connectorEmptyResponse(i, callContext) + } + } yield { + (PostConsentRequestResponseJson(createdConsentRequest.consentRequestId), HttpCode.`201`(callContext)) + } + } + } + staticResourceDocs += ResourceDoc( addConsentUser, implementedInApiVersion, diff --git a/obp-api/src/main/scala/code/api/v4_0_0/JSONFactory4.0.0.scala b/obp-api/src/main/scala/code/api/v4_0_0/JSONFactory4.0.0.scala index 56c49ca16..00d44c99e 100644 --- a/obp-api/src/main/scala/code/api/v4_0_0/JSONFactory4.0.0.scala +++ b/obp-api/src/main/scala/code/api/v4_0_0/JSONFactory4.0.0.scala @@ -69,6 +69,8 @@ import scala.math.BigDecimal import scala.util.Try +case class PostConsentRequestResponseJson(consentId: String) + case class CallLimitPostJsonV400( from_date : Date, to_date : Date, diff --git a/obp-api/src/main/scala/code/consent/ConsentRequesProvider.scala b/obp-api/src/main/scala/code/consent/ConsentRequesProvider.scala new file mode 100644 index 000000000..e93bf03ea --- /dev/null +++ b/obp-api/src/main/scala/code/consent/ConsentRequesProvider.scala @@ -0,0 +1,31 @@ +package code.consent + +import code.model.Consumer +import com.openbankproject.commons.model.User +import net.liftweb.common.Box +import net.liftweb.util.SimpleInjector + +object ConsentRequests extends SimpleInjector { + val consentRequestProvider = new Inject(buildOne _) {} + def buildOne: ConsentRequestProvider = MappedConsentRequestProvider +} + +trait ConsentRequestProvider { + def getConsentByConsentId(consentRequestId: String): Box[ConsentRequest] + def createConsentRequest(consumer: Option[Consumer], payload: Option[String]): Box[ConsentRequest] +} + +trait ConsentRequestTrait { + def consentRequestId: String + def payload: String + def consumerId: String +} + + + + + + + + + diff --git a/obp-api/src/main/scala/code/consent/ConsentRequest.scala b/obp-api/src/main/scala/code/consent/ConsentRequest.scala new file mode 100644 index 000000000..5d493b1f5 --- /dev/null +++ b/obp-api/src/main/scala/code/consent/ConsentRequest.scala @@ -0,0 +1,45 @@ +package code.consent + +import code.model.Consumer +import code.util.MappedUUID +import net.liftweb.common.Box +import net.liftweb.mapper._ +import net.liftweb.util.Helpers.tryo + +object MappedConsentRequestProvider extends ConsentRequestProvider { + override def getConsentByConsentId(consentRequestId: String): Box[ConsentRequest] = { + ConsentRequest.find( + By(ConsentRequest.ConsentRequestId, consentRequestId) + ) + } + override def createConsentRequest(consumer: Option[Consumer], payload: Option[String]): Box[ConsentRequest] ={ + tryo { + ConsentRequest + .create + .ConsumerId(consumer.map(_.consumerId.get).getOrElse(null)) + .Payload(payload.getOrElse("")) + .saveMe() + }} +} + +class ConsentRequest extends ConsentRequestTrait with LongKeyedMapper[ConsentRequest] with IdPK with CreatedUpdated { + + def getSingleton = ConsentRequest + + //the following are the obp consent. + object ConsentRequestId extends MappedUUID(this) + object Payload extends MappedText(this) + object ConsumerId extends MappedUUID(this) { + override def defaultValue = null + } + + + override def consentRequestId: String = ConsentRequestId.get + override def payload: String = Payload.get + override def consumerId: String = ConsumerId.get + +} + +object ConsentRequest extends ConsentRequest with LongKeyedMetaMapper[ConsentRequest] { + override def dbIndexes: List[BaseIndex[ConsentRequest]] = UniqueIndex(ConsentRequestId) :: super.dbIndexes +} From 744ab66f40d1cacb0a2b8b3799dc51908692fe3c Mon Sep 17 00:00:00 2001 From: CristhTejada Date: Mon, 30 May 2022 20:20:30 -0600 Subject: [PATCH 02/80] additional Spanish translations in the footer menu --- .../resources/i18n/lift-core_es_ES.properties | 9 +++++++++ obp-api/src/main/webapp/index.html | 15 +++++++++----- .../main/webapp/templates-hidden/default.html | 20 +++++++++++-------- 3 files changed, 31 insertions(+), 13 deletions(-) diff --git a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties index d85c91ebd..26ceb1f1d 100644 --- a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties +++ b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties @@ -1,8 +1,17 @@ api.explorer = Explorador API +api_manager = Gestor API introduction = Introducción support = Soporte register = Registrarse logon = Ingresar +terms_conditions = Terminos y condiciones +privacy_policy = Política de privacidad +api_documentation = Documentación API +api_host = Host del API +api_tester = Evaluador API +view_api_explorer = Ver Explorador API +get_api_key = Obten llave API + invalid.email.address = Invalid email address password.must.be.set = Password must be set diff --git a/obp-api/src/main/webapp/index.html b/obp-api/src/main/webapp/index.html index 4a5944c90..876d1cc5d 100644 --- a/obp-api/src/main/webapp/index.html +++ b/obp-api/src/main/webapp/index.html @@ -33,8 +33,10 @@ Berlin 13359, Germany

Welcome to the Open Bank Project API Sandbox test instance!

- View API Explorer - Introduction + + View API Explorer + + Introduction @@ -313,18 +315,21 @@ Berlin 13359, Germany

Get started building your application

For banks

API Manager + data-lift="WebUI.apiManagerLink" href=""> + API Manager OBP CLI API Tester + data-lift="WebUI.apiTesterLink" href=""> + API Tester Hola
diff --git a/obp-api/src/main/webapp/templates-hidden/default.html b/obp-api/src/main/webapp/templates-hidden/default.html index a21984c11..f285c376d 100644 --- a/obp-api/src/main/webapp/templates-hidden/default.html +++ b/obp-api/src/main/webapp/templates-hidden/default.html @@ -181,7 +181,8 @@ Berlin 13359, Germany
  • @@ -202,11 +203,12 @@ Berlin 13359, Germany
  • + +
  • + +
  • + -
  • - -
  • - +
  • + +
  • +
    + + +
    From 7dd7a6971ab5e5f6454286a0836247d72222f5d2 Mon Sep 17 00:00:00 2001 From: CristhTejada Date: Sat, 23 Jul 2022 11:51:12 -0600 Subject: [PATCH 43/80] Spanish translation added to main sections of index.html --- .../resources/i18n/lift-core_es_ES.properties | 13 +++++++++ obp-api/src/main/webapp/index.html | 28 +++++++++---------- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties index cf3296df8..9db8de694 100644 --- a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties +++ b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties @@ -11,6 +11,19 @@ api_host = Host del API api_tester = Evaluador API view_api_explorer = Ver Explorador API get_api_key = Obten llave API +welcome_to = Bienvenido a la instancia de prueba del API Sandbox del Open Bank Project! + +Get_started = Empezar +Create_an_account = Crea una cuenta +Description_Create_an_account = En primer lugar, crea una cuenta de desarrollador gratuita en este sandbox y solicita una clave de desarrollador. En esta fase se te pedirá que envíes información básica sobre tu aplicación. +Connect_your_app = Conecta tu app +Connect_your_app_description = Utiliza nuestros SDKs para conectar tu aplicación a las APIs de Open Bank Project. Necesitarás tu clave de desarrollador, que deberías tener desde que creaste tu cuenta. Consulta todas las APIs disponibles en el Explorador de APIs, pero asegúrate de que estás utilizando la URL base correcta. +Test_your_app = Pruebe su aplicación con datos de clientes +Test_your_app_description = una vez que su aplicación esté conectada, puede probarla utilizando las credenciales del cliente de prueba. + + + +register_for_an_account = Registrar una cuenta nueva invalid.email.address = Invalid email address diff --git a/obp-api/src/main/webapp/index.html b/obp-api/src/main/webapp/index.html index 876d1cc5d..0bb4cb89f 100644 --- a/obp-api/src/main/webapp/index.html +++ b/obp-api/src/main/webapp/index.html @@ -31,12 +31,12 @@ Berlin 13359, Germany
    -

    Welcome to the Open Bank Project API Sandbox test instance!

    +

    Welcome to the Open Bank Project API Sandbox test instance!

    - View API Explorer + View API Explorer - Introduction + Introduction @@ -48,7 +48,7 @@ Berlin 13359, Germany
    -

    Get started

    +

    Get started

    @@ -57,10 +57,9 @@ Berlin 13359, Germany item-1
    -

    Create an account

    -

    First, create a free developer account on this sandbox and request a developer key. You will be asked - to submit basic information about your app at this stage. Register for - an account.

    +

    Create an account

    +

    First, create a free developer account on this sandbox and request a developer key. You will be asked to submit basic information about your app at this stage.Register for an account + .

    @@ -71,10 +70,10 @@ Berlin 13359, Germany item-2
    -

    Connect your app

    -

    Use our SDKs to connect your app to the Open Bank Project APIs. You’ll need your developer key, which +

    Connect your app

    +

    Use our SDKs to connect your app to the Open Bank Project APIs. You’ll need your developer key, which you should have from when you created your account. Check out all the available APIs on the API - Explorer, but make sure that you’re using the correct base URL.

    + Explorer, but make sure that you’re using the correct base URL.

    @@ -85,16 +84,17 @@ Berlin 13359, Germany item-3
    -

    Test your app using customer data

    +

    Test your app using customer data

    - Once your app is connected, you can test it using test customer credentials. + Once your app is connected, you can test it using test customer credentials. + View sandbox customer log ons.


    From 3a560fcafca846bda84a457e4bd04ae302064af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mili=C4=87?= Date: Mon, 25 Jul 2022 12:02:09 +0200 Subject: [PATCH 44/80] bugfix/additional Spanish translations in the footer menu --- obp-api/src/main/webapp/index.html | 10 +++++----- .../src/main/webapp/templates-hidden/default.html | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/obp-api/src/main/webapp/index.html b/obp-api/src/main/webapp/index.html index 876d1cc5d..a06d1f0c2 100644 --- a/obp-api/src/main/webapp/index.html +++ b/obp-api/src/main/webapp/index.html @@ -34,9 +34,9 @@ Berlin 13359, Germany

    Welcome to the Open Bank Project API Sandbox test instance!

    - View API Explorer + View API Explorer - Introduction + Introduction @@ -316,7 +316,7 @@ Berlin 13359, Germany

    Get started building your application

    - Get API key + Get API key
    @@ -324,12 +324,12 @@ Berlin 13359, Germany

    For banks

    - API Manager + API Manager OBP CLI - API Tester + API Manager Hola
    diff --git a/obp-api/src/main/webapp/templates-hidden/default.html b/obp-api/src/main/webapp/templates-hidden/default.html index 99f37e211..3ab9fb804 100644 --- a/obp-api/src/main/webapp/templates-hidden/default.html +++ b/obp-api/src/main/webapp/templates-hidden/default.html @@ -186,7 +186,7 @@ Berlin 13359, Germany
  • @@ -207,12 +207,12 @@ Berlin 13359, Germany
    -

    Accountsaccounts chevron

    -

    Access to accounts (XS21) and cards. Provide fine-grained access to guests (auditor, accountant or public).

    +

    Accountsaccounts chevron

    +

    Access to accounts (XS21) and cards. Provide fine-grained access to guests (auditor, accountant or public).

    @@ -132,8 +132,8 @@ Berlin 13359, Germany src="/media/images/icons/apis/icon-branches.png" alt="branches"/>
  • -

    Branches, ATMs and ProductsBranches chevron

    -

    Access open data related to banks including branches and ATMs including geolocation and opening hours.

    +

    Branches, ATMs and ProductsBranches chevron

    +

    Access open data related to banks including branches and ATMs including geolocation and opening hours.

    @@ -148,8 +148,8 @@ Berlin 13359, Germany height="100" alt="transactions icon"/>
    -

    TransactionsTransactions chevron

    -

    Access the transaction history and transaction metadata.

    +

    TransactionsTransactions chevron

    +

    Access the transaction history and transaction metadata.

    @@ -161,9 +161,9 @@ Berlin 13359, Germany height="100" alt="metadata"/>
    -

    MetadataMetadata chevron

    -

    Enrich transactions and counterparties with metadata including geolocations, comments, pictures - and tags (e.g. category of spending).

    +

    MetadataMetadata chevron

    +

    Enrich transactions and counterparties with metadata including geolocations, comments, pictures + and tags (e.g. category of spending).

    @@ -180,9 +180,9 @@ Berlin 13359, Germany alt="counterparties"/>
    -

    CounterpartiesCounterparties chevron

    -

    Access the payers and payees of an account including metadata such as their aliases, labels, - logos and home pages.

    +

    MetadataCounterparties chevron

    +

    Access the payers and payees of an account including metadata such as their aliases, labels, + logos and home pages.

    @@ -192,8 +192,8 @@ Berlin 13359, Germany src="/media/images/icons/apis/icon-entitlements.png" alt="entitlements"/>
    -

    WebhooksWebhooks chevron

    -

    Call external web services based on Account events.

    +

    WebhooksWebhooks chevron

    +

    Call external web services based on Account events.

    @@ -205,8 +205,8 @@ Berlin 13359, Germany src="/media/images/icons/apis/icon-messages.png" alt="messages"/>
    -

    Customer onboarding and KYCCustomer onboarding and KYC chevron

    -

    Perform user, customer and account creation. Manage Know Your Customer (KYC) documents, media and status. Create customer meetings and messages.

    +

    Customer onboarding and KYCCustomer onboarding and KYC chevron

    +

    Perform user, customer and account creation. Manage Know Your Customer (KYC) documents, media and status. Create customer meetings and messages.

    @@ -217,8 +217,8 @@ Berlin 13359, Germany src="/media/images/icons/apis/icon-security.png" alt="security"/>
    -

    API Roles, Metrics and DocumentationAPI Roles, Metrics and Documentation chevron

    -

    Control access to endpoints, get API metrics and documentation.

    +

    API Roles, Metrics and DocumentationAPI Roles, Metrics and Documentation chevron

    +

    Control access to endpoints, get API metrics and documentation.

    @@ -231,8 +231,8 @@ Berlin 13359, Germany src="/media/images/icons/apis/icon-requests.png" alt="requests"/>
    -

    Payments & TransfersPayments & Transfers chevron

    -

    Initiate Transaction Requests (transfers and payments). View and confirm charges (as per PSD2). Answer strong customer authentication (SCA) challenges.

    +

    Payments & TransfersPayments & Transfers chevron

    +

    Initiate Transaction Requests (transfers and payments). View and confirm charges (as per PSD2). Answer strong customer authentication (SCA) challenges.

    @@ -241,8 +241,8 @@ Berlin 13359, Germany kyc
    -

    Search warehousekyc chevron

    -

    Perform advanced searches and statistics queries on the data warehouse.

    +

    Search warehousekyc chevron

    +

    Perform advanced searches and statistics queries on the data warehouse.

    From ef7bd08a80f52d527431b964514f537bbc182a23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mili=C4=87?= Date: Tue, 26 Jul 2022 10:51:20 +0200 Subject: [PATCH 48/80] feature/Enable Translatio of Explore APIs Section 2 --- obp-api/src/main/resources/i18n/lift-core_es_ES.properties | 1 + obp-api/src/main/webapp/index.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties index 4c51b7c34..0e4e0763e 100644 --- a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties +++ b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties @@ -21,6 +21,7 @@ view_api_explorer = Ver Explorador API get_api_key = Obten llave API # Explore APIs Section +explore_api_title = explore_api_title explore_api_accounts_title = Accounts explore_api_accounts = Access to accounts (XS21) and cards. Provide fine-grained access to guests (auditor, accountant or public). explore_api_branches_title = Branches, ATMs and Products diff --git a/obp-api/src/main/webapp/index.html b/obp-api/src/main/webapp/index.html index 2db39363b..449c7d8f7 100644 --- a/obp-api/src/main/webapp/index.html +++ b/obp-api/src/main/webapp/index.html @@ -112,7 +112,7 @@ Berlin 13359, Germany
    -

    Explore APIs

    +

    Explore APIs

    From da10e7e4fc8540920d781710faea150632126afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mili=C4=87?= Date: Tue, 26 Jul 2022 11:10:07 +0200 Subject: [PATCH 49/80] feature/Enable Translatio of Get Started Section --- .../resources/i18n/lift-core_es_ES.properties | 10 ++++++++ obp-api/src/main/webapp/index.html | 23 +++++++++---------- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties index 0e4e0763e..87889f8b8 100644 --- a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties +++ b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties @@ -43,6 +43,16 @@ explore_api_payments = Initiate Transaction Requests (transfers and payments). V explore_api_warehouse_title = Search warehouse explore_api_warehouse = Perform advanced searches and statistics queries on the data warehouse. +# Get Started Section +get_started_title = Get started +get_started_create_account_title = Create an account +get_started_create_account = First, create a free developer account on this sandbox and request a developer key. You will be asked to submit basic information about your app at this stage. +get_started_create_account_sign_up = Register for an account +get_started_connect_your_app_title = Connect your app +get_started_connect_your_app = Use our SDKs to connect your app to the Open Bank Project APIs. You’ll need your developer key, which you should have from when you created your account. Check out all the available APIs on the API Explorer, but make sure that you’re using the correct base URL. +get_started_test_your_app_title = Test your app using customer data +get_started_test_your_app = Once your app is connected, you can test it using test customer credentials. +get_started_test_your_app_sandbox_date = View sandbox customer log ons. invalid.email.address = Invalid email address diff --git a/obp-api/src/main/webapp/index.html b/obp-api/src/main/webapp/index.html index 449c7d8f7..dcdac1e9f 100644 --- a/obp-api/src/main/webapp/index.html +++ b/obp-api/src/main/webapp/index.html @@ -48,7 +48,7 @@ Berlin 13359, Germany
    -

    Get started

    +

    Get started

    @@ -57,10 +57,10 @@ Berlin 13359, Germany item-1
    -

    Create an account

    -

    First, create a free developer account on this sandbox and request a developer key. You will be asked - to submit basic information about your app at this stage. Register for - an account.

    +

    Create an account

    +

    First, create a free developer account on this sandbox and request a developer key. You will be asked + to submit basic information about your app at this stage. Register for + an account.

    @@ -71,10 +71,10 @@ Berlin 13359, Germany item-2
    -

    Connect your app

    -

    Use our SDKs to connect your app to the Open Bank Project APIs. You’ll need your developer key, which +

    Connect your app

    +

    Use our SDKs to connect your app to the Open Bank Project APIs. You’ll need your developer key, which you should have from when you created your account. Check out all the available APIs on the API - Explorer, but make sure that you’re using the correct base URL.

    + Explorer, but make sure that you’re using the correct base URL.

    @@ -85,11 +85,10 @@ Berlin 13359, Germany item-3
    -

    Test your app using customer data

    -

    - Once your app is connected, you can test it using test customer credentials. +

    Test your app using customer data

    +

    Once your app is connected, you can test it using test customer credentials. View sandbox customer log ons. + href="https://github.com/OpenBankProject/OBP-API/wiki/">View sandbox customer log ons.

    From c69da95015583dd6cfcfa48bf87e95ab5f174f66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mili=C4=87?= Date: Tue, 26 Jul 2022 11:10:33 +0200 Subject: [PATCH 50/80] bugfix/Enable Translatio of Explore APIs Section 2 --- obp-api/src/main/resources/i18n/lift-core_es_ES.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties index 87889f8b8..70265698d 100644 --- a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties +++ b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties @@ -21,7 +21,7 @@ view_api_explorer = Ver Explorador API get_api_key = Obten llave API # Explore APIs Section -explore_api_title = explore_api_title +explore_api_title = Explore APIs explore_api_accounts_title = Accounts explore_api_accounts = Access to accounts (XS21) and cards. Provide fine-grained access to guests (auditor, accountant or public). explore_api_branches_title = Branches, ATMs and Products From f880c008b43aab615b7e8b2f2a471a6f0b74843e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mili=C4=87?= Date: Tue, 26 Jul 2022 12:44:34 +0200 Subject: [PATCH 51/80] feature/Enable Translatio of Get Started Section 2 --- .../resources/i18n/lift-core_es_ES.properties | 22 ++++++------------- obp-api/src/main/webapp/index.html | 14 ++++++------ 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties index ac0345ca1..44cf0ca25 100644 --- a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties +++ b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties @@ -21,14 +21,6 @@ view_api_explorer = Ver Explorador API get_api_key = Obten llave API welcome_to = Bienvenido a la instancia de prueba del API Sandbox del Open Bank Project! -Get_started = Empezar -Create_an_account = Crea una cuenta -Description_Create_an_account = En primer lugar, crea una cuenta de desarrollador gratuita en este sandbox y solicita una clave de desarrollador. En esta fase se te pedirá que envíes información básica sobre tu aplicación. -Connect_your_app = Conecta tu app -Connect_your_app_description = Utiliza nuestros SDKs para conectar tu aplicación a las APIs de Open Bank Project. Necesitarás tu clave de desarrollador, que deberías tener desde que creaste tu cuenta. Consulta todas las APIs disponibles en el Explorador de APIs, pero asegúrate de que estás utilizando la URL base correcta. -Test_your_app = Pruebe su aplicación con datos de clientes -Test_your_app_description = una vez que su aplicación esté conectada, puede probarla utilizando las credenciales del cliente de prueba. - register_for_an_account = Registrar una cuenta nueva @@ -57,14 +49,14 @@ explore_api_warehouse_title = Search warehouse explore_api_warehouse = Perform advanced searches and statistics queries on the data warehouse. # Get Started Section -get_started_title = Get started -get_started_create_account_title = Create an account -get_started_create_account = First, create a free developer account on this sandbox and request a developer key. You will be asked to submit basic information about your app at this stage. +get_started_title = Empezar +get_started_create_account_title = Crea una cuenta +get_started_create_account = En primer lugar, crea una cuenta de desarrollador gratuita en este sandbox y solicita una clave de desarrollador. En esta fase se te pedir\u00e1 que env\u00edes informaci\u00f3n b\u00e1sica sobre tu aplicaci\u00f3n. get_started_create_account_sign_up = Register for an account -get_started_connect_your_app_title = Connect your app -get_started_connect_your_app = Use our SDKs to connect your app to the Open Bank Project APIs. You’ll need your developer key, which you should have from when you created your account. Check out all the available APIs on the API Explorer, but make sure that you’re using the correct base URL. -get_started_test_your_app_title = Test your app using customer data -get_started_test_your_app = Once your app is connected, you can test it using test customer credentials. +get_started_connect_your_app_title = Conecta tu app +get_started_connect_your_app = Utiliza nuestros SDKs para conectar tu aplicaci\u00f3n a las APIs de Open Bank Project. Necesitar\u00e1s tu clave de desarrollador, que deber\u00edas tener desde que creaste tu cuenta. Consulta todas las APIs disponibles en el Explorador de APIs, pero aseg\u00farate de que est\u00e1s utilizando la URL base correcta. +get_started_test_your_app_title = Pruebe su aplicaci\u00f3n con datos de clientes +get_started_test_your_app = Una vez que su aplicaci\u00f3n est\u00e9 conectada, puede probarla utilizando las credenciales del cliente de prueba. get_started_test_your_app_sandbox_date = View sandbox customer log ons. diff --git a/obp-api/src/main/webapp/index.html b/obp-api/src/main/webapp/index.html index 995925883..f0832424a 100644 --- a/obp-api/src/main/webapp/index.html +++ b/obp-api/src/main/webapp/index.html @@ -48,7 +48,7 @@ Berlin 13359, Germany
    -

    Get started

    +

    Get started

    @@ -57,8 +57,8 @@ Berlin 13359, Germany item-1
    -

    Create an account

    -

    First, create a free developer account on this sandbox and request a developer key. You will be asked to submit basic information about your app at this stage.Register for an account +

    Create an account

    +

    First, create a free developer account on this sandbox and request a developer key. You will be asked to submit basic information about your app at this stage.Register for an account .

    @@ -70,8 +70,8 @@ Berlin 13359, Germany item-2
    -

    Connect your app

    -

    Use our SDKs to connect your app to the Open Bank Project APIs. You’ll need your developer key, which +

    Connect your app

    +

    Use our SDKs to connect your app to the Open Bank Project APIs. You’ll need your developer key, which you should have from when you created your account. Check out all the available APIs on the API Explorer, but make sure that you’re using the correct base URL.

    @@ -84,12 +84,12 @@ Berlin 13359, Germany item-3
    -

    Test your app using customer data

    +

    Test your app using customer data

    Once your app is connected, you can test it using test customer credentials. View sandbox customer log ons. + href="https://github.com/OpenBankProject/OBP-API/wiki/">View sandbox customer log ons.

    From 33f851b411d9d347db1d6493e6815713d5855039 Mon Sep 17 00:00:00 2001 From: CristhTejada Date: Tue, 26 Jul 2022 22:45:38 -0600 Subject: [PATCH 52/80] Extra translations have been added to the API Explorer and Login page. --- .../resources/i18n/lift-core_es_ES.properties | 50 +++++++++++-------- .../main/webapp/templates-hidden/_login.html | 16 +++--- 2 files changed, 37 insertions(+), 29 deletions(-) diff --git a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties index be856751e..0612c5419 100644 --- a/obp-api/src/main/resources/i18n/lift-core_es_ES.properties +++ b/obp-api/src/main/resources/i18n/lift-core_es_ES.properties @@ -5,8 +5,8 @@ # be automated using tools like native2ascii # https://native2ascii.net/ # This tool will allow you to convert national language characters to and from their Unicode equivalents in plain ASCII text. -api.explorer = Explorador API -api_explorer = Explorador API +api.explorer = API Explorer +api_explorer = API Explorer api_manager = Gestor API introduction = Introducci\u00f3n support = Soporte @@ -17,7 +17,7 @@ privacy_policy = Pol\u00edtica de privacidad api_documentation = Documentaci\u00f3n API api_host = Host del API api_tester = Evaluador API -view_api_explorer = Ver Explorador API +view_api_explorer = Ver API Explorer get_api_key = Obten llave API welcome_to = Bienvenido a la instancia de prueba del API Sandbox del Open Bank Project! @@ -34,29 +34,37 @@ Test_your_app_description = una vez que su aplicaci register_for_an_account = Registrar una cuenta nueva # Explore APIs Section -explore_api_title = explore_api_title -explore_api_accounts_title = Accounts -explore_api_accounts = Access to accounts (XS21) and cards. Provide fine-grained access to guests (auditor, accountant or public). -explore_api_branches_title = Branches, ATMs and Products -explore_api_branches = Access open data related to banks including branches and ATMs including geolocation and opening hours. -explore_api_transactions_title = Transactions -explore_api_transactions = Access the transaction history and transaction metadata. +explore_api_title = Explorar los titulos de las API +explore_api_accounts_title = Cuentas +explore_api_accounts = Acceso a cuentas (XS21) y tarjetas. Proporcionar acceso de grano fino a los invitados (auditor, contable o público). +explore_api_branches_title = Sucursales, cajeros y productos +explore_api_branches = Acceda a los datos abiertos relacionados con los bancos, incluidas las sucursales y los cajeros automáticos, así como la geolocalización y los horarios de apertura. +explore_api_transactions_title = Transacciones +explore_api_transactions = Acceda al historial de transacciones y a los metadatos de las mismas. explore_api_metadata_title = Metadata -explore_api_metadata = Enrich transactions and counterparties with metadata including geolocations, comments, pictures and tags (e.g. category of spending). +explore_api_metadata = Enriquezca las transacciones y las contrapartes con metadatos que incluyan geolocalizaciones, comentarios, imágenes y etiquetas (por ejemplo, categoría de gasto). explore_api_counterparties_title = Metadata -explore_api_counterparties = Access the payers and payees of an account including metadata such as their aliases, labels, logos and home pages. +explore_api_counterparties = Acceda a los pagadores y beneficiarios de una cuenta, incluyendo metadatos como sus alias, etiquetas, logotipos y páginas de inicio. explore_api_webhooks_title = Webhooks -explore_api_webhooks = Call external web services based on Account events. -explore_api_customer_title = Customer onboarding and KYC -explore_api_customer = Perform user, customer and account creation. Manage Know Your Customer (KYC) documents, media and status. Create customer meetings and messages. -explore_api_roles_title = API Roles, Metrics and Documentation -explore_api_roles = Control access to endpoints, get API metrics and documentation. -explore_api_payments_title = Payments & Transfers -explore_api_payments = Initiate Transaction Requests (transfers and payments). View and confirm charges (as per PSD2). Answer strong customer authentication (SCA) challenges. -explore_api_warehouse_title = Search warehouse -explore_api_warehouse = Perform advanced searches and statistics queries on the data warehouse. +explore_api_webhooks = Llamar a servicios web externos basados en eventos de la Cuenta. +explore_api_customer_title = Incorporación de clientes y KYC +explore_api_customer = Realizar la creación de usuarios, clientes y cuentas. Gestionar los documentos, los medios y el estado de Conozca a su Cliente (KYC). Crear reuniones y mensajes de clientes. +explore_api_roles_title = Funciones, métricas y documentación de la API +explore_api_roles = Controle el acceso a los puntos finales, obtenga métricas y documentación de la API. +explore_api_payments_title = Pagos y transferencias +explore_api_payments = Iniciar solicitudes de transacciones (transferencias y pagos). Ver y confirmar cargos (según la PSD2). Responder a los retos de autenticación fuerte del cliente (SCA). +explore_api_warehouse_title = Buscar en el almacén +explore_api_warehouse = Realice búsquedas avanzadas y consultas estadísticas en el almacén de datos. +username = Nombre de usuario +logontext = Acceda a la API del Open Bank Project +passwordlog = Contraseña +Forgotten_password = ¿Has olvidado tu contraseña? +don't_have_account = ¿No Tienes una cuenta? +or_login_with_openid = o conéctate con OpenID +or = o + invalid.email.address = Invalid email address password.must.be.set = Password must be set diff --git a/obp-api/src/main/webapp/templates-hidden/_login.html b/obp-api/src/main/webapp/templates-hidden/_login.html index 4517637b6..d76df7c2f 100644 --- a/obp-api/src/main/webapp/templates-hidden/_login.html +++ b/obp-api/src/main/webapp/templates-hidden/_login.html @@ -1,19 +1,19 @@
    -

    Log on to the Open Bank Project API

    +

    Log on to the Open Bank Project API

    Special Instructions