Skip to content

Sample Rego files

Introduction

This topic provides sample Rego bundle files for various Industrial Edge applications. These examples demonstrate how to implement Installation Guidance rules for common use cases, including application dependencies and version compatibility checks.

You can use these samples as a reference when creating your own Installation Guidance bundles.

Sample bundles

Sl.no App Name Use Case Link to Bundle
App to App dependency App update
1 DataXess
  • Requires Databus to be installed.
  • Allowed for supported versions.
  • Warned for versions that have reached EOL, but is still compatible.
  • Blocked for versions that have reached EOL and contain breaking changes.
  • Allowed for supported versions, configurations will be preserved.
  • Warned for versions that need minor adjustments to configurations.
  • Blocked for versions that contain breaking changes to configurations, re-installation necessary.
bundle_Dataxess.RT39.tar 1.gz
2 Dashboard Designer
  • Requires IIH Essentials to be installed.
  • Allowed for supported versions.
  • Warned for versions that have reached EOL, but is still compatible.
  • Blocked for versions that have reached EOL and contain breaking changes.
N/A (first app release, so no update is available) bundle_Dashboard_designer.rego
3 Databus N/A (app has no dependency on other apps)
  • Update from supported versions is allowed.
  • Update from versions that need minor adjustments to configurations will be warned.
  • Update from versions that have breaking changes to the latest version will be blocked.
bundle_Databus.RT39.tar 1.gz

Conclusion

These sample Rego files demonstrate how to implement Installation Guidance for different scenarios. Review the samples that match your use case and adapt them to your application's specific requirements. For more information about creating Rego bundles, see How to create a Rego bundle.