AbsaOSS / atum-service

Apache License 2.0
5 stars 1 forks source link

use circe as serde lib for json: 200 #214

Closed TebaleloS closed 1 month ago

TebaleloS commented 2 months ago

Release notes:

closes #200

github-actions[bot] commented 2 months ago

JaCoCo model module code coverage report - scala 2.13.11

Overall Project 81.12% -423.78% :green_apple:
Files changed 76.71% :x:


File Coverage
CheckpointDTO.scala 100% -348.48% :green_apple:
MeasurementDTO.scala 100% -326.67% :green_apple:
PartitioningSubmitDTO.scala 100% -333.33% :green_apple:
MeasureResultDTO.scala 100% -281.82% :green_apple:
MeasureDTO.scala 100% -326.67% :green_apple:
PartitionDTO.scala 100% -326.67% :green_apple:
AdditionalDataSubmitDTO.scala 100% -333.33% :green_apple:
package.scala 100% :green_apple:
AtumContextDTO.scala 100% -333.33% :green_apple:
JsonSyntaxExtensions.scala 63.86% -36.14% :x:
ResultValueType.scala 62.5% -925% :x:
CheckpointQueryDTO.scala 0% -2772.22% :x:
github-actions[bot] commented 2 months ago

JaCoCo agent module code coverage report - scala 2.13.11

Overall Project 85.84% -2.25% :green_apple:
Files changed 63.83% :x:


File Coverage
MeasureResult.scala 100% :green_apple:
MeasurementBuilder.scala 94.74% :green_apple:
Measure.scala 88.28% :green_apple:
HttpDispatcher.scala 45.68% -13.99% :x:
github-actions[bot] commented 2 months ago

JaCoCo server module code coverage report - scala 2.13.11

Overall Project 64.2% -63.35% :green_apple:
Files changed 59.04% :x:


File Coverage
SuccessResponse.scala 100% -122.5% :green_apple:
FlowControllerImpl.scala 100% :green_apple:
BaseController.scala 100% :green_apple:
PartitioningForDB.scala 95.45% -345.45% :x:
PartitioningControllerImpl.scala 88.89% :green_apple:
WriteCheckpoint.scala 77.46% :green_apple:
CheckpointControllerImpl.scala 76% :green_apple:
GetPartitioningMeasures.scala 71.3% :green_apple:
GetPartitioningAdditionalData.scala 70.69% :green_apple:
CreateOrUpdateAdditionalData.scala 69.69% -37.63% :x:
ErrorResponse.scala 69.39% -2932.65% :x:
CreatePartitioningIfNotExists.scala 69.37% -38.03% :x:
GetPartitioningCheckpoints.scala 54.65% :green_apple:
GetFlowCheckpoints.scala 0% -5.9% :x:
TebaleloS commented 2 months ago

Release notes:

Added Circe Json serde module library for Json for serialization. Added 'Circe genericin the serde dependencies. AddedCirceJsonImplicitclass and defined implicit conversion for DTO's. Integrated Circe with the server module. Removed play Json as part of the server dependencies. Used for Circe to implicitly convert DTO's to Json throughout the project. Modified the test cases to suit the Circe format in the for http. ReplacedjsonbArrayPutUsingStringwithjsonbArrayPutinDoobieImplicitsfor both Json and Jsonb objects. ReimplementedSerislizationUtilsusing circe format. Replaced Json4s with circe in the agent module. ModifiedSerializationUtilsUnitTest`. Implemented implicit decoding and encoding in the companion objects of the DTOs. Removed jacksonModuleScala dependency.