Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-1150

Update API to show rounded-up monthly total

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • BIZ-610 - ROSA-HCP

      In order to consistently display whole numbers, update the data type for TallyReportDataPoint to integer. Then in places it is set, use Math.ceil to round up to the nearest whole number.

      • There is no need for the GUI to display floats.  

      Affected classes:

      • TallyResource
        • Ensure combineDataPointsForTotal is continues to use the non-rounded values for summation.
      • TallyReportDataPointAdapter

       

      QE Notes:

      • Verify and add coverage to check rounded returns.
      • There is a possibility that this will cause some of our other test cases to fail, so they will need to be modified based on the failures. Especially the test cases collecting the data from telemeter

              kflahert@redhat.com Kevin Flaherty
              khowell@redhat.com Kevin Howell
              Ryan Himmelwright Ryan Himmelwright
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: