Bosch IoT Insights

Setting up a staging environment

In special cases, a widget may have to be manually tested directly on the production environment https://bosch-iot-insights.com before it is officially released.

In such cases, you can restrict the widget's availability by making the following adjustment in the widget's insights-manifest.json:

  1. Modify the widget name. For example, if it was my-widget, you could rename it to my-widget-snapshot.

  2. Reset allowedProjects to an empty list or restrict it only to specific projects that are allowed to use the widget while it it still under development.

  3. All subsequent deployments will now deploy the widget with a new name. The existing widget will be untouched.

  4. Continue to build, deploy, and test it until the widget is ready.

  5. Once ready, revert the widget's name and allowedProjects to their original values.