Class PlainPropertiesProvider

java.lang.Object
com.sap.cds.framework.plain.environment.PlainPropertiesProvider
All Implemented Interfaces:
PropertiesProvider

public class PlainPropertiesProvider extends Object implements PropertiesProvider
Default implementation of PropertiesProvider based on parsing a yaml-config file.

Per default, the properties are loaded from ./application.yaml in the resource path. -DconfigFile=/somePath/config.yaml overrides the default location.

Per default, the active profile is either the first profile with name 'default' or the first profile in the yaml. -DconfigProfile=<profile-name> switches the active profile.