diff --git a/README.md b/README.md index 01f1385..881a57f 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,9 @@ WiseEnvironment.setDefaultProperty(WiseEnvironment.CUSTOM_ENVIRONMENT, "tw-relia See `WiseEnvironment` class for other optional use cases. E.g. asking which environments are currently active. +The environments themselves can be hierarchical. In that sense, that if you set a default property to `STAGING`, it would also apply to +`CUSTOM_ENVIRONMENT`, unless a different value is specifically set for `CUSTOM_ENVIRONMENT`. + ## License Copyright 2024 TransferWise Ltd. diff --git a/wise-environment-starter/src/test/resources/application.yml b/wise-environment-starter/src/test/resources/application.yml index f270e6b..ab7756c 100644 --- a/wise-environment-starter/src/test/resources/application.yml +++ b/wise-environment-starter/src/test/resources/application.yml @@ -1,11 +1,3 @@ -wise: - environment: - test: - value1: blah - value3: blah - ---- - spring: config: activate: