Tell us about the problem you're trying to solve
This is a ticket within the Integrate backend with billing vendor Epic
At this point in the epic, we should be tracking credit usage within the billing vendor, and we should have validated that there are no inconsistencies between the balances in our system and the billing vendor's system.
Therefore, it is now time to make our Cloud UI retrieve credit usage information from the billing vendor instead of from our cloud db, effectively deprecating our home-grown credit management logic.
Describe the solution you’d like
The CloudWorkspaceHandler's getWorkspaceUsage endpoint should make API requests to the billing vendor to retrieve daily credit consumption information, grouped by connector/source/destination ID as necessary, rather than retrieving it from the cloud db.
Describe the alternative you’ve considered or used
Additional context
Are you willing to submit a PR?
Tell us about the problem you're trying to solve
This is a ticket within the Integrate backend with billing vendor Epic
At this point in the epic, we should be tracking credit usage within the billing vendor, and we should have validated that there are no inconsistencies between the balances in our system and the billing vendor's system.
Therefore, it is now time to make our Cloud UI retrieve credit usage information from the billing vendor instead of from our cloud db, effectively deprecating our home-grown credit management logic.
Describe the solution you’d like
The CloudWorkspaceHandler's
getWorkspaceUsageendpoint should make API requests to the billing vendor to retrieve daily credit consumption information, grouped by connector/source/destination ID as necessary, rather than retrieving it from the cloud db.Describe the alternative you’ve considered or used
Additional context
Are you willing to submit a PR?