Data sources
Data Source is a data repository in JSON format. Each object can be either local or populated from an external source via an HTTP request using a REST API.
Depending on the type of data source for Data Source, they can be of three types: Local, Remote, Mixed.
The data stored in the Data Source is immutable, meaning we cannot influence them through actions or other means. The only way to update the data source is to retrieve it again from an external source in case the data source is not local in nature.
Local datasources
This type of data source is local in nature. The data is introduced during creation and cannot be modified afterward.
Remote datasources
Data for a remote data source is obtained through a web request using URL. They can only be updated using feedback signals from the processor.
To simplify the handling of links for data retrieval, there is an entire settings block at the project level that has storage of access keys and base links for obtaining data sources.
Mixed datasources
This is a mixed type of data source where data is obtained through a remote link. However, there is also a locally stored copy of the data. In case the data is not available through the remote link, the local copy is used.
Adding new Datasource
To create a new Data Source, you need to fill out the form.
Name
Data source Name
Remote Source
optional if local
URL to get data
Header Key
optional
Web request Header Key
Header Value
Local Source
optional if remote
Local data in JSON format that can be used as the sole source of data if the type of this data source is local or as a fallback if a remote type of Data Source is used.
Also can be used global project value.
Local Source additional controls
Clear
Clear local source json data
Attach Function
You have the ability to attach previously created functions to the Data Source, allowing you to modify the representation or structure of the data.
Fill from remote source
This functionality will enable you to populate the local data store with information obtained through the link you specified for the remote data source.
If you do not delete the link for remote data retrieval, the data source automatically becomes of the mixed type and follows the following behavior logic: data will be obtained through the link, but in case of unavailability, the saved local copy will be used.
Â