-
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
response envelope #199
response envelope #199
Conversation
JaCoCo server module code coverage report - scala 2.13.11
|
…e-envelope # Conflicts: # server/src/test/scala/za/co/absa/atum/server/api/controller/CheckpointControllerIntegrationTests.scala
server/src/main/scala/za/co/absa/atum/server/model/PlayJsonImplicits.scala
Outdated
Show resolved
Hide resolved
...src/test/scala/za/co/absa/atum/server/api/http/CreateCheckpointEndpointIntegrationTest.scala
Show resolved
Hide resolved
server/src/main/scala/za/co/absa/atum/server/model/SuccessResponse.scala
Show resolved
Hide resolved
apiV1.post | ||
.in(CreateCheckpoint) | ||
.in(jsonBody[CheckpointDTO]) | ||
.out(statusCode(StatusCode.Created)) | ||
.out(jsonBody[CheckpointDTO]) | ||
.out(jsonBody[SingleSuccessResponse[CheckpointDTO]]) |
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.
actually I don't know if we want to do this - for potential compatibility reasons
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.
let's talk about it on the internal MS chat
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.
[1] Pulled
[1] Tested
[1] Compiled
As much as I have approved this, can we please wait for David's PR about fixing the cross-build
to be merged
JaCoCo model module code coverage report - scala 2.13.11
|
JaCoCo agent module code coverage report - scala 2.13.11
|
server/src/main/scala/za/co/absa/atum/server/api/controller/PartitioningControllerImpl.scala
Outdated
Show resolved
Hide resolved
So probably the only thing now we have to do (after this PR, I'd say) is to make the agent compatible with v2 APIs. And also using circe for SerDe fully/everywhere, instead of the current approach. |
Release notes
|
# Conflicts: # server/src/main/scala/za/co/absa/atum/server/api/controller/CheckpointController.scala # server/src/main/scala/za/co/absa/atum/server/api/controller/PartitioningController.scala # server/src/main/scala/za/co/absa/atum/server/api/controller/PartitioningControllerImpl.scala # server/src/main/scala/za/co/absa/atum/server/api/http/BaseEndpoints.scala # server/src/main/scala/za/co/absa/atum/server/api/http/Endpoints.scala # server/src/main/scala/za/co/absa/atum/server/api/http/Routes.scala # server/src/main/scala/za/co/absa/atum/server/model/PlayJsonImplicits.scala
Introduces envelopes for API responses.
Closes #197
Release notes: