Skip to content
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

902 - remove jackson json dependency #905

Merged
merged 2 commits into from
Sep 24, 2020

Conversation

ivanopagano
Copy link
Contributor

Supersedes #902 by removing jackson-databind dependency from the project.

All json handling is now done using Circe

Those parts of the code that required handling generic structures now make use of shapeless Record syntax to build statically known generic structures.
For additional info, refer to this online guide, Chapter 5

Finally, the smoke tests are updated to work under the latest conseil assumptions, after the most recent changes.

Copy link
Contributor

@piotrkosecki piotrkosecki left a comment

Choose a reason for hiding this comment

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

LGTM!

 * Substitute all usage of jackson mapper with circe
 * Fix tests to account for the slight changes in signatures
 * Adapt the dynamic Map of Any used in NodeOperator to write operations
   with a shapeless Record that provides dynamic behavior of statically
   known complex structures via type-level generic programming
 * remove unused code
@ivanopagano ivanopagano force-pushed the refactor/902-security-remove-jackson-json-dependency branch from 4fa2c05 to 22d477d Compare September 8, 2020 14:15
@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 8, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@vishakh vishakh merged commit a481473 into master Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants