{"id":20471542,"url":"https://github.com/backbase/mx-api-client","last_synced_at":"2025-03-05T13:42:52.019Z","repository":{"id":61255304,"uuid":"549790622","full_name":"Backbase/mx-api-client","owner":"Backbase","description":"A backend accelerator library supporting integrations for MX external account aggregation","archived":false,"fork":false,"pushed_at":"2022-10-11T18:41:34.000Z","size":843,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-25T22:47:23.596Z","etag":null,"topics":["accelerators","backend"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Backbase.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-11T18:37:48.000Z","updated_at":"2022-10-11T18:41:59.000Z","dependencies_parsed_at":"2022-10-13T17:27:25.377Z","dependency_job_id":null,"html_url":"https://github.com/Backbase/mx-api-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Backbase%2Fmx-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Backbase%2Fmx-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Backbase%2Fmx-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Backbase%2Fmx-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Backbase","download_url":"https://codeload.github.com/Backbase/mx-api-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242039272,"owners_count":20061923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accelerators","backend"],"created_at":"2024-11-15T14:16:26.935Z","updated_at":"2025-03-05T13:42:51.989Z","avatar_url":"https://github.com/Backbase.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mx-api-client\n\nThis project contains a client library that can be used to call MX external account aggregation web services.\n\nThis project can be utilized in your Backbase integration services as a Maven dependency. Simply include the following\nmaven coordinates in the `dependency` section of your service's `pom.xml`\n\n```aidl\n    \u003cgroupId\u003ecom.backbase.accelerators\u003c/groupId\u003e\n    \u003cartifactId\u003emx-api-client\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n```\n\n## Build this project\n\nFrom the root directory of this project, run:\n\n```mvn clean install```\n\nThis will compile the project.\n\n| MX API        | Environment | URL                               |\n|---------------|-------------|-----------------------------------|\n| MDX Real Time | NON-PROD    | https://int-live.moneydesktop.com |\n| MDX Real Time | PROD        | https://live.moneydesktop.com     |\n| SSO           | NON-PROD    | https://int-sso.moneydesktop.com  |\n| SSO           | PROD        | https://sso.moneydesktop.com      |\n\n### Example usage - Defining `application.yml` configuration:\n\n```yaml\nmx:\n  ssoBaseUrl: https://int-sso.moneydesktop.com\n  realTimeBaseUrl: https://int-live.moneydesktop.com\n  nexusBaseUrl: https://int-data.moneydesktop.com\n  clientId: TBD\n  mdApiKey: TBD\n```\n\n```java\n@Data\n@Configuration\n@ConfigurationProperties(\"mx\")\npublic class MxProperties {\n\n    private String ssoBaseUrl;\n    private String realTimeBaseUrl;\n    private String nexusBaseUrl;\n    private String clientId;\n    private String mdApiKey;\n\n    public MxRequestSettings toMxRequestSettings() {\n        return new MxRequestSettings()\n                .setSsoBaseUrl(ssoBaseUrl)\n                .setRealTimeBaseUrl(realTimeBaseUrl)\n                .setNexusBaseUrl(nexusBaseUrl)\n                .setMdApiKey(mdApiKey)\n                .setClientId(clientId);\n    }\n}\n```\n\n### Example usage - Defining a Spring Bean in Your Integration Service:\n\n```java\n@Configuration\npublic class MxApiClientConfiguration {\n\n    @Bean\n    public MxSsoClient mxSsoClient(MxProperties mxProperties) {\n        return new MxSsoClient(\n                HttpClient.newHttpClient(),\n                mxProperties.toMxRequestSettings());\n    }\n    \n    @Bean\n    public MxNexusClient mxNexusClient(MxProperties mxProperties) {\n        return new MxNexusClient(\n                HttpClient.newHttpClient(),\n                mxProperties.toMxRequestSettings());\n    }\n    \n    @Bean\n    public MxRealTimeClient mxRealTimeClient(MxProperties mxProperties) {\n        return new MxRealTimeClient(\n                HttpClient.newHttpClient(),\n                mxProperties.toMxRequestSettings());\n    }\n}\n```\n\n### Example usage - Creating an Mx User Id:\n\nThere is a static utility class `com.backbase.acclerators.mx.util.MxUtil` that will create the mxUserId according to the \npattern `\"BB\"_[Environment]_([SA ExternalID] + [Identity idp.sub]).hashCode()`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackbase%2Fmx-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackbase%2Fmx-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackbase%2Fmx-api-client/lists"}