-
Notifications
You must be signed in to change notification settings - Fork 15
BackupService backwards compatibility #6040
Conversation
Generate changelog in
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gtg
log.info( | ||
"Successfully loaded file", | ||
SafeArg.of("fileName", file.getName()), | ||
SafeArg.of("namespace", atlasService)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
non-blocking: you've reverted this name
When we need this object mapper, we will probably need it many times. So let's create it at most once.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one small question, otherwise looks good
this.legacyObjectMapper = Suppliers.memoize( | ||
() -> OBJECT_MAPPER.copy().setPropertyNamingStrategy(PropertyNamingStrategies.KEBAB_CASE)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there any reason we can't just have a second static?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we could - we most likely won't need to initialize this, but doing so can't be that expensive, and it'd make the code a little simpler.
Released 0.617.0 |
Goals (and why):
==COMMIT_MSG==
==COMMIT_MSG==
Implementation Description (bullets):
Testing (What was existing testing like? What have you done to improve it?):
Concerns (what feedback would you like?):
Where should we start reviewing?:
Priority (whenever / two weeks / yesterday):