-
Notifications
You must be signed in to change notification settings - Fork 1
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
use circe as serde lib for json: 200 #214
Merged
benedeki
merged 41 commits into
master
from
feature/#200-Use-circe-as-serde-lib-forjson
Jul 11, 2024
Merged
Changes from 33 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
f5e6795
Addid circe dependency and using it
TebaleloS 8e8e746
merge master
TebaleloS ac908df
modifying dependencies
TebaleloS 1dee384
merge master and use circe syntax in function classes
TebaleloS 852d4fd
using circe syntax in flow classes
TebaleloS 37b5434
using circe in api http module
TebaleloS eb77ba5
fix implicit import in ServerOptions
TebaleloS f6d2ece
merge master, fix dependencies and conclude server implicit implement…
TebaleloS 3c707e6
removing play Json dependencies, and PlayJsonImplicits class
TebaleloS 935cde0
removing play Json dependencies, and PlayJsonImplicits class
TebaleloS 3c2ca00
fixing bugs and using circe instead of Json4s dependency
TebaleloS 0f2b220
revised arrayPutUsing string implicit conversion
TebaleloS de28a5a
merge master
TebaleloS ad59999
removed json4s and replaced its usage
TebaleloS cc9e949
rolling back WriteCheckpointIntegrationTests.scala
TebaleloS 3f5af81
defining implicits in the companiong object of the given DTOs
TebaleloS 78b6149
fix compilation
salamonpavel 9adff68
Fixing compilation
TebaleloS b124fb1
Defining ResultsValueType separate
TebaleloS a9e23e4
Defining private method for stringified json list
TebaleloS cf9cbb4
removing jacksonModuleScala
TebaleloS 282d16e
removing scalaVersion parameter
TebaleloS cde28ee
removing scalaVersion parameter
TebaleloS c27ccb3
merging with remote
TebaleloS 787d922
moving ResultsValueType to model and modify imports
TebaleloS 66bbbc9
Merge branch 'master' into feature/#200-Use-circe-as-serde-lib-forjson
TebaleloS 305ade5
Redefining ResultValueType custom types
TebaleloS a3d2b20
Merge branch 'feature/#200-Use-circe-as-serde-lib-forjson' of https:/…
TebaleloS c051b42
Update server/src/main/scala/za/co/absa/atum/server/api/database/runs…
TebaleloS 0750cb6
Apply suggestions from code review
TebaleloS e3483f8
Applying GitHub comments
TebaleloS 3e9d7b7
merge remote changes
TebaleloS 5e0cf75
Applying GitHub suggestions
TebaleloS a75e988
Applying GitHub suggestions
TebaleloS 0e4af21
Applying GitHub suggestions
TebaleloS 5208392
Fixing some test cases
TebaleloS 4b457a3
implementing GitHub changes
TebaleloS 21885c4
removing vals
TebaleloS 24a5018
removing unsed pretty serialization
TebaleloS f0878b0
removing explicit serialization
TebaleloS 479ec33
removing jsonb get method
TebaleloS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
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 find this a bit inconsistent. If you intent to have the
JsonUtils
class withfromJsonString
method, then I think you should use theasJsonString
method instead of callingasJson.noSpaces
. And this way it should be done all over the code base.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.
Alternatively we could use extension methods.
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.
This I tried to do, but it keeps saying that
JsonSerializationSyntax
andJsonDeserializationSyntax
must have one input and it must be val. So, I switched back to our old implementation.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.
Working solution