Skip to content

feat: use fabric8 client json mapper by default #1382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 17, 2022

Conversation

csviri
Copy link
Collaborator

@csviri csviri commented Aug 2, 2022

The json mapper might be fine tuned for application in some cases, probably in the default case we should use that everywhere if possible.

see also: fabric8io/kubernetes-client#1308

@csviri csviri force-pushed the default-object-mapper-from-fabric8 branch from 0d8a6d0 to c63489c Compare August 5, 2022 11:14
@@ -126,7 +127,7 @@ default boolean closeClientOnStop() {
}

default ObjectMapper getObjectMapper() {
return OBJECT_MAPPER;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the constant be removed altogether, as well, then?

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

44.4% 44.4% Coverage
0.0% 0.0% Duplication

@metacosm metacosm merged commit 3d13d32 into next Aug 17, 2022
@metacosm metacosm deleted the default-object-mapper-from-fabric8 branch August 17, 2022 11:22
metacosm added a commit that referenced this pull request Aug 18, 2022
Also remove constants to avoid mismatched configurations

Co-authored-by: Chris Laprun <[email protected]>
csviri added a commit that referenced this pull request Aug 23, 2022
Also remove constants to avoid mismatched configurations

Co-authored-by: Chris Laprun <[email protected]>
csviri added a commit that referenced this pull request Aug 24, 2022
Also remove constants to avoid mismatched configurations

Co-authored-by: Chris Laprun <[email protected]>
metacosm added a commit that referenced this pull request Aug 25, 2022
…1403)

* feat: use fabric8 client json mapper by default (#1382)

Also remove constants to avoid mismatched configurations

* refactor: make it easier to initialize mapper & cloner in subclasses

Co-authored-by: Attila Mészáros <[email protected]>
csviri added a commit that referenced this pull request Aug 25, 2022
Also remove constants to avoid mismatched configurations

Co-authored-by: Chris Laprun <[email protected]>
csviri added a commit that referenced this pull request Aug 30, 2022
Also remove constants to avoid mismatched configurations

Co-authored-by: Chris Laprun <[email protected]>
csviri added a commit that referenced this pull request Sep 5, 2022
Also remove constants to avoid mismatched configurations

Co-authored-by: Chris Laprun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants