Constants

Last modified 14 Mar 2024 12:46 +01:00
Expression constant feature
This page is an introduction to Expression constant midPoint feature. Please see the feature page for more details.

MidPoint is often deployed in several environments: development environment, testing environment, production environment. These environments have almost the same configuration. The difference is often just host names and port numbers. However, these configuration properties may be spread across many places: resource configuration, outbound mappings, object templates and so on. It might be quite hard to maintain all these properties up to date, especially when moving configuration updates from development environment to testing and from testing to production.

The constants mechanisms is addressing all above. The constants can be defined in a single place in the system and then easily used in midPoint expressions. The constant definition can be bound to a specific environment and defined locally. Then the midPoint configuration object do not contain any environment-specific data and the configuration can be easily transferred from environment to environment.

Configuration and Use

See Configuration and Use of Constants for more details.

Was this page helpful?
YES NO
Thanks for your feedback