How to work with OLB
OLB, or OpenLegacy Backup, is a feature designed for use with OpenLegacy Hub as a source provider. It allows users to create a metadata backup file, ensuring that APIs can still start up even when the machine lacks a connection to the OpenLegacy Hub instance. This backup mechanism helps maintain functionality and minimize downtime in environments where network connectivity may be unreliable.
How to configure OLB in OpenLegacy Low Code API
Go to the application.yml file(src/main/java/resources/application.yml
) or set any other Spring Profile/Properties.
Add the following properties:
ol:
flow:
hub:
backup:
enabled: true
targetDirPath: <Path where the OLB file is created>
The above will configure the API working with OLB.
targetDirPath
- The directory where the OLB file is created and the directory where the API will look for such file in case of connection issues. The default location is: {USER_HOME}/.ol/flow-backup/
Updated 5 months ago