manage merging of Relatation validation attributes #95

Merged
alessia.bardi merged 1 commits from merge_rel_validation into master 2021-02-16 12:14:28 +01:00

This PR adds to the Relation model objects merge procedure the management of the fields validated and validationDate.

Given this and r the relation objects being merged, the merging logic assumes that:

this.validated = this.validated OR r.validated
this.validationDate = oldest(this.validationDate, r.validationDate)

Where dates are parsed assuming the date format spec yyyy-MM-dd'T'HH:mm:ssZ

This PR adds to the Relation model objects merge procedure the management of the fields `validated` and `validationDate`. Given `this` and `r` the relation objects being merged, the merging logic assumes that: ``` this.validated = this.validated OR r.validated this.validationDate = oldest(this.validationDate, r.validationDate) ``` Where dates are parsed assuming the date format spec `yyyy-MM-dd'T'HH:mm:ssZ`
claudio.atzori added the
enhancement
label 2021-02-16 11:58:20 +01:00
alessia.bardi was assigned by claudio.atzori 2021-02-16 11:58:20 +01:00
alessia.bardi closed this pull request 2021-02-16 12:14:28 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: D-Net/dnet-hadoop#95
No description provided.