How To Run A Connector Function in Multiple Environments
  • 12 Sep 2024
  • 1 Minute to read
  • Contributors

How To Run A Connector Function in Multiple Environments


Article summary

MQTT Connectors

MQTT connectors do not support multiple environments.

What are Environments?

Connector environments allows you to define seperate target external systems for your connectors to interact with, depending on the lifecycle phase of applications.

Environments allow you to safely develop applications without impacting production databases, and automatically migrate to production databases when applications are published.

image.png

Setting Up Multiple Environments

Editing Environments Used in Published Apps/Automations

Editing environments that are being used by published applications/automations can impact production. Not all users are granted the rights to make these changes.

Custom User Roles give account owners the ability to grant edit access for environments that are in use. Users without adequate permissions will see a warning
image.png

After you create a new SQL or HTTP Connector, you will see a screen like this.

image.png

By default, only the "Production" environment will be configured, and the "Development" and "Pre-Production" will be configured to match production.

image.png

How Environments are Used

Based on the place where in application is run, and the state of that application, different environments will be used.

Within Developer Mode, the environment can be overwritten, but within Tulip Player, the environment used will be entirely drive by the phase in the app lifecycle.

Development - When the development version of an application is used (in player or dev mode), the configuration of the Development environment will be used.

Pre-Production - When an application has been submitted for approvals, but has not been approved, the "Pre-Production" environment configuration will be used.

Production - When an application has been published, the production environment will be used.

image.png

Further Reading


Was this article helpful?