28 Commits

Author SHA1 Message Date
Sven Efftinge
e044c1d49f [admin] allow usage adjustments 2022-11-22 06:31:51 -03:00
Sven Efftinge
89d0b7df3f [admin] add admin endpoints for usage 2022-11-18 12:57:47 +02:00
Jan Keromnes
56a4fe2895 [usage] Introduce an explicit CostCenter.BillingCycleStart time 2022-11-11 13:32:41 +02:00
Milan Pavlik
a8638e4a14 [usage] Add UsageService.ResetUsage RPC 2022-10-26 16:17:41 +02:00
Milan Pavlik
922024d202 [usage] Return CostCenter from UsageService.SetCostCenter 2022-10-12 11:28:27 +02:00
Milan Pavlik
d908e43e85 [usage] Use buf to codegen Go proto/grpc 2022-10-06 11:16:21 +02:00
Sven Efftinge
5670a5500e [usage] show sum of usage not balance
fixes #13067
2022-09-23 10:03:24 +02:00
Sven Efftinge
1b995ef47f [usage] introduce getBalance API 2022-09-23 07:34:23 +02:00
Sven Efftinge
2701ec7bdc [usage] added costcenter nextBillingTime 2022-09-15 19:18:16 +02:00
Milan Pavlik
c3673e3fdc [usage] Rename ReconcileUsageWithLedger to ReconcileUsage 2022-09-13 15:55:14 +02:00
Sven Efftinge
74bc751ec7 [cost center] Add save API 2022-09-09 11:25:24 +02:00
Milan Pavlik
066b577b6d [usage] Remove unused RPCs from proto 2022-09-09 07:19:23 +02:00
Sven Efftinge
15e3de7b96 [usage-api] remove superceded API 2022-09-08 12:37:23 +02:00
Sven Efftinge
5e72785abc [usage] remove ListBilledUsage API 2022-09-08 08:54:23 +02:00
Sven Efftinge
29388c9764 Added API call to fetch usage data 2022-09-06 09:04:21 +02:00
Milan Pavlik
f0f159efc4 [usage] Usage ledger API protos 2022-09-05 11:30:20 +02:00
Alex Tugarev
a8d0889405 Add pagination to list usage 2022-08-31 15:14:16 +02:00
Milan Pavlik
e605e81c99 [usage] Deprecate sessions in ReconcileUsage & UpdateInvoices 2022-08-30 08:42:14 +02:00
Laurie T. Malau
f0e6ee3bed [usage] Proto changes for GetCostCenter RPC 2022-08-24 11:38:40 +02:00
Milan Pavlik
cb478da342 [usage] Add report_id to ReconcileUsage response 2022-08-24 09:52:40 +02:00
Milan Pavlik
66578f1793 [usage] Rename CollectUsage to ReconcileUsage 2022-07-27 06:35:22 -03:00
Milan Pavlik
6e3faa703c [usage] Add CollectUsage RPC 2022-07-27 06:35:22 -03:00
Milan Pavlik
c582420eb0 [usage] Fix BilledSession credits precision 2022-07-27 04:11:21 -03:00
Milan Pavlik
96bcd3e943 [usage] ListBilledUsage allows to specify ordering 2022-07-22 08:28:17 -03:00
Milan Pavlik
2defdf8801 [usage] Add proto definitions for timerange in list billed usage 2022-07-20 10:30:15 -03:00
Andrew Farries
e2385352a4 [usage] Implement GetBilledUsage rpc 2022-07-18 13:57:13 +02:00
Gero Posmyk-Leinemann
9ad2345b55 [usage-api] Add TS client and basic, empty getBilledUsage 2022-07-12 11:49:59 +05:30
Andrew Farries
c83333fc3a Add usage-api component
Add Placeholder .proto files and script to generate Go client/server
SDKs.

Adapted from the `public-api` component.
2022-07-08 16:25:55 +05:30