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

get checkpoint #241

Merged
merged 58 commits into from
Aug 21, 2024
Merged

Conversation

salamonpavel
Copy link
Collaborator

@salamonpavel salamonpavel commented Aug 8, 2024

Implements GET endpoint for checkpoint retrieval
Closes #231

Release notes:

  • Introduces GET endpoint for single checkpoint retrieval

…1-get-partitioning-checkpoint-232-based

# Conflicts:
#	model/src/main/scala/za/co/absa/atum/model/dto/CheckpointV2DTO.scala
#	server/src/main/scala/za/co/absa/atum/server/api/repository/CheckpointRepository.scala
#	server/src/main/scala/za/co/absa/atum/server/api/repository/CheckpointRepositoryImpl.scala
#	server/src/main/scala/za/co/absa/atum/server/api/service/CheckpointService.scala
#	server/src/main/scala/za/co/absa/atum/server/model/CheckpointFromDB.scala
@salamonpavel salamonpavel added work in progress Work on this item is not yet finished (mainly intended for PRs) Server Issues touching the server part of the project labels Aug 8, 2024
@salamonpavel salamonpavel self-assigned this Aug 8, 2024
salamonpavel and others added 22 commits August 13, 2024 16:40
…1-get-partitioning-checkpoint-232-based

# Conflicts:
#	server/src/main/scala/za/co/absa/atum/server/api/repository/CheckpointRepositoryImpl.scala
#	server/src/test/scala/za/co/absa/atum/server/api/repository/CheckpointRepositoryUnitTests.scala
…1-get-partitioning-checkpoint-232-based

# Conflicts:
#	server/src/main/scala/za/co/absa/atum/server/api/controller/BaseController.scala
#	server/src/main/scala/za/co/absa/atum/server/model/CheckpointFromDB.scala
#	server/src/test/scala/za/co/absa/atum/server/api/controller/CheckpointControllerUnitTests.scala
…1-get-partitioning-checkpoint-232-based

# Conflicts:
#	server/src/main/scala/za/co/absa/atum/server/Main.scala
#	server/src/main/scala/za/co/absa/atum/server/api/repository/CheckpointRepositoryImpl.scala
#	server/src/test/scala/za/co/absa/atum/server/api/controller/CheckpointControllerUnitTests.scala
#	server/src/test/scala/za/co/absa/atum/server/api/repository/CheckpointRepositoryUnitTests.scala
…1-get-partitioning-checkpoint-232-based

# Conflicts:
#	server/src/main/scala/za/co/absa/atum/server/Main.scala
#	server/src/main/scala/za/co/absa/atum/server/api/repository/CheckpointRepositoryImpl.scala
#	server/src/test/scala/za/co/absa/atum/server/api/database/runs/functions/WriteCheckpointIntegrationTests.scala
#	server/src/test/scala/za/co/absa/atum/server/api/repository/CheckpointRepositoryUnitTests.scala
Base automatically changed from feature/232-post-checkpoint to master August 21, 2024 06:19
@salamonpavel salamonpavel dismissed TebaleloS’s stale review August 21, 2024 06:19

The base branch was changed.

…eckpoint-232-based

# Conflicts:
#	server/src/main/scala/za/co/absa/atum/server/Main.scala
#	server/src/main/scala/za/co/absa/atum/server/api/controller/BaseController.scala
#	server/src/main/scala/za/co/absa/atum/server/api/controller/CheckpointController.scala
#	server/src/main/scala/za/co/absa/atum/server/api/controller/CheckpointControllerImpl.scala
#	server/src/main/scala/za/co/absa/atum/server/api/exception/DatabaseError.scala
#	server/src/main/scala/za/co/absa/atum/server/api/exception/ServiceError.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/repository/BaseRepository.scala
#	server/src/main/scala/za/co/absa/atum/server/api/repository/CheckpointRepository.scala
#	server/src/main/scala/za/co/absa/atum/server/api/repository/CheckpointRepositoryImpl.scala
#	server/src/main/scala/za/co/absa/atum/server/api/service/BaseService.scala
#	server/src/main/scala/za/co/absa/atum/server/api/service/CheckpointService.scala
#	server/src/main/scala/za/co/absa/atum/server/api/service/CheckpointServiceImpl.scala
#	server/src/main/scala/za/co/absa/atum/server/model/CheckpointFromDB.scala
#	server/src/test/scala/za/co/absa/atum/server/api/controller/CheckpointControllerUnitTests.scala
#	server/src/test/scala/za/co/absa/atum/server/api/http/PostCheckpointEndpointV2UnitTests.scala
#	server/src/test/scala/za/co/absa/atum/server/api/repository/CheckpointRepositoryUnitTests.scala
#	server/src/test/scala/za/co/absa/atum/server/api/service/CheckpointServiceUnitTests.scala
Copy link

JaCoCo model module code coverage report - scala 2.13.11

Overall Project 56.06%

There is no coverage information present for the Files changed

Copy link

JaCoCo agent module code coverage report - scala 2.13.11

Overall Project 85.84% 🍏

There is no coverage information present for the Files changed

Copy link

JaCoCo server module code coverage report - scala 2.13.11

Overall Project 78.67% -22.33% 🍏
Files changed 54.87%

File Coverage
CheckpointRepositoryImpl.scala 100% 🍏
ServiceError.scala 100% -479.17%
DatabaseError.scala 100% -479.17%
CheckpointServiceImpl.scala 100% 🍏
BaseService.scala 100% 🍏
BaseController.scala 100% 🍏
CheckpointControllerImpl.scala 100% 🍏
BaseRepository.scala 92.96% 🍏
CheckpointFromDB.scala 86.26% 🍏
CheckpointItemFromDB.scala 73.51% -276.82%
GetPartitioningCheckpointV2.scala 49.87% -90.98%

@salamonpavel salamonpavel merged commit 90494e9 into master Aug 21, 2024
9 of 10 checks passed
@salamonpavel salamonpavel deleted the feature/231-get-partitioning-checkpoint-232-based branch August 21, 2024 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Server Issues touching the server part of the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GET /partitionings/{partId}/checkpoints/{checkpId}
3 participants