camaraproject / QualityOnDemand

Repository to describe, develop, document and test the QualityOnDemand API family
https://wiki.camaraproject.org/x/zwOeAQ
Apache License 2.0
37 stars 60 forks source link

Potential alignment of duration format between `quality-on-demand` and `qos-profiles` #304

Open hdamker opened 2 weeks ago

hdamker commented 2 weeks ago

Problem description

From #291 and the PR #296 there is one point left to be addressed potentially later:

Within quality-on-demand uses seconds for duration, within qos-profiles there is a duration object for that.

Possible evolution

A potential consolidation with a common duration format based on the outcome of the discussion in https://github.com/camaraproject/Commonalities/issues/137

Alternative solution

Keep the current formats. The duration object within qos-profiles allows to define the duration also in seconds.

Additional context

See comments https://github.com/camaraproject/QualityOnDemand/pull/296#discussion_r1636763233 and https://github.com/camaraproject/QualityOnDemand/pull/296#discussion_r1636896793 where this point was discussed.