The current configuration of an application is loaded from a GIT to OpenEndpoints (with the "Publisher" in the service portal).
To enable a simple form of "staging", 2 different versions of the GIT repository can be activated at the same time. There are 2 different "environments" for this: PREVIEW and LIVE.
The "Publisher" in the service portal lets you
- 1.Publish the latest version of the GIT repository to the PREVIEW environment.
- 2.Promote the current version from PREVIEW to LIVE.
By default, all requests are always sent to the LIVE environment. To send a request to the PREVIEW environment, an additional parameter must be added:
It is not required to add a parameter for the LIVE environment.