cloud-pipeline
cloud-pipeline copied to clipboard
Store required entity fields for Billing reports
trafficstars
Background At the moment when data is persisted for billing reports only entity id (tool/pipeline/storage) is saved and details are fetched from the database when billing report is generated. With such approach we cannot provide details (name , owner) for deleted entities in the billing reports.
Approach
- All entities details which are used in billing reports shall be persisted in Elasticsearch during data synchronisation.
- When billing report is generated
deletedflag shall be returned along with entity details.