MauroDataMapper / mdm-core

The backend of MDM
Apache License 2.0
7 stars 3 forks source link

Adjust interval labels for integers and dates in summary metadata #447

Closed joe-crawford closed 1 year ago

joe-crawford commented 1 year ago

Intervals are internally calculated by an IntervalHelper as ranges like [minValue, maxValue), this PR adjusts the label text so that for Integer and Date values the interval labels are not overlapping, like [1 - 2], [3 - 4] or [Jan 2023 - Feb 2023], [Mar 2023 - Apr 2023], or labelled as whole values like [Jan 2023], [Feb 2023], [Mar 2023].

Part of https://github.com/MauroDataMapper-Plugins/mdm-plugin-database-sqlserver/issues/24

joe-crawford commented 1 year ago

Failing branch test is an accidental update to the Postman collection which has been corrected, the failing PR tests look like optimistic locking exceptions.

joe-crawford commented 1 year ago

(Failing PR tests are Hibernate exceptions again.)