-
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
patch additional data #253
Conversation
Release notes:
|
JaCoCo model module code coverage report - scala 2.13.11
|
JaCoCo agent module code coverage report - scala 2.13.11
|
JaCoCo server module code coverage report - scala 2.13.11
|
# Conflicts: # server/src/main/scala/za/co/absa/atum/server/api/controller/PartitioningControllerImpl.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
JaCoCo reader module code coverage report - scala 2.13.11
|
# Conflicts: # server/src/main/scala/za/co/absa/atum/server/api/controller/PartitioningControllerImpl.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/PartitioningServiceImpl.scala # server/src/test/scala/za/co/absa/atum/server/api/service/PartitioningServiceUnitTests.scala
fr"${values.additionalData.map { case (k, v) => (k, v.orNull) }}", | ||
fr"${values.author}" | ||
fr"${args.partitioningId}", | ||
fr"${args.additionalData.data}", |
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'll take a deeper and proper look later, but why it's not allowed to have Option there?
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.
We don't want to allow 'empty' values for PATCH operation. That's been discussed. Do you think we should reconsider the decision?
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.
@lsulak Option
is to enable None/Null for cases to signal that some additional data are expected, but hasn't been defined yet.
Undefining data, that has been already set makes no sense.
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.
Okay, thanks for the explanation
# Conflicts: # server/src/test/scala/za/co/absa/atum/server/api/database/runs/functions/WriteCheckpointV2IntegrationTests.scala
$$ | ||
------------------------------------------------------------------------------- | ||
------------------------------------------------------------------------------- |
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.
Why the whitespaces?
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 do not recall adding this whitespace, probably automatic formatting was applied ... Commit below accepted.
database/src/main/postgres/runs/V1.5.16__create_or_update_additional_data.sql
Show resolved
Hide resolved
fr"${values.additionalData.map { case (k, v) => (k, v.orNull) }}", | ||
fr"${values.author}" | ||
fr"${args.partitioningId}", | ||
fr"${args.additionalData.data}", |
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.
@lsulak Option
is to enable None/Null for cases to signal that some additional data are expected, but hasn't been defined yet.
Undefining data, that has been already set makes no sense.
…tional_data.sql Co-authored-by: David Benedeki <[email protected]>
database/src/main/postgres/runs/V1.5.16__create_or_update_additional_data.sql
Outdated
Show resolved
Hide resolved
…tional_data.sql Co-authored-by: David Benedeki <[email protected]>
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.
LGTM
Introduces PATCH endpoint for additional data
Closes #221
Release notes: