Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Billing graphql #673

Draft
wants to merge 36 commits into
base: dev
Choose a base branch
from
Draft

WIP: Billing graphql #673

wants to merge 36 commits into from

Commits on Nov 22, 2023

  1. Billing api extra labels (#619)

    * Added compute_category, cromwell_sub_workflow_name, cromwell_workflow_id, goog_pipelines_worker and wdl_task_name to extended view and created relevant filters and API points.
    
    * Added labels to all BQ queries, refactoring billing layer.
    
    * Added examples to billing-total-cost API regarding the new filters.
    milo-hyben authored Nov 22, 2023
    Configuration menu
    Copy the full SHA
    e517bba View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Billing - fixing styling issues after the first Billing release (#624)

    * Temporarily disable seqr and hail from /topics API.
    
    * Autoselect 1st topic / 1st project value from the DDL.
    
    * Merging Billing.css into index.css
    
    * Small fix - reusing extRecords in FieldSelector component.
    
    * Refactoring duplicated code in FieldSelector.
    
    * Added Stages to the Group by DDL.
    milo-hyben authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    e7116eb View commit details
    Browse the repository at this point in the history
  2. Billing API IsBillingEnabled (#626)

    * Added API point to check if billing is enabled.
    milo-hyben authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    2dafa63 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Added simple Total Cost By Batch Page. (#627)

    * Added simple Total Cost By Batch Page.
    milo-hyben authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    263b366 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Billing cost by category (#629)

    * Added simple Total Cost By Batch Page.
    
    * Fixed autoselect day format.
    
    * Fixing day format for autoselect (missing leading 0)
    
    * Added first draft of billing page to show detail SKU per selected cost category over selected time periods (day, week, month or invoice month)
    
    * Small fix for BillingCostByBatch page, disable search if searchBy is empty or < 6 chars.
    
    * New: Billing API GET namespaces, added namespace to allowed fields for total cost.
    
    * Implemented HorizontalStackedBarChart, updated Billing By Invoice Month page to enable toggle between chart and table view.
    milo-hyben authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    0f7ca2e View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2023

  1. Stacked Bars Chart with option to accumulate data. (#634)

    * Implemented Stacked bars with option to accumulate data.
    
    * Added budget bar to billing horizontal bar chart, added background color for the billing table to reflect the chart colours.
    
    * Added simple prediction of billing stacked bar chart.
    milo-hyben authored Dec 17, 2023
    Configuration menu
    Copy the full SHA
    d97b5b7 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Billing hail batch layout (#633)

    * Added simple Total Cost By Batch Page.
    
    * Removing debug prints.
    
    * Fixed autoselect day format.
    
    * Fixing day format for autoselect (missing leading 0)
    
    * Added first draft of billing page to show detail SKU per selected cost category over selected time periods (day, week, month or invoice month)
    
    * Small fix for BillingCostByBatch page, disable search if searchBy is empty or < 6 chars.
    
    * New: Billing API GET namespaces, added namespace to allowed fields for total cost.
    
    * Implemented HorizontalStackedBarChart, updated Billing By Invoice Month page to enable toggle between chart and table view.
    
    * ADD: Cost by Analysis page
    
    * ADD: add start of Analysis grid
    
    * ADD: add start of Analysis grid
    
    * FIX: table fixes for the HailBatchGrid
    
    * API: api changes to enable query of the raw table
    
    * API: fixed and working with updated get_total_cost endpoint
    
    * API: fix typing of get_total_cost (default return is now a list[dict] and can be converted in the layer/route to a specific output type
    
    * API: add endpoint to get costs by batch_id
    
    * API: done
    
    * IN PROGRESS: modifying Cost By Analysis to use new endpoints
    
    * IN PROGRESS: changes to Cost By Analysis, linking with backend API.
    
    * IN PROGRESS: changes to Cost By Analysis, grid grouping by ar/batch/job.
    
    * NEW: finalising Cost By Analysis page
    
    * ADD: durations to Cost By Analysis page
    
    ---------
    
    Co-authored-by: Milo Hyben <milo.hyben@gmail.com>
    violetbrina and milo-hyben authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    80dd3c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dba0956 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Configuration menu
    Copy the full SHA
    93d38f8 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. Configuration menu
    Copy the full SHA
    d9c69ff View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Configuration menu
    Copy the full SHA
    4e35df5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04a00b2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f057786 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. Configuration menu
    Copy the full SHA
    6147456 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a27629 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Configuration menu
    Copy the full SHA
    cf5384c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3d655a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9fbe19e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3a97611 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1a3932c View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2024

  1. Configuration menu
    Copy the full SHA
    cbaf08c View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    01d841b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8fe57e9 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Configuration menu
    Copy the full SHA
    7292f4e View commit details
    Browse the repository at this point in the history
  2. Linting

    milo-hyben committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    f2cb0ab View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Configuration menu
    Copy the full SHA
    f6465e2 View commit details
    Browse the repository at this point in the history
  2. Merging dev changes.

    milo-hyben committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    12e40d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    011a548 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Configuration menu
    Copy the full SHA
    14f29ff View commit details
    Browse the repository at this point in the history
  2. Fixing linting.

    milo-hyben committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    3f298cc View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Configuration menu
    Copy the full SHA
    41e2ba6 View commit details
    Browse the repository at this point in the history
  2. Fixing linting.

    milo-hyben committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    624f7ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ca5d1a3 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Configuration menu
    Copy the full SHA
    fdcc325 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Configuration menu
    Copy the full SHA
    0318d5e View commit details
    Browse the repository at this point in the history
  2. Merge from dev.

    milo-hyben committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    3f658ee View commit details
    Browse the repository at this point in the history