Christian Weichel
|
478a75e744
|
Switch license to AGPL
|
2022-12-08 13:05:19 -03:00 |
|
Sven Efftinge
|
fcc42fe1a4
|
[usage] handle no stopping but stopped time
|
2022-12-06 12:38:17 -03:00 |
|
Sven Efftinge
|
a5d67448b2
|
Revert "[usage] handle reset usage for chargebee"
|
2022-12-02 11:47:01 -03:00 |
|
Sven Efftinge
|
2eead4a625
|
[usage] handle reset usage for chargebee
chargebee subscriptions that are cancelled get a dedicatd cost center
|
2022-11-30 09:08:00 -03:00 |
|
Sven Efftinge
|
e044c1d49f
|
[admin] allow usage adjustments
|
2022-11-22 06:31:51 -03:00 |
|
Laurie T. Malau
|
ee08e7863c
|
[db] Move db models to gitpod-db/go module
|
2022-11-21 08:37:50 -03:00 |
|
Sven Efftinge
|
89d0b7df3f
|
[admin] add admin endpoints for usage
|
2022-11-18 12:57:47 +02:00 |
|
Milan Pavlik
|
e4daab98a4
|
[common-go] Move base database connection & types to common-go
|
2022-11-16 10:59:45 +02:00 |
|
Milan Pavlik
|
f626371eaf
|
[usage] Validate spending limits in UpdateCostCenter
|
2022-10-13 14:00:29 +02:00 |
|
Milan Pavlik
|
849170fedd
|
[usage] Return CostCenter from SetCostCenter udpates - implementation
|
2022-10-12 11:41:27 +02:00 |
|
Sven Efftinge
|
5670a5500e
|
[usage] show sum of usage not balance
fixes #13067
|
2022-09-23 10:03:24 +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
|
343c462098
|
[usage] added a test for ListUsage
|
2022-09-09 12:26:24 +02:00 |
|
Sven Efftinge
|
74bc751ec7
|
[cost center] Add save API
|
2022-09-09 11:25:24 +02:00 |
|
Milan Pavlik
|
e937ca78e8
|
[usage] Remove old controller & report generator
|
2022-09-08 09:56:23 +02:00 |
|
Sven Efftinge
|
5e72785abc
|
[usage] remove ListBilledUsage API
|
2022-09-08 08:54:23 +02:00 |
|
Sven Efftinge
|
249a563c48
|
[dashboard] Use new usage API for team-usage
|
2022-09-07 19:00:22 +02:00 |
|
Sven Efftinge
|
1fe5162c9f
|
[usage] store more data for in usage entry
|
2022-09-07 17:10:22 +02:00 |
|
Milan Pavlik
|
7a5443ed4a
|
[usage] Exclude workspace instances without a startedTime
|
2022-09-07 09:29:22 +02:00 |
|
Milan Pavlik
|
c9ce4dd64b
|
[usage] Serialize metadata into usage records
|
2022-09-06 16:31:21 +02:00 |
|
Milan Pavlik
|
eb9b5799f6
|
[usage] Filter out not started workspace instances
|
2022-09-06 16:00:21 +02:00 |
|
Milan Pavlik
|
3328f5783b
|
[usage] Cleanup usage records after test
|
2022-09-06 12:35:21 +02:00 |
|
Milan Pavlik
|
d70b54d2db
|
[usage] Save inserted and updated records in the DB
|
2022-09-06 11:44:21 +02:00 |
|
Milan Pavlik
|
a03681ac1d
|
[usage] Implment ledger control loop
|
2022-09-06 06:13:21 +02:00 |
|
Milan Pavlik
|
536a13dc18
|
[usage] Find running and stopped instances in ledger reconciler
|
2022-09-05 13:52:20 +02:00 |
|
Sven Efftinge
|
ba687e5c23
|
[usage] more workspace instance fetch methods
|
2022-09-05 11:26:09 +02:00 |
|
Milan Pavlik
|
754a4db44d
|
[usage] Drop raw sessions from usage report to cut size in half
|
2022-09-01 07:32:16 +02:00 |
|
Milan Pavlik
|
1c3090f88e
|
[usage] Fix test for listing usage with pagination
|
2022-08-31 21:58:16 +02:00 |
|
Alex Tugarev
|
a8d0889405
|
Add pagination to list usage
|
2022-08-31 15:14:16 +02:00 |
|
Milan Pavlik
|
dba77a55e6
|
[usage] Upload report with more details
|
2022-08-30 14:52:15 +02:00 |
|
Jan Keromnes
|
a2cf9d343b
|
[usage] In tests, use slightly different creation/started times and stopping/stopped time
|
2022-08-22 08:23:38 +02:00 |
|
Jan Keromnes
|
ff7c3d696d
|
[usage] Change instance runtime calculation: creationTime → startedTime, stoppedTime → stoppingTime
|
2022-08-22 08:23:38 +02:00 |
|
Gero Posmyk-Leinemann
|
d186e8342f
|
[usage] Review comments
|
2022-08-18 09:47:34 +02:00 |
|
Gero Posmyk-Leinemann
|
c3cd684930
|
[usage] Test for and fix negative credits in GenerateUsageReport
|
2022-08-18 09:47:34 +02:00 |
|
Milan Pavlik
|
fc10f0b13a
|
[usage] Implement CollectUsage
|
2022-08-02 08:53:46 -03:00 |
|
Milan Pavlik
|
2b6778bcd9
|
[usage] Implement ordering
|
2022-07-25 06:59:20 -03:00 |
|
Milan Pavlik
|
fd0b758c90
|
[usage] By default sort results descending
|
2022-07-22 11:47:17 -03:00 |
|
Milan Pavlik
|
0674341b6c
|
[usage] ListUsage filters by time range
|
2022-07-22 06:57:17 -03:00 |
|
Milan Pavlik
|
ce2d00df02
|
[usage] Extend go model with extra fields for WorkspaceInstanceUsage
|
2022-07-19 08:58:14 +02:00 |
|
Andrew Farries
|
e2385352a4
|
[usage] Implement GetBilledUsage rpc
|
2022-07-18 13:57:13 +02:00 |
|
Gero Posmyk-Leinemann
|
0a83195769
|
[usage] Dummy implementation of UsageService
|
2022-07-12 16:02:00 +02:00 |
|