Skip to content

Commit 6e144c0

Browse files
author
Dion McCabe
authored
Removed profile restrictions
1 parent f30e947 commit 6e144c0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,7 @@ Profiles allow you to map properties to different profiles - for example, dev, t
116116
We can activate these profiles in different environments to set(override) the properties we need.
117117
The profile property can be defined as either an environment variable or a JVM system property.
118118

119-
This profile property is a special property and cannot be overridden within your configuration definition. If a profile
120-
is set, it is only appended as a suffix to a key to determine if there is a profile property override for the key.
121-
122-
When an environment variable or JVM system property with the key `bordertech.config.profile` is set, it is used as the suffix for each property lookup:
119+
When a property with the key `bordertech.config.profile` is set, it is used as the suffix for each property lookup:
123120

124121
``` java properties
125122
## MOCK Environment set as an Environment or JVM System property only
@@ -134,8 +131,7 @@ The Environment Suffix `bordertech.config.environment` feature has been deprecat
134131
major release but is still honoured within the profile feature.
135132

136133
The order of precedence:
137-
- `bordertech.config.profile` defined as a JVM System Property
138-
- `bordertech.config.profile` defined as an Environment Variable
134+
- `bordertech.config.profile` defined as a property anywhere
139135
- `bordertech.config.environment` defined as a property anywhere(Deprecated - to be removed next major release)
140136

141137
### Touchfile

0 commit comments

Comments
 (0)