10 Commits

Author SHA1 Message Date
Milan Pavlik
630b21e441 [usage] Remove pricer dependency from billing controller 2022-07-26 10:29:21 -03:00
Andrew Farries
01af2de26b Rename ContentServiceUrl to ContentServiceAddress 2022-07-25 05:56:20 -03:00
Andrew Farries
109a7a695d Create contentservice and pass to it to reconciler
When the usage component starts up.
2022-07-25 05:56:20 -03:00
Andrew Farries
e2385352a4 [usage] Implement GetBilledUsage rpc 2022-07-18 13:57:13 +02:00
Andrew Farries
6fb78e92ac Let the usage reconciler take a pricer
Instance pricing is a usage concern, not just a billing concern.
2022-07-15 16:29:02 +02:00
Milan Pavlik
48411d7cfb [usage] Workspace Pricer uses config 2022-07-13 08:49:59 +02:00
Andrew Farries
5932df564f Placeholder implementation of usage gRPC server 2022-07-11 13:50:58 +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
Milan Pavlik
e8ab39e3e7 [usage] Use a config file to configure usage component 2022-07-04 20:44:51 +05:30
Milan Pavlik
e6602f7ffa [usage] Refactor server start into a function, specify config 2022-06-30 17:58:39 +05:30