Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-4548

[Nise] Add ChargeType column to Azure v1 reports

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • None
    • Nise
    • None
    • 5
    • False
    • None
    • False

      It would be useful to have possibility to test Azure rhel/swatch stuff with reports containing alternative Azure column names.  Currently, we have possibility to generate v1 and v2 Azure reports with Nise, but v1 reports can't be used for rhel/swatch testing because they lack ChargeType column (this column is required for rhel/swatch).

      Since we do not have an example of a real report that would actually miss Chargetype column and since this column is actually used only in rhel/swatch part, we believe that it shouldn't cause any harm to add this column to Nise v1 reports.

      Currently, the ChargeType is added only to v2 reports

      https://github.com/project-koku/nise/blob/e5eafe5c2a747ec54bbf925ac317bd05f85a64d9/nise/generators/azure/azure_generator.py#L90

      https://github.com/project-koku/nise/blob/e5eafe5c2a747ec54bbf925ac317bd05f85a64d9/nise/generators/azure/azure_generator.py#L413

       

              Unassigned Unassigned
              rhn-support-esebesto Eva Šebestová
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: