Root release update | March 2022
What's new this month? 🚀
-
Support for additional banks
- Added support for Sasfin
- Added support for Al Baraka
-
Additional fields on payment data source
The payments data source for data exports has been extended to include the fields
customer_ref,external_refandraw_response. -
Idempotency layer added to policy issue endpoint
The API supports idempotency for safely retrying requests without accidentally executing the same request twice resulting in duplicates. This is especially useful in cases where API requests are disrupted in transit and you do not receive a response. For example if an API request to issue a policy gets disrupted due to a network connection or timeout error, you can retry the request using the same idempotency_key parameter to guarantee that no more than one policy gets issued. Currently only implemented for the policy-issuing endpoint.
-
Workbench CLI tool - improved user experience for
rp renderWe improved the behaviour off the workbench CLI tool for the command
rp render --mergeas follows.- If any required files or folders do not exist when the command is executed, they will be created by the tool.
- Merge vars are written to the file
sandbox > merge-vars.jsonin the correct format, and now include the application and payment method objects. - If the
-p <policy_id>option is used, data from the specified sandbox policy is written into the file in the correct format. - The tool will inject merge vars into the policy document templates only if the
--mergeoption is provided. - The tool will only use the merge vars that are available to the specific document type. This guide explains which objects are available to which documents.
- When cloning a product module, the
.gitignorereference to sandbox output files is now more specific. This means that when pushing to GitHub, the filesandbox > merge-vars.jsonwill be included in the upload. This facilitates collaboration between users when creating document templates. Note: This change will only affect newly cloned product modules. You can implement this manually in existing product modules by replacingsandboxwithsandbox/output/*in your.gitignorefile.
-
Workbench CLI tool - improved user experience for unit test code files (
rp test)When you use
rp push,rp pullorrp test, and you do not have any local unit test code files, the tool creates the correct folder structurecode > unit-tests, and a unit test code file with boilerplate code will be added.
Previously, the tool would offer to add a template code file for you if you did not have any code files. Now, you can instead request that the template code be added with a new option,rp test --template.
If you have any suggestions or feedback, please share with your account manager or submit it via the Root product roadmap so that we can take it into account.
Let's build this awesome new future of insurance together 💪