-
Notifications
You must be signed in to change notification settings - Fork 1
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
Release #697
Merged
Merged
Release #697
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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. * 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. * Billing API IsBillingEnabled (#626) * Added API point to check if billing is enabled. * Added simple Total Cost By Batch Page. (#627) * Added simple Total Cost By Batch Page. * 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. * 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. * 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 <[email protected]> * FIX: Billing - fixing time_column condition. * Removing draft billing page. * Remove unused API point & cleanup, changes as per code review. * Small Frontend refactoring, reflecting PR review. * Updating billing style for dark mode. * Optimised Frontend, replacing reduce with forEach where possible. * Refactoring Billing DB structures. * Cleaning up unused dependencies. * FIX: replaced button 'color=red' with 'negative' property. * FIX: replace HEX color for pattern with CSS var. * FIX: replace async call with sync for a simple function. * FIX: dark mode for Horizontal Stacked Bar. * FIX: billing cost by analysis page, esp. search control resizing and functionality. * FIX: duplicated keys in the grid on Billing Cost By Analysis page. * FIX: refactoring BQ tables, small fixes for billing pages. * FIX: BillingCostPageAnalysis, keeping the old record until loading of data finishes. * FIX: Billing StackedChart various issues. * Linting * FIX: missing filters checks, updating charts when loading. * FIX: silenece linting no attribute msg for Middleware. * Refactoring filters, implemented first Billing GraphQL integration. * Fixing linting. * Added unit tests for BQ filters. * Fixing linting. * Added tests for billing routes. * Removing billing GraphQL, there will be another PR for this. * Adding doc strings to tests. * Changing to staticmethod where relevant, added more unitests. * Linting * Refactoring string constant so both pylint and unittest are happy. * Unittests for BQ Function filter. * Unittests for BillingArBatchTable. * Added pytz dependency to dev so we can write unit test with timezone aware datetime. * Fixing timezone aware unit test for billing function filter. * Refactoring BQ Unittests, added more for BillingBaseTable class. * Linting * Added more unit tests for BillingBaseTable. * Add last missing unittest for BilingBaseTable. * Added unittests for BillingLayer. * Linting. * Merge dev try 2. * More unit tests for BillingLayer. * More unit tests for Billing routes functions. * More unit tests for Billing APi routes. * Billing unit tests - use mockup author. * Added BillingLayer muckup to unit tests. * Billing unit tests refactoring, implementing feedback from PR. * Fixing billing unit tests. * More fixes for billing unit tests. * Removing tests related to old getLabelValue functions. * Update test/test_api_billing.py Co-authored-by: Michael Franklin <[email protected]> * Setting up mock of is_billing_enabled in test class setUp function. --------- Co-authored-by: Sabrina Yan <[email protected]> Co-authored-by: Michael Franklin <[email protected]>
* Added ar_guid query parameter to GET /analysis-runner API point. * Commenting out author from getAnalysisRunnerLog as it is not currently implemented.
* Metamist ETL integration example. * Added audience_list to metamist ETL driver. * Updating etl_caller_example.py. * Added metamist-etl-custom-audience-list to read from config. * Change as per PR review.
…696) * Add Billing Page - CostByMonth - summary of topic per invoice month. * Adjustments as per PR review. * Change Start and End date for Cost Across Invoice Months. * Change Cost Across Invoice Months to select current year as the default. * Changes as per PR review. * Upgrading minimum python version to 3.11. * Pining testcontainers to 3.7.1, new 4.0.0 is not compatible with our tests. * Fix create_test_subset.py to comply with python 3.11.
illusional
approved these changes
Mar 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.