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 partitioning #275

Merged
merged 12 commits into from
Sep 27, 2024
Merged

get partitioning #275

merged 12 commits into from
Sep 27, 2024

Conversation

salamonpavel
Copy link
Collaborator

@salamonpavel salamonpavel commented Sep 23, 2024

  • Introduces GET endpoint for partitioning based on partitioning query parameter
  • Fixes bug in getPartitioningById method in PartitioningRepository

Closes #268

Release notes:

  • Introduces GET endpoint for partitioning based on partitioning query parameter
  • Fixes bug in getPartitioningById method in PartitioningRepository

@salamonpavel salamonpavel self-assigned this Sep 23, 2024
@salamonpavel salamonpavel added the work in progress Work on this item is not yet finished (mainly intended for PRs) label Sep 23, 2024
@salamonpavel
Copy link
Collaborator Author

salamonpavel commented Sep 25, 2024

Release notes:

  • Introduces GET endpoint for partitioning based on partitioning query parameter
  • Fixes bug in getPartitioningById method in PartitioningRepository

Copy link

github-actions bot commented Sep 25, 2024

JaCoCo model module code coverage report - scala 2.13.11

Overall Project 63.64% 🍏

There is no coverage information present for the Files changed

Copy link

github-actions bot commented Sep 25, 2024

JaCoCo agent module code coverage report - scala 2.13.11

Overall Project 84.63% 🍏

There is no coverage information present for the Files changed

Copy link

github-actions bot commented Sep 25, 2024

JaCoCo reader module code coverage report - scala 2.13.11

Overall Project 100% 🍏

There is no coverage information present for the Files changed

Copy link

github-actions bot commented Sep 25, 2024

JaCoCo server module code coverage report - scala 2.13.11

Overall Project 74.14% -4.08% 🍏
Files changed 81.14% 🍏

File Coverage
PartitioningRepositoryImpl.scala 100% 🍏
PartitioningServiceImpl.scala 100% 🍏
BaseController.scala 100% 🍏
FlowControllerImpl.scala 100% 🍏
PartitioningControllerImpl.scala 90.98% 🍏
GetFlowPartitionings.scala 70.96% -0.23% 🍏
GetPartitioning.scala 43.46% -90.2%

@salamonpavel salamonpavel removed the work in progress Work on this item is not yet finished (mainly intended for PRs) label Sep 25, 2024
@salamonpavel salamonpavel marked this pull request as ready for review September 25, 2024 10:16
Copy link
Contributor

@benedeki benedeki left a comment

Choose a reason for hiding this comment

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

  • code reviewed
  • pulled
  • built
  • run

Is it possible to add comment, explanation that the parameter in GET /partitionings?partitioning= is BASE64 encoded?

@@ -63,7 +63,7 @@ jobs:
- name: Add coverage to PR (model)
if: steps.jacocorun.outcome == 'success'
id: jacoco-model
uses: madrapps/jacoco-report@v1.6.1
uses: madrapps/jacoco-report@v1.7.1
Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting, I though this was done in earlier of your PRs 😄

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah I have done it also here to see "more correct" numbers whilst working on the draft pr ...

# Conflicts:
#	server/src/main/scala/za/co/absa/atum/server/Main.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/Endpoints.scala
#	server/src/main/scala/za/co/absa/atum/server/api/http/Routes.scala
#	server/src/main/scala/za/co/absa/atum/server/api/repository/PartitioningRepository.scala
#	server/src/main/scala/za/co/absa/atum/server/api/repository/PartitioningRepositoryImpl.scala
#	server/src/main/scala/za/co/absa/atum/server/api/service/PartitioningService.scala
#	server/src/main/scala/za/co/absa/atum/server/api/service/PartitioningServiceImpl.scala
#	server/src/test/scala/za/co/absa/atum/server/api/TestData.scala
#	server/src/test/scala/za/co/absa/atum/server/api/controller/PartitioningControllerUnitTests.scala
#	server/src/test/scala/za/co/absa/atum/server/api/repository/PartitioningRepositoryUnitTests.scala
#	server/src/test/scala/za/co/absa/atum/server/api/service/PartitioningServiceUnitTests.scala
@salamonpavel salamonpavel merged commit ae026c8 into master Sep 27, 2024
9 of 10 checks passed
@salamonpavel salamonpavel deleted the feature/268-get-partitionings branch September 27, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GET /partitionings?partitioning=serializedPartitioning
2 participants