26 Commits

Author SHA1 Message Date
Milan Pavlik
e3f9ca5858 [usage] Fix report generation 2022-06-10 19:43:20 +05:30
Milan Pavlik
5176a908d7 [usage] Generate usage report 2022-06-10 17:18:20 +05:30
Milan Pavlik
e396ad0e19 [usage] Attribute workspaces to a team 2022-06-09 21:20:19 +05:30
Milan Pavlik
41f4820124 [usage] Add listing of memberships by UserID 2022-06-09 13:21:18 +05:30
Milan Pavlik
b1a36659fd [usage] Simplify Workspace record creation for tests 2022-06-09 12:49:19 +05:30
Milan Pavlik
9121279030 [usage] List workspaces for each workspace instance in usage period 2022-06-09 12:12:19 +05:30
Milan Pavlik
f200b86edb [usage] Add db model for TeamMembership 2022-06-08 15:50:18 +05:30
Milan Pavlik
61e7ffdb14 [usage] Validate workspace instance records for usage 2022-06-08 14:54:18 +05:30
Milan Pavlik
a56fffbd94 [usage] List workspace instances 2022-06-07 21:26:17 +05:30
Milan Pavlik
7d6a91c3c9 [usage] Automatically cleanup records between test DB connections 2022-06-07 17:29:17 +05:30
Milan Pavlik
4a5f8ec4fb [usage] Handle empty value varchar time 2022-06-07 16:51:17 +05:30
Milan Pavlik
fa36e39b69 [usage] Log db with standard logger 2022-06-07 16:15:17 +05:30
Milan Pavlik
52ac5a54da [usage] Add db.Team model in golang 2022-06-07 16:13:17 +05:30
Manuel Alejandro de Brito Fontes
5ed1deb661 Update to new stable alpine version v3.16 2022-06-07 15:33:17 +05:30
Manuel Alejandro de Brito Fontes
6efe212447 Update sigs.k8s.io/e2e-framework to v0.0.7 2022-06-07 15:29:17 +05:30
Milan Pavlik
f8da3f3319 [usage] Add db.WorkspaceInstance model in golang 2022-06-02 18:27:51 +05:30
Milan Pavlik
b88e77c358 [usage] Harden parsing of time from VarChar field 2022-06-02 18:19:51 +05:30
Milan Pavlik
4c83691e53 Update components/usage/pkg/db/project.go
Co-authored-by: Jan Keromnes <jan.keromnes@typefox.io>
2022-06-02 17:49:51 +05:30
Milan Pavlik
19776bf31a [usage] Add db.Project model in golang 2022-06-02 17:49:51 +05:30
Milan Pavlik
109c45dcfa [usage] Setup controller and reconciler 2022-06-01 14:54:50 +05:30
Milan Pavlik
1d4be665ef [usage] Use json format the same as column names 2022-05-31 18:49:49 +05:30
Milan Pavlik
10f57b2e6b [usage] Define db.Workspace model 2022-05-31 18:49:49 +05:30
Milan Pavlik
9202ddd16a [usage] Configure database connection details 2022-05-30 14:28:48 +05:30
Milan Pavlik
28f8c4fa2f Update components/usage/pkg/db/conn.go
Co-authored-by: Gero Posmyk-Leinemann <32448529+geropl@users.noreply.github.com>
2022-05-30 13:51:48 +05:30
Milan Pavlik
294dee9249 [usage] Establish database connection 2022-05-30 13:51:48 +05:30
Milan Pavlik
df3e316a6f [usage-controller] Initial setup for component 2022-05-25 17:05:39 +05:30