How to set up multi-environment in data views

How to set up multi-environment in data views

Summary

The platform makes it possible to configure multiple environments for APIs methods.

Multi-environment is configured at the data view level. Different data sources that correspond to each environment can be selected in the data view.

For example, you can select a source from CSV file for the development environment, a web test service for the staging environment and a productive web service for the production environment.

The implementation of the origins would take place when the methods were implemented through different domains.

The following diagram explains the operation.


Under configuration methods, you should previously create the data sources you would use for each implementation environment.

You should then create a view from any of these sources, and in the third step select the data sources that correspond to each environment.

You can select the same source for different environments. You could always edit the data view and modify the source that corresponds to each environment.

Once you have saved the data view, you could run it in each environment. To do this, you must click on the environments under the heading "Environment". In doing so, the corresponding origin would be executed.

The next step is to Create the method and select this data view.

Once the method was published, it could be executed in different environments using the domain defined for each of them.

Domains are configured in the Settings section.

    • Related Articles

    • What is a data view

      Summary The platform does not require an off-line ETL process to extract data from the origins, but associated with the view, find a set of rules that the data engine interprets for check the source on demand or periodically, extract the data updated ...
    • Data sources from REST/json web services

      Summary The REST/JSON web services connector offers all the capabilities needed to connect to such sources. This option allows you to collect data from REST/JSON web services or configure writing actions, and then create data views and exhibit them ...
    • Data sources from URLs

      Summary The URL connector allows you to collect data from HTTP(s) and FTP protocols. To collect data from a file hosted in a URL, you must go to Data sources > From URLs Configuration Enter a URL with a clear link from where you want to collect. ...
    • Select data and headers

      Summary Data views allow you to select the data and define the headers or titles that would be available in APIs methods. It is possible to make selections from the entire table, columns, column intersections and rows. In addition, it is possible to ...
    • Databases from Databases

      Summary The Databases connector offers all the capabilities needed to connect to such sources. This option allows you to collect data from different types of databases or configure writing actions, then create data views and exhibit them in your API. ...