LIVE-5319 Bump simple-configuration to 1.5.7 #1184
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this change?
This PR bumps the simple-configuration library to a newer version 1.5.7 from version 1.5.6
There are API breaking changes in
simple-configuration
between version 1.5.6 and version 1.5.7. Please refer to guardian/mobile-apps-api#2797 for details.This PR makes the following code changes for this new version of
simple-configuration
:AppIdentity.whoAmI
in local deployment was recommended in Discourage usage that causes long startup delays simple-configuration#28). Otherwise it invoked AppIdentity.whoAmI and it is still able to return a DevIdentity ifwhoAmI
fails to load the identity from EC2 tags / lambda environment variables.region
toSSMConfigurationLocation constructor
using the
region
fromAwsIdentity
How to test
It was deployed to
CODE
, and we validated the service by registering a token and sending a notification to debug build.Logs were written properly: