Starting with Platform 6, Profiles are deprecated. Platform 6 introduces a simplified configuration model based on environment variables and a platform.properties configuration file, replacing the legacy properties.json file and reducing the need for Profiles. For full details on the new configuration model, see Configuration enhancements.
In previous Platform releases, configuration was split between a properties.json file and a Profile stored in MongoDB. In Platform 6, configuration is consolidated into environment variables or a platform.properties file, and Profiles are no longer required.
The following Profile-related functionality has been deprecated:
switchActiveProfile API is no longer available.Profiles can still be created and used for configurations that may change while the server is running. As of Platform 6, the only stateful property that requires a Profile is prebuiltProps.
When conflicting configuration values exist, Platform 6 resolves them in the following priority order:
For more information, see Platform environment variables
Most users will not need to take any action. If your workflows and configuration do not depend on Profiles, no changes are required.
If you need to use a Profile — for example, to configure prebuiltProps for importing new pre-builts — you must set the active profile in your configuration file rather than through the UI:
For step-by-step instructions, see Use pre-builts.