327 Commits

Author SHA1 Message Date
Arnaud Delcasse
b0b3de1f63 fix build issue with old golang versions
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m56s
2026-01-05 23:56:42 +01:00
Arnaud Delcasse
99a8502a89 tidy
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1m48s
2026-01-05 23:44:13 +01:00
Arnaud Delcasse
a362fd6ec5 resolve conflicts
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1m5s
2026-01-05 23:40:17 +01:00
5e4cea0bb3 Remove fmt.Println and add Zerolog logging system
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1m2s
2024-11-11 20:35:17 +01:00
4ae6aa7a90 edit build.yml - edit metadata step
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m35s
2024-04-03 11:31:27 +02:00
c784657da2 edit build.yml - add metadata step
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m38s
2024-04-03 11:23:59 +02:00
66c87b16ff edit build.yml - back to base
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m34s
2024-04-03 11:15:04 +02:00
284e3c918a edit build.yml - back to base
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m36s
2024-04-03 11:08:35 +02:00
053066b511 edit build.yml - try if for tag
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 38s
2024-04-03 11:04:58 +02:00
b028120e47 edit build.yml - try if for tag
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 37s
2024-04-03 11:03:07 +02:00
d2a8c57274 edit build.yml - try if for tag
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 39s
2024-04-03 10:59:18 +02:00
140d366894 edit build.yml - edit flavor
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 36s
2024-04-03 10:55:13 +02:00
a70ef04ffd edit build.yml - edit flavor
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m34s
2024-04-03 10:24:09 +02:00
4c787bdc86 edit build.yml - add flavor
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m32s
2024-04-03 10:19:14 +02:00
ae04ab23fc edit build.yml - add buil on tags
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m33s
2024-04-03 10:00:47 +02:00
e192d2253f edit folder .github to .gitea
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m38s
2024-03-27 13:41:32 +01:00
d588fe2b67 comment postgres config & add mongodb config in config.go
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m44s
2024-03-27 13:32:50 +01:00
2501dabdba Try Docker Buildx with Kubernetes driver
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m35s
2024-03-24 23:12:54 +01:00
9486551ee5 Try Docker Buildx with Kubernetes driver
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 21s
2024-03-24 23:02:53 +01:00
170b599f54 Try repository token
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m30s
2024-03-24 20:14:28 +01:00
8891517866 Try repository token
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-24 20:04:50 +01:00
901faeadc3 Try repository token
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-24 20:00:26 +01:00
f469e1da01 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 6s
2024-03-22 16:22:05 +01:00
c6c7cd72e4 test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m21s
2024-03-22 15:04:43 +01:00
9fe3d6b6bc test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 5s
2024-03-22 15:02:03 +01:00
4f3b3b12b3 test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 5s
2024-03-22 14:58:33 +01:00
8ae62e7aef test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m13s
2024-03-22 14:53:29 +01:00
461f5d1f5f test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m17s
2024-03-22 14:51:46 +01:00
b9f3c0e074 test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m19s
2024-03-22 14:48:34 +01:00
8c427b45bb test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 14:47:08 +01:00
5d78a88975 test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m16s
2024-03-22 14:40:06 +01:00
7728a7d0a4 test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m13s
2024-03-22 14:23:44 +01:00
d22c69542d test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m15s
2024-03-22 14:22:17 +01:00
d5ac13cc2e test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 14:18:53 +01:00
7e2210e5cc test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 14:18:29 +01:00
c91fbccf34 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 14:17:28 +01:00
597e01d290 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 14:16:48 +01:00
18e40b975d test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 14:15:16 +01:00
5493dca7ef test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 14:13:08 +01:00
d27c2a266a test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 14:12:07 +01:00
146eb44ffe test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m16s
2024-03-22 14:10:35 +01:00
cc1fee615b test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 4s
2024-03-22 14:07:59 +01:00
35e84a6121 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 14:07:32 +01:00
39e4d265cb test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 14:05:23 +01:00
15649e452a test secrets 2024-03-22 14:03:52 +01:00
2c79e9eca6 test secrets 2024-03-22 14:02:39 +01:00
d950e799e1 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 13:50:25 +01:00
f56de46ed9 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 13:49:57 +01:00
6ca42da674 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 13:49:19 +01:00
3fa71d8b2e test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 13:47:38 +01:00
6629c50aa5 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 6s
2024-03-22 13:44:22 +01:00
ff11bd78b0 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 13:43:50 +01:00
0c34321400 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 13:43:12 +01:00
b6cec61b31 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 13:39:27 +01:00
e7d9369929 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 4s
2024-03-22 13:35:17 +01:00
f05ea0af06 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 13:34:06 +01:00
c1c89c637c test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m36s
2024-03-22 13:32:09 +01:00
8663a8b400 test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m28s
2024-03-22 12:03:10 +01:00
744863873e test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m12s
2024-03-22 10:31:31 +01:00
dfd1c964d7 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 10:30:09 +01:00
932e5ad90f test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 6s
2024-03-22 10:17:36 +01:00
fe0f6dd7f6 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 10:15:14 +01:00
31ac6306c0 test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m18s
2024-03-22 10:12:44 +01:00
5a0bf30060 test secrets
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m29s
2024-03-22 10:10:24 +01:00
24e619b4a9 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 10:09:38 +01:00
4917662c49 test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 10:07:57 +01:00
12b02788fc test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
2024-03-22 10:06:50 +01:00
4fedd2a72f test secrets
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 6s
2024-03-22 10:05:07 +01:00
0c7d2f22b7 Try with Buildah
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m20s
2024-03-22 09:28:26 +01:00
7ad30a24cf Try with Buildah 2024-03-22 09:27:04 +01:00
4ce7c8d00f Try with Buildah
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 22s
2024-03-22 09:18:09 +01:00
7dd32f8e68 Try with Buildah
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 23s
2024-03-22 10:14:52 +01:00
632d99458a Try with Buildah
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 23s
2024-03-22 10:06:27 +01:00
f86693da90 Try with Buildah
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 21s
2024-03-22 08:51:34 +01:00
678d1cef20 Try with Buildah
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 23s
2024-03-22 08:47:28 +01:00
a14f418580 Try with Buildah
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 13s
2024-03-22 08:46:00 +01:00
3f1d407a8f Try with Kaniko
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m18s
2024-03-21 19:51:35 +01:00
de98447171 Try with Kaniko
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m54s
2024-03-21 19:49:00 +01:00
2ca47bd7a1 add kubernetes driver
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 31s
2024-03-21 19:30:24 +01:00
604322aa25 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 31s
2024-03-21 11:41:21 +01:00
a3ee7cc98e test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-21 11:11:41 +01:00
e38fb54459 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 35s
2024-03-21 11:09:19 +01:00
13680dba9b test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 54s
2024-03-21 11:07:04 +01:00
74366a8cdb test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-21 11:00:24 +01:00
197510cda8 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 8s
2024-03-21 10:59:05 +01:00
974a8b071a test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-21 10:58:17 +01:00
b253f4159e test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 8s
2024-03-21 10:47:09 +01:00
0411673842 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 13s
2024-03-21 10:46:21 +01:00
122d0cf7a7 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 4s
2024-03-21 10:45:02 +01:00
23c399cf35 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 2s
2024-03-21 10:32:01 +01:00
a76e039e82 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 2s
2024-03-21 10:31:40 +01:00
e9b9dd889c test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 3s
2024-03-21 10:25:16 +01:00
784173e9ee test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 13s
2024-03-21 10:23:40 +01:00
a02870f2f8 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 2s
2024-03-20 13:27:21 +01:00
ca8c6319d5 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 6s
2024-03-20 13:22:16 +01:00
6f08957805 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-20 13:20:33 +01:00
b87f21d6f7 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-20 13:19:05 +01:00
ba05c496b2 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 8s
2024-03-20 13:18:41 +01:00
d456eb80d4 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-20 13:11:42 +01:00
7c4a3f7a37 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-20 13:09:55 +01:00
a6f7116e03 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 6s
2024-03-20 13:08:25 +01:00
22a5a692d0 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-20 13:08:05 +01:00
cf352c6911 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 6s
2024-03-20 13:05:54 +01:00
0c26ed9b08 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-20 13:05:11 +01:00
22647dcf11 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-20 13:03:41 +01:00
f21e6d2cef test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 6s
2024-03-20 13:02:59 +01:00
6b1b4d6624 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-20 12:59:00 +01:00
379a7fa4ed test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 4s
2024-03-20 12:56:28 +01:00
de604ac77b test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-20 12:55:36 +01:00
b3fa9e3b38 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-20 12:53:16 +01:00
3f8fa2d6ab test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 3s
2024-03-20 12:34:13 +01:00
d24ed53b45 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 6s
2024-03-20 12:32:40 +01:00
11497f8cc4 test
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1s
2024-03-20 11:52:33 +01:00
c5c99dbe3c test
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 23s
2024-03-20 11:51:39 +01:00
428fa558e0 test
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 9s
2024-03-20 11:51:01 +01:00
ce9f17735c test
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 5s
2024-03-20 11:50:21 +01:00
bac39121bd test
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 0s
2024-03-20 11:46:03 +01:00
531ff72b9e test
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 5s
2024-03-20 11:42:44 +01:00
71a6df958e test
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1s
2024-03-20 11:41:05 +01:00
0f41ecfce0 test
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 5s
2024-03-20 11:38:59 +01:00
2db156dbed test
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 11s
2024-03-20 11:34:30 +01:00
0998e825a4 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 2s
2024-03-20 11:25:23 +01:00
68e1589fd1 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 1s
2024-03-20 11:23:45 +01:00
d36abf1c23 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 4s
2024-03-20 11:21:00 +01:00
9bb366864a test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 7s
2024-03-20 11:19:30 +01:00
aef4362b04 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 4s
2024-03-20 11:18:11 +01:00
b99dfde7e1 test
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 19s
2024-03-20 11:11:11 +01:00
af2767e9de test
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 24s
2024-03-20 11:09:32 +01:00
b7d0b6cda8 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 10s
2024-03-15 13:56:02 +01:00
b4dfd1a173 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 11s
2024-03-15 13:40:22 +01:00
d4eade0228 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 10s
2024-03-15 12:08:09 +01:00
99d1e55fa8 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 15s
2024-03-15 12:06:15 +01:00
11077fd56f test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 5s
2024-03-15 12:03:46 +01:00
ddf002ee11 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 1m16s
2024-03-15 12:01:12 +01:00
ac8e704ed7 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 1m14s
2024-03-15 11:59:11 +01:00
fca47a69a3 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 1m14s
2024-03-15 11:57:11 +01:00
151e86dbee test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 26s
2024-03-15 11:56:23 +01:00
bd28920cdc test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 6s
2024-03-15 11:52:45 +01:00
cebf885278 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 16s
2024-03-15 11:50:38 +01:00
c6ec354d6d test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 16s
2024-03-15 11:49:36 +01:00
09a72d4b44 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 12s
2024-03-15 11:48:53 +01:00
f9fea0864a test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 33s
2024-03-15 11:45:59 +01:00
09c7d11188 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 13s
2024-03-15 11:45:26 +01:00
62a756d2f3 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 9s
2024-03-15 11:44:59 +01:00
f1c77bfebf test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 10s
2024-03-15 11:36:17 +01:00
e0f2693f09 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 9s
2024-03-15 11:34:40 +01:00
c36af927be test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 12s
2024-03-15 11:33:54 +01:00
2ad8530736 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 11s
2024-03-15 11:32:17 +01:00
49dc3872c5 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 11s
2024-03-15 11:31:54 +01:00
4222a348a4 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 12s
2024-03-15 11:31:13 +01:00
618c9b9206 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 13s
2024-03-15 11:15:55 +01:00
47b86968d4 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 12s
2024-03-15 11:15:25 +01:00
4ef0c875af test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 12s
2024-03-15 11:14:44 +01:00
0f6a65d1a4 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 11s
2024-03-15 11:13:56 +01:00
379fb05841 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 12s
2024-03-15 11:12:54 +01:00
99b72aa390 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 11s
2024-03-15 11:11:55 +01:00
75b222a3c0 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 15s
2024-03-15 11:10:23 +01:00
f971df6ead test workflow build and push on gitea registry 2024-03-15 11:09:43 +01:00
e45fc1b52e test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 12s
2024-03-15 11:09:04 +01:00
42b48c4ce1 test workflow build and push on gitea registry 2024-03-15 11:07:15 +01:00
0d984243f8 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 0s
2024-03-15 11:06:42 +01:00
7c18d78686 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 12s
2024-03-15 11:04:51 +01:00
af31c9676b test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 12s
2024-03-15 11:04:24 +01:00
cff757eff3 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 12s
2024-03-15 11:01:55 +01:00
130f048eb1 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 12s
2024-03-15 10:58:48 +01:00
b6a2edb179 test workflow build and push on gitea registry
All checks were successful
Build and Push Docker Image / test (push) Successful in 11s
2024-03-15 10:56:45 +01:00
71d7c3ce61 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / test (push) Failing after 11s
2024-03-15 10:55:34 +01:00
599f66d065 test workflow build and push on gitea registry
All checks were successful
Build and Push Docker Image / test (push) Successful in 7s
2024-03-15 10:54:26 +01:00
eb066ba888 test workflow build and push on gitea registry
All checks were successful
Build and Push Docker Image / test (push) Successful in 6s
2024-03-15 10:53:46 +01:00
9e70d3941d test workflow build and push on gitea registry
All checks were successful
Build and Push Docker Image / test (push) Successful in 3s
2024-03-15 10:52:24 +01:00
a9eb91bd83 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 7s
Build and Push Docker Image / login_docker_registry (push) Successful in 7s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-15 09:57:38 +01:00
472796c444 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 8s
Build and Push Docker Image / login_docker_registry (push) Successful in 7s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-15 09:57:01 +01:00
0a43b72819 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 8s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-15 09:17:27 +01:00
5f757210ac test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 7s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-15 09:11:10 +01:00
d3bdfb24b9 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 8s
Build and Push Docker Image / login_docker_registry (push) Successful in 7s
Build and Push Docker Image / clone_repository (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-15 09:08:38 +01:00
f4b1d75e96 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / clone_repository (push) Failing after 1m43s
Build and Push Docker Image / build_and_push_image (push) Has been skipped
2024-03-15 09:00:36 +01:00
2482c64d1c test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / clone_repository (push) Failing after 6s
Build and Push Docker Image / build_and_push_image (push) Has been skipped
2024-03-15 08:55:56 +01:00
740d14894e test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 8s
Build and Push Docker Image / login_docker_registry (push) Successful in 7s
Build and Push Docker Image / clone_repository (push) Failing after 4s
Build and Push Docker Image / build_and_push_image (push) Has been skipped
2024-03-15 08:54:28 +01:00
68c8941157 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / clone_repository (push) Failing after 3s
Build and Push Docker Image / build_and_push_image (push) Has been skipped
2024-03-13 15:35:28 +01:00
42028219ba test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / clone_repository (push) Failing after 4s
Build and Push Docker Image / build_and_push_image (push) Has been skipped
2024-03-13 15:34:38 +01:00
546628213f test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 7s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / clone_repository (push) Failing after 3s
Build and Push Docker Image / build_and_push_image (push) Has been skipped
2024-03-13 15:30:12 +01:00
bc318e5b45 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 7s
Build and Push Docker Image / login_docker_registry (push) Successful in 7s
Build and Push Docker Image / clone_repository (push) Successful in 3s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 15:29:19 +01:00
a525721aa0 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / clone_repository (push) Successful in 3s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 15:25:39 +01:00
8fa6f50e38 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / clone_repository (push) Successful in 4s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 15:22:20 +01:00
54bc0245a9 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / clone_repository (push) Successful in 4s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 15:21:43 +01:00
b135171322 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / clone_repository (push) Successful in 3s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 15:18:48 +01:00
431233a1df test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / clone_repository (push) Successful in 3s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 15:16:48 +01:00
108e1f576e test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / clone_repository (push) Failing after 3s
Build and Push Docker Image / build_and_push_image (push) Has been skipped
2024-03-13 15:16:16 +01:00
a95f9a49dd test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / clone_repository (push) Successful in 3s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 15:15:10 +01:00
a8ee047d44 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / clone_repository (push) Successful in 4s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 15:14:08 +01:00
60aab2efa3 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / clone_repository (push) Successful in 4s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 15:13:25 +01:00
22db0f738f test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / clone_repository (push) Successful in 3s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 15:12:45 +01:00
cb2ce7bc1b test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / clone_repository (push) Successful in 3s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 15:10:15 +01:00
747344ce36 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / clone_repository (push) Successful in 7s
Build and Push Docker Image / build_and_push_image (push) Failing after 5s
2024-03-13 15:07:27 +01:00
10039d1b4c test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 14:59:59 +01:00
956b4a2d84 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 14:56:45 +01:00
e2558ec3cb test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 14:55:57 +01:00
ac1ea1ba2c test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 14:55:11 +01:00
32b948350a test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 8s
2024-03-13 14:54:28 +01:00
0202348b0c test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 7s
2024-03-13 14:53:28 +01:00
e5cb07c01e test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 8s
2024-03-13 14:52:04 +01:00
86eddf894c test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 6s
2024-03-13 14:50:42 +01:00
ada0e51864 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 6s
2024-03-13 14:49:02 +01:00
aa1f12db77 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 6s
2024-03-13 14:47:32 +01:00
9cbce9c764 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 6s
2024-03-13 14:46:07 +01:00
ad69095f72 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 14:44:01 +01:00
414ba0809d test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 1m8s
2024-03-13 14:40:21 +01:00
74bfd69f00 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 1m20s
2024-03-13 14:34:48 +01:00
2cc271561d test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 23s
2024-03-13 14:33:47 +01:00
9b836bf4c8 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 9s
2024-03-13 14:32:58 +01:00
eb7ff92322 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 9s
2024-03-13 14:26:09 +01:00
9a87fe7943 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 47s
2024-03-13 14:22:29 +01:00
bb21558ee1 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 48s
2024-03-13 14:20:27 +01:00
eabb4bdae8 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 48s
2024-03-13 14:17:44 +01:00
7eabb4f9f5 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 48s
2024-03-13 14:15:46 +01:00
386a848291 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 47s
2024-03-13 14:14:08 +01:00
fb17476487 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 38s
2024-03-13 14:12:17 +01:00
c2dcb594b2 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 8s
2024-03-13 14:11:27 +01:00
2cbe3eb6d4 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 13s
2024-03-13 14:06:06 +01:00
d06d7a5ef3 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 36s
2024-03-13 14:02:52 +01:00
558251f5f3 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / prepare_environment (push) Failing after 1m55s
Build and Push Docker Image / build_and_push_image (push) Failing after 10s
2024-03-13 12:44:16 +01:00
1a283360aa test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / prepare_environment (push) Successful in 9s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 12:40:02 +01:00
4436c6ad5e test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 37s
2024-03-13 12:36:13 +01:00
76011f9644 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 12:33:34 +01:00
874e18e6cc test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 12:32:45 +01:00
0561fdf487 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 7s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 12:31:39 +01:00
414e9db9cf test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 4s
2024-03-13 12:26:43 +01:00
2259eee40b test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 12:22:15 +01:00
895f0f4852 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 12:20:08 +01:00
d2624cea51 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 2s
2024-03-13 12:18:23 +01:00
e846f5adf3 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 12:16:26 +01:00
6d9d24f643 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 12:14:58 +01:00
c42be42302 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 2s
2024-03-13 12:14:10 +01:00
73b7f8f907 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 12:12:43 +01:00
2433a4186c test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 9s
2024-03-13 12:11:49 +01:00
e16600ddd8 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 12:08:17 +01:00
c073ae6919 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 12:03:55 +01:00
93d220759d test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / login_docker_registry (push) Failing after 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 12:02:51 +01:00
5a92886103 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / login_docker_registry (push) Failing after 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 3s
2024-03-13 12:01:42 +01:00
acb9b06f2a test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 5s
2024-03-13 11:57:22 +01:00
538d39b70a test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 6s
2024-03-13 11:56:39 +01:00
cfbe46b95b test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 1s
2024-03-13 11:55:53 +01:00
3d2cdde8e3 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Build and Push Docker Image / build_and_push_image (push) Failing after 10s
2024-03-13 11:54:56 +01:00
8b1846d16a test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / checkout_repository (push) Successful in 6s
Build and Push Docker Image / build_and_push_image (push) Failing after 9s
2024-03-13 11:52:52 +01:00
20bea61613 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 8s
2024-03-13 11:48:27 +01:00
d70449602d test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 2s
2024-03-13 11:47:43 +01:00
87ea725e51 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 12s
2024-03-13 11:46:36 +01:00
ef6f214cf6 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 20s
2024-03-13 11:43:28 +01:00
54c5b1e334 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 3s
2024-03-13 11:38:17 +01:00
50bb477493 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 3s
2024-03-13 11:37:46 +01:00
1c3be9f998 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 16s
2024-03-13 11:24:30 +01:00
255edf3390 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 11s
2024-03-13 11:23:49 +01:00
cc4629bbbd test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 16s
2024-03-13 10:18:33 +01:00
75050500b3 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 13s
2024-03-13 10:17:52 +01:00
96e0debef2 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 2s
2024-03-13 10:17:28 +01:00
dd9ea96f58 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 15s
2024-03-13 10:14:26 +01:00
703bbaf199 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Has been cancelled
2024-03-13 10:04:14 +01:00
0c3e7f8c45 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 49s
2024-03-13 09:31:16 +01:00
8cf1414944 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 44s
2024-03-13 09:21:01 +01:00
d5b575d9f9 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 42s
2024-03-13 09:16:22 +01:00
8f6dab04dc test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 47s
2024-03-13 09:10:10 +01:00
ecb4e5e219 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 20s
2024-03-13 09:08:57 +01:00
dba7d992d4 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 16s
2024-03-13 09:04:16 +01:00
d15a8be61a test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 38s
2024-03-08 17:34:19 +01:00
e02d969e52 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 42s
2024-03-08 17:32:22 +01:00
6b25143194 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 40s
2024-03-08 17:28:17 +01:00
066fe76a79 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 38s
2024-03-08 17:24:43 +01:00
afd4c41628 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 41s
2024-03-08 17:23:20 +01:00
5f3a9c4b89 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 37s
2024-03-08 17:19:36 +01:00
c7e3b96483 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 15s
2024-03-08 17:18:13 +01:00
001db0ec88 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 15s
2024-03-08 17:07:04 +01:00
f65721edf9 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 13s
2024-03-08 17:02:19 +01:00
e1f50d20c8 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 12s
2024-03-08 17:00:56 +01:00
cd7aa0f78e test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 12s
2024-03-08 16:58:32 +01:00
e933481eb3 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 14s
2024-03-08 16:53:28 +01:00
8865c48bb7 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1m1s
2024-03-08 09:39:38 +01:00
6c7d67911a test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 54s
2024-03-08 09:26:30 +01:00
235e8c3ab5 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 56s
2024-03-08 09:25:25 +01:00
af62a79fcc test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 58s
2024-03-07 18:15:06 +01:00
ca65504097 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 9s
2024-03-07 18:12:12 +01:00
13af4fc1ff test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 54s
2024-03-07 18:09:01 +01:00
cbe36e0a9b test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 8s
2024-03-07 18:07:44 +01:00
e8b11218ad test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 8s
2024-03-07 18:07:23 +01:00
9745461048 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 54s
2024-03-07 18:01:45 +01:00
021c70808e test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 55s
2024-03-07 17:58:46 +01:00
04345ef47c test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 52s
2024-03-07 17:56:58 +01:00
76812b32d2 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 52s
2024-03-07 17:55:23 +01:00
17d0ee7f52 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 38s
2024-03-07 17:44:15 +01:00
374cc415b5 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1m3s
2024-03-07 17:36:01 +01:00
311709f22f test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 31s
2024-03-07 17:33:02 +01:00
4408f007ef test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 44s
2024-03-07 17:31:28 +01:00
77118af695 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 34s
2024-03-07 17:30:38 +01:00
7d37028d93 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 23s
2024-03-07 17:29:54 +01:00
05298cf4b9 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 14s
2024-03-07 17:28:43 +01:00
8943b0aefa test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 21s
2024-03-07 09:24:08 +01:00
11a8839fcd test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 34s
2024-03-07 09:22:20 +01:00
02229478ec test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 36s
2024-03-07 09:14:48 +01:00
576e9f5774 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 35s
2024-03-07 09:13:11 +01:00
b30b9a6247 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 43s
2024-03-07 09:09:26 +01:00
c15d7469ba test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 43s
2024-03-07 09:08:08 +01:00
de14e3c440 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 43s
2024-03-07 09:06:06 +01:00
cb5b30bc47 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 8s
2024-03-07 09:01:16 +01:00
4535715db1 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 43s
2024-03-07 08:58:10 +01:00
08ec14cafe test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 35s
2024-03-07 08:56:32 +01:00
334cf422b1 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 49s
2024-03-06 17:41:04 +01:00
610573393c test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 40s
2024-03-06 16:26:01 +01:00
54ba2cf466 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 48s
2024-03-06 15:01:33 +01:00
82f7e98e94 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 57s
2024-03-06 14:59:01 +01:00
cdeaf22a92 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 40s
2024-03-06 12:21:08 +01:00
3ffca66344 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 38s
2024-03-06 12:20:03 +01:00
b1fbc33792 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Has been cancelled
2024-03-06 12:19:37 +01:00
24e89bd151 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 9s
2024-03-06 12:19:13 +01:00
4cf7fb9eba test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 11s
2024-03-06 12:16:12 +01:00
c89d6f0e00 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1s
2024-03-06 12:16:03 +01:00
8030c13ff7 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 42s
2024-03-06 12:08:14 +01:00
883f678c1b test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 39s
2024-03-06 12:06:57 +01:00
d84a8594b4 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 37s
2024-03-06 12:05:37 +01:00
ffba1d1cce test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 39s
2024-03-06 12:03:50 +01:00
7be48ecdd8 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 39s
2024-03-06 11:59:35 +01:00
e49374606b test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 40s
2024-03-06 11:56:57 +01:00
240504349a test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 36s
2024-03-06 11:55:32 +01:00
6f70a042e1 test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1m11s
2024-03-06 11:47:40 +01:00
316ea97e7e test workflow build and push on gitea registry 2024-03-06 11:46:42 +01:00
017beaf722 test Gitea actions
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 36s
2024-03-06 11:16:39 +01:00
de94bd583f fix sum 2023-11-27 09:03:37 +01:00
3a80acae37 Fix issue with localauth conversion 2023-11-27 09:00:40 +01:00
045bcb7bf6 Merge branch 'master' 2023-11-27 08:52:16 +01:00
16 changed files with 589 additions and 817 deletions

View File

@@ -0,0 +1,82 @@
name: Build and Push Docker Image
on:
push:
tags:
- '*'
branches:
- main
- dev
jobs:
build_and_push:
runs-on: ubuntu-latest
steps:
- name: Install Docker
run: |
apt-get update
apt-get install -y docker.io
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Kubernetes Context
uses: azure/k8s-set-context@v4
with:
method: kubeconfig
kubeconfig: ${{secrets.buildx_kubeconfig}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: kubernetes
driver-opts: |
namespace=gitea
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
registry: git.coopgo.io
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Extract metadata (tags, labels) for Docker image
id: metadata
uses: docker/metadata-action@v3
with:
images: git.coopgo.io/${{gitea.repository}}
tags: |
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
flavor: |
latest=auto
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
${{ steps.metadata.outputs.tags }}
build-args: |
ACCESS_TOKEN_USR=${{gitea.actor}}
ACCESS_TOKEN_PWD=${{gitea.token}}
# BUILD WITH KANIKO
# - name: Kaniko build and push
# uses: aevea/action-kaniko@master
# with:
# build_file: Dockerfile
# registry: git.coopgo.io
# username: ${{secrets.registry_user}}
# password: ${{secrets.registry_token}}
# image: ${{gitea.repository}}
# tag: ${{gitea.ref_name}}
# cache: true
# cache_registry: git.coopgo.io/${{gitea.repository}}/cache
# extra-args: |
# ACCESS_TOKEN_USR=${{gitea.actor}}
# ACCESS_TOKEN_PWD=${{gitea.token}}

View File

@@ -7,23 +7,38 @@ import (
)
func ReadConfig() (*viper.Viper, error) {
// defaults := map[string]any{
// "name": "COOPGO Mobility Accounts",
// "dev_env": false,
// "storage": map[string]any{
// "db": map[string]any{
// "type": "psql",
// "psql": map[string]any{
// "user": "postgres",
// "password": "postgres",
// "host": "localhost",
// "port": "5432",
// "dbname": "coopgo_platform",
// "sslmode": "disable",
// "schema": "mobilityaccounts",
// "tables": map[string]any{
// "accounts": "accounts",
// "accounts_auth_local": "accounts_auth_local",
// },
// },
// },
defaults := map[string]any{
"name": "COOPGO Mobility Accounts",
"dev_env": false,
"storage": map[string]any{
"db": map[string]any{
"type": "psql",
"psql": map[string]any{
"user": "postgres",
"password": "postgres",
"host": "localhost",
"port": "5432",
"dbname": "coopgo_platform",
"sslmode": "disable",
"schema": "mobilityaccounts",
"tables": map[string]any{
"accounts": "accounts",
"accounts_auth_local": "accounts_auth_local",
"type": "mongodb",
"mongodb": map[string]any{
"host": "localhost",
"port": "27017",
"db_name": "coopgo_platform",
"collections": map[string]any{
"users": "users",
},
},
},

View File

@@ -3,23 +3,26 @@ package main
import (
"context"
"encoding/json"
"fmt"
"io/ioutil"
"os"
"git.coopgo.io/coopgo-platform/mobility-accounts/grpcapi"
"git.coopgo.io/coopgo-platform/mobility-accounts/storage"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"google.golang.org/grpc"
)
func main() {
zerolog.TimeFieldFormat = zerolog.TimeFormatUnix
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
if len(os.Args) < 2 {
fmt.Println("missing JSON file path")
log.Error().Msg("missing JSON file path")
return
}
conn, err := grpc.Dial("dns:///localhost:8090", grpc.WithInsecure(), grpc.WithDefaultServiceConfig(`{"loadBalancingPolicy":"round_robin"}`))
if err != nil {
panic(err)
log.Panic().Err(err).Msg("Cannot dial local server")
}
client := grpcapi.NewMobilityAccountsClient(conn)
@@ -46,5 +49,5 @@ func main() {
panic(err)
}
fmt.Println(string(jsonresponse))
log.Debug().Str("response", string(jsonresponse)).Msg("JSOn response")
}

29
go.mod
View File

@@ -1,23 +1,24 @@
module git.coopgo.io/coopgo-platform/mobility-accounts
go 1.18
go 1.24
require (
ariga.io/atlas v0.10.1
github.com/google/uuid v1.3.0
github.com/google/uuid v1.6.0
github.com/gorilla/csrf v1.7.1
github.com/gorilla/mux v1.8.0
github.com/lib/pq v1.10.2
github.com/mitchellh/mapstructure v1.5.0
github.com/ory/fosite v0.42.2
github.com/rs/zerolog v1.33.0
github.com/santhosh-tekuri/jsonschema/v5 v5.0.0
github.com/spf13/viper v1.15.0
github.com/stretchr/testify v1.8.2
go.etcd.io/etcd/client/v3 v3.5.6
go.mongodb.org/mongo-driver v1.11.4
golang.org/x/crypto v0.6.0
google.golang.org/grpc v1.52.0
google.golang.org/protobuf v1.28.1
golang.org/x/crypto v0.27.0
google.golang.org/grpc v1.68.0
google.golang.org/protobuf v1.34.2
gopkg.in/square/go-jose.v2 v2.5.2-0.20210529014059-a5c7eec3c614
)
@@ -27,15 +28,15 @@ require (
github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535 // indirect
github.com/cespare/xxhash v1.1.0 // indirect
github.com/coreos/go-semver v0.3.0 // indirect
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dgraph-io/ristretto v0.0.3 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-openapi/inflect v0.19.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.1 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/gorilla/securecookie v1.1.1 // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
@@ -43,6 +44,8 @@ require (
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/klauspost/compress v1.13.6 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/goveralls v0.0.6 // indirect
github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
@@ -72,11 +75,11 @@ require (
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.21.0 // indirect
golang.org/x/net v0.6.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/text v0.8.0 // indirect
golang.org/x/tools v0.6.0 // indirect
golang.org/x/net v0.29.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/text v0.18.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect

71
go.sum
View File

@@ -45,6 +45,7 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60=
github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
github.com/DataDog/datadog-go v4.0.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
github.com/Masterminds/semver/v3 v3.0.3/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
@@ -120,8 +121,9 @@ github.com/coreos/go-semver v0.3.0 h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmf
github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
github.com/coreos/go-systemd/v22 v22.3.2 h1:D9/bQk5vlXQFZ6Kwuu6zaiXJ9oTPe68++AzAJc1DzSI=
github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE=
github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
@@ -169,6 +171,7 @@ github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga
github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE=
github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=
@@ -248,6 +251,7 @@ github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG
github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68=
github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA=
github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0=
github.com/gobuffalo/attrs v0.1.0/go.mod h1:fmNpaWyHM0tRm8gCZWKx8yY9fvaNLo2PyzBNSrBZ5Hw=
github.com/gobuffalo/buffalo v0.12.8-0.20181004233540-fac9bb505aa8/go.mod h1:sLyT7/dceRXJUxSsE813JTQtA3Eb1vjxWfo/N//vXIY=
@@ -539,8 +543,9 @@ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QD
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4=
github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
@@ -556,8 +561,8 @@ github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-jsonnet v0.16.0/go.mod h1:sOcuej3UW1vpPTZOr8L7RQimqai1a57bt5j22LzGZCw=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
@@ -578,8 +583,8 @@ github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+
github.com/google/uuid v1.1.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g=
@@ -706,6 +711,7 @@ github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFB
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/pty v1.1.3/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA=
@@ -714,6 +720,7 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348 h1:MtvEpTB6LX3vkb4ax0b5D2DHbNAUsen0Gx5wZoq3lV4=
github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k=
github.com/lib/pq v0.0.0-20180327071824-d34b9ff171c2/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
@@ -761,6 +768,8 @@ github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcncea
github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
@@ -768,6 +777,10 @@ github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd
github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ=
github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc=
github.com/mattn/go-sqlite3 v1.10.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc=
github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc=
@@ -922,10 +935,14 @@ github.com/rogpeppe/go-internal v1.3.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTE
github.com/rogpeppe/go-internal v1.4.0/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
github.com/rogpeppe/go-internal v1.5.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k=
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
github.com/rs/cors v1.6.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU=
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU=
github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc=
github.com/rs/zerolog v1.33.0 h1:1cU2KZkvPxNyfgEmhHAz/1A9Bz+llsdYzklWFzgp0r8=
github.com/rs/zerolog v1.33.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss=
github.com/rubenv/sql-migrate v0.0.0-20190212093014-1007f53448d7/go.mod h1:WS0rl9eEliYI8DPnr3TOwz4439pay+qNgzJoVya/DmY=
github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
@@ -1163,8 +1180,8 @@ golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWP
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.6.0 h1:qfktjS5LUO+fFKeJXZ+ikTRijMmljikvG68fpMMruSc=
golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58=
golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A=
golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70=
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
@@ -1205,7 +1222,8 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8=
golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA=
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180816102801-aaf60122140d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -1260,8 +1278,8 @@ golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.6.0 h1:L4ZwwTvKW9gr0ZMS1yrHD9GZhIuVjOBBnaKH+SPQK0Q=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo=
golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20181003184128-c57b0facaced/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -1272,7 +1290,8 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ
golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783 h1:nt+Q6cXKz4MosCSpnbMtqiQ8Oz0pxTef2B4Vca2lvfk=
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -1285,8 +1304,8 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20180816055513-1c9583448a9c/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180831094639-fa5fdf94c789/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -1370,9 +1389,12 @@ golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s=
golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -1384,8 +1406,8 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.8.0 h1:57P1ETyNKtuIjB4SRd15iJxuhj8Gc416Y78H3qgMh68=
golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224=
golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
@@ -1487,8 +1509,8 @@ golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.6.0 h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM=
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg=
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
@@ -1527,7 +1549,6 @@ google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7
google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
@@ -1596,8 +1617,8 @@ google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAG
google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k=
google.golang.org/grpc v1.52.0 h1:kd48UiU7EHsV4rnLyOJRuP/Il/UHE7gdDAQ+SZI7nZk=
google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY=
google.golang.org/grpc v1.68.0 h1:aHQeeJbo8zAkAa3pRzrVjZlbz6uSfeOXlJNQM0RAbz0=
google.golang.org/grpc v1.68.0/go.mod h1:fmSPC5AsjSBCK54MyHRx48kpOti1/jRfOlwEWywNjWA=
google.golang.org/grpc/examples v0.0.0-20210304020650-930c79186c99/go.mod h1:Ly7ZA/ARzg8fnPU9TyZIxoz33sEUuWX7txiqs8lPTgE=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
@@ -1611,8 +1632,8 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w=
google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg=
google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw=
gopkg.in/DataDog/dd-trace-go.v1 v1.27.0/go.mod h1:Sp1lku8WJMvNV0kjDI4Ni/T7J/U3BO5ct5kEaoVU8+I=
gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=

View File

@@ -2,9 +2,9 @@ package grpcapi
import (
"encoding/json"
"fmt"
"git.coopgo.io/coopgo-platform/mobility-accounts/storage"
"github.com/rs/zerolog/log"
"google.golang.org/protobuf/encoding/protojson"
"google.golang.org/protobuf/types/known/structpb"
)
@@ -27,7 +27,7 @@ func (a Account) ToStorageType() storage.Account {
for k, d := range a.Data.GetFields() {
jsondata, err := protojson.Marshal(d)
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
break
}
var data any
@@ -39,6 +39,18 @@ func (a Account) ToStorageType() storage.Account {
}
func (lc LocalAuth) ToStorageType() storage.LocalAuth {
emailValidation := storage.Validation{}
if lc.EmailValidation != nil {
emailValidation.Validated = lc.EmailValidation.Validated
emailValidation.ValidationCode = lc.EmailValidation.ValidationCode
}
phoneValidation := storage.Validation{}
if lc.PhoneNumberValidation != nil {
phoneValidation.Validated = lc.PhoneNumberValidation.Validated
phoneValidation.ValidationCode = lc.PhoneNumberValidation.ValidationCode
}
return storage.LocalAuth{
Username: lc.Username,
Password: lc.Password,
@@ -68,7 +80,7 @@ func AccountFromStorageType(account *storage.Account) (*Account, error) {
data, err := structpb.NewStruct(d)
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, err
}

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.19.6
// protoc-gen-go v1.36.7
// protoc v6.31.1
// source: accounts.proto
package grpcapi
@@ -12,6 +12,7 @@ import (
structpb "google.golang.org/protobuf/types/known/structpb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
@@ -22,23 +23,20 @@ const (
)
type Account struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
Authentication *AccountAuth `protobuf:"bytes,3,opt,name=authentication,proto3" json:"authentication,omitempty"`
Data *structpb.Struct `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
Authentication *AccountAuth `protobuf:"bytes,3,opt,name=authentication,proto3" json:"authentication,omitempty"`
Data *structpb.Struct `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Account) Reset() {
*x = Account{}
if protoimpl.UnsafeEnabled {
mi := &file_accounts_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_accounts_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Account) String() string {
@@ -49,7 +47,7 @@ func (*Account) ProtoMessage() {}
func (x *Account) ProtoReflect() protoreflect.Message {
mi := &file_accounts_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -93,20 +91,17 @@ func (x *Account) GetData() *structpb.Struct {
}
type AccountAuth struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
state protoimpl.MessageState `protogen:"open.v1"`
Local *LocalAuth `protobuf:"bytes,7,opt,name=local,proto3,oneof" json:"local,omitempty"` //TODO SSO
unknownFields protoimpl.UnknownFields
Local *LocalAuth `protobuf:"bytes,7,opt,name=local,proto3,oneof" json:"local,omitempty"` //TODO SSO
sizeCache protoimpl.SizeCache
}
func (x *AccountAuth) Reset() {
*x = AccountAuth{}
if protoimpl.UnsafeEnabled {
mi := &file_accounts_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_accounts_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AccountAuth) String() string {
@@ -117,7 +112,7 @@ func (*AccountAuth) ProtoMessage() {}
func (x *AccountAuth) ProtoReflect() protoreflect.Message {
mi := &file_accounts_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -140,25 +135,22 @@ func (x *AccountAuth) GetLocal() *LocalAuth {
}
type LocalAuth struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Username *string `protobuf:"bytes,10,opt,name=username,proto3,oneof" json:"username,omitempty"`
Password string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"`
Email *string `protobuf:"bytes,12,opt,name=email,proto3,oneof" json:"email,omitempty"`
PhoneNumber *string `protobuf:"bytes,13,opt,name=phone_number,json=phoneNumber,proto3,oneof" json:"phone_number,omitempty"`
EmailValidation *Validation `protobuf:"bytes,14,opt,name=email_validation,json=emailValidation,proto3,oneof" json:"email_validation,omitempty"`
PhoneNumberValidation *Validation `protobuf:"bytes,15,opt,name=phone_number_validation,json=phoneNumberValidation,proto3,oneof" json:"phone_number_validation,omitempty"`
state protoimpl.MessageState `protogen:"open.v1"`
Username *string `protobuf:"bytes,10,opt,name=username,proto3,oneof" json:"username,omitempty"`
Password string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"`
Email *string `protobuf:"bytes,12,opt,name=email,proto3,oneof" json:"email,omitempty"`
PhoneNumber *string `protobuf:"bytes,13,opt,name=phone_number,json=phoneNumber,proto3,oneof" json:"phone_number,omitempty"`
EmailValidation *Validation `protobuf:"bytes,14,opt,name=email_validation,json=emailValidation,proto3,oneof" json:"email_validation,omitempty"`
PhoneNumberValidation *Validation `protobuf:"bytes,15,opt,name=phone_number_validation,json=phoneNumberValidation,proto3,oneof" json:"phone_number_validation,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LocalAuth) Reset() {
*x = LocalAuth{}
if protoimpl.UnsafeEnabled {
mi := &file_accounts_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_accounts_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LocalAuth) String() string {
@@ -169,7 +161,7 @@ func (*LocalAuth) ProtoMessage() {}
func (x *LocalAuth) ProtoReflect() protoreflect.Message {
mi := &file_accounts_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -227,21 +219,18 @@ func (x *LocalAuth) GetPhoneNumberValidation() *Validation {
}
type Validation struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Validated bool `protobuf:"varint,20,opt,name=validated,proto3" json:"validated,omitempty"`
ValidationCode string `protobuf:"bytes,21,opt,name=validation_code,json=validationCode,proto3" json:"validation_code,omitempty"`
state protoimpl.MessageState `protogen:"open.v1"`
Validated bool `protobuf:"varint,20,opt,name=validated,proto3" json:"validated,omitempty"`
ValidationCode string `protobuf:"bytes,21,opt,name=validation_code,json=validationCode,proto3" json:"validation_code,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Validation) Reset() {
*x = Validation{}
if protoimpl.UnsafeEnabled {
mi := &file_accounts_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_accounts_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Validation) String() string {
@@ -252,7 +241,7 @@ func (*Validation) ProtoMessage() {}
func (x *Validation) ProtoReflect() protoreflect.Message {
mi := &file_accounts_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -283,73 +272,50 @@ func (x *Validation) GetValidationCode() string {
var File_accounts_proto protoreflect.FileDescriptor
var file_accounts_proto_rawDesc = []byte{
0x0a, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a,
0x01, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61,
0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e,
0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68,
0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x0c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x52, 0x0e,
0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b,
0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x3e, 0x0a, 0x0b, 0x41,
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x12, 0x25, 0x0a, 0x05, 0x6c, 0x6f,
0x63, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x4c, 0x6f, 0x63, 0x61,
0x6c, 0x41, 0x75, 0x74, 0x68, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x88, 0x01,
0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x22, 0xeb, 0x02, 0x0a, 0x09,
0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x41, 0x75, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x08, 0x75, 0x73, 0x65,
0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x75,
0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61,
0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61,
0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18,
0x0c, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x88, 0x01,
0x01, 0x12, 0x26, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65,
0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65,
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x3b, 0x0a, 0x10, 0x65, 0x6d, 0x61,
0x69, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x48, 0x03, 0x52, 0x0f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x48, 0x0a, 0x17, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f,
0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x48, 0x04, 0x52, 0x15, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d,
0x62, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01,
0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x08, 0x0a,
0x06, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x70, 0x68, 0x6f, 0x6e,
0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x65, 0x6d, 0x61,
0x69, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x1a, 0x0a,
0x18, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x76,
0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x53, 0x0a, 0x0a, 0x56, 0x61, 0x6c,
0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64,
0x61, 0x74, 0x65, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69,
0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x39,
0x5a, 0x37, 0x67, 0x69, 0x74, 0x2e, 0x63, 0x6f, 0x6f, 0x70, 0x67, 0x6f, 0x2e, 0x69, 0x6f, 0x2f,
0x63, 0x6f, 0x6f, 0x70, 0x67, 0x6f, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f,
0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
const file_accounts_proto_rawDesc = "" +
"\n" +
"\x0eaccounts.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x9a\x01\n" +
"\aAccount\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n" +
"\tnamespace\x18\x02 \x01(\tR\tnamespace\x124\n" +
"\x0eauthentication\x18\x03 \x01(\v2\f.AccountAuthR\x0eauthentication\x12+\n" +
"\x04data\x18\x04 \x01(\v2\x17.google.protobuf.StructR\x04data\">\n" +
"\vAccountAuth\x12%\n" +
"\x05local\x18\a \x01(\v2\n" +
".LocalAuthH\x00R\x05local\x88\x01\x01B\b\n" +
"\x06_local\"\xeb\x02\n" +
"\tLocalAuth\x12\x1f\n" +
"\busername\x18\n" +
" \x01(\tH\x00R\busername\x88\x01\x01\x12\x1a\n" +
"\bpassword\x18\v \x01(\tR\bpassword\x12\x19\n" +
"\x05email\x18\f \x01(\tH\x01R\x05email\x88\x01\x01\x12&\n" +
"\fphone_number\x18\r \x01(\tH\x02R\vphoneNumber\x88\x01\x01\x12;\n" +
"\x10email_validation\x18\x0e \x01(\v2\v.ValidationH\x03R\x0femailValidation\x88\x01\x01\x12H\n" +
"\x17phone_number_validation\x18\x0f \x01(\v2\v.ValidationH\x04R\x15phoneNumberValidation\x88\x01\x01B\v\n" +
"\t_usernameB\b\n" +
"\x06_emailB\x0f\n" +
"\r_phone_numberB\x13\n" +
"\x11_email_validationB\x1a\n" +
"\x18_phone_number_validation\"S\n" +
"\n" +
"Validation\x12\x1c\n" +
"\tvalidated\x18\x14 \x01(\bR\tvalidated\x12'\n" +
"\x0fvalidation_code\x18\x15 \x01(\tR\x0evalidationCodeB9Z7git.coopgo.io/coopgo-platform/mobility-accounts/grpcapib\x06proto3"
var (
file_accounts_proto_rawDescOnce sync.Once
file_accounts_proto_rawDescData = file_accounts_proto_rawDesc
file_accounts_proto_rawDescData []byte
)
func file_accounts_proto_rawDescGZIP() []byte {
file_accounts_proto_rawDescOnce.Do(func() {
file_accounts_proto_rawDescData = protoimpl.X.CompressGZIP(file_accounts_proto_rawDescData)
file_accounts_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_accounts_proto_rawDesc), len(file_accounts_proto_rawDesc)))
})
return file_accounts_proto_rawDescData
}
var file_accounts_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_accounts_proto_goTypes = []interface{}{
var file_accounts_proto_goTypes = []any{
(*Account)(nil), // 0: Account
(*AccountAuth)(nil), // 1: AccountAuth
(*LocalAuth)(nil), // 2: LocalAuth
@@ -374,63 +340,13 @@ func file_accounts_proto_init() {
if File_accounts_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_accounts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Account); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_accounts_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountAuth); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_accounts_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LocalAuth); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_accounts_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Validation); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_accounts_proto_msgTypes[1].OneofWrappers = []interface{}{}
file_accounts_proto_msgTypes[2].OneofWrappers = []interface{}{}
file_accounts_proto_msgTypes[1].OneofWrappers = []any{}
file_accounts_proto_msgTypes[2].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_accounts_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_accounts_proto_rawDesc), len(file_accounts_proto_rawDesc)),
NumEnums: 0,
NumMessages: 4,
NumExtensions: 0,
@@ -441,7 +357,6 @@ func file_accounts_proto_init() {
MessageInfos: file_accounts_proto_msgTypes,
}.Build()
File_accounts_proto = out.File
file_accounts_proto_rawDesc = nil
file_accounts_proto_goTypes = nil
file_accounts_proto_depIdxs = nil
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,9 @@
//COMA (COOPGO Mobility Accounts) gRPC service definition
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc v3.19.6
// - protoc-gen-go-grpc v1.5.1
// - protoc v6.31.1
// source: comasvc.proto
package grpcapi
@@ -15,8 +17,20 @@ import (
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9
const (
MobilityAccounts_Register_FullMethodName = "/MobilityAccounts/Register"
MobilityAccounts_UpdateData_FullMethodName = "/MobilityAccounts/UpdateData"
MobilityAccounts_UpdatePhoneNumber_FullMethodName = "/MobilityAccounts/UpdatePhoneNumber"
MobilityAccounts_GetAccount_FullMethodName = "/MobilityAccounts/GetAccount"
MobilityAccounts_GetAccountUsername_FullMethodName = "/MobilityAccounts/GetAccountUsername"
MobilityAccounts_GetAccounts_FullMethodName = "/MobilityAccounts/GetAccounts"
MobilityAccounts_GetAccountsBatch_FullMethodName = "/MobilityAccounts/GetAccountsBatch"
MobilityAccounts_Login_FullMethodName = "/MobilityAccounts/Login"
MobilityAccounts_ChangePassword_FullMethodName = "/MobilityAccounts/ChangePassword"
)
// MobilityAccountsClient is the client API for MobilityAccounts service.
//
@@ -43,8 +57,9 @@ func NewMobilityAccountsClient(cc grpc.ClientConnInterface) MobilityAccountsClie
}
func (c *mobilityAccountsClient) Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(RegisterResponse)
err := c.cc.Invoke(ctx, "/MobilityAccounts/Register", in, out, opts...)
err := c.cc.Invoke(ctx, MobilityAccounts_Register_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -52,8 +67,9 @@ func (c *mobilityAccountsClient) Register(ctx context.Context, in *RegisterReque
}
func (c *mobilityAccountsClient) UpdateData(ctx context.Context, in *UpdateDataRequest, opts ...grpc.CallOption) (*UpdateDataResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(UpdateDataResponse)
err := c.cc.Invoke(ctx, "/MobilityAccounts/UpdateData", in, out, opts...)
err := c.cc.Invoke(ctx, MobilityAccounts_UpdateData_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -61,8 +77,9 @@ func (c *mobilityAccountsClient) UpdateData(ctx context.Context, in *UpdateDataR
}
func (c *mobilityAccountsClient) UpdatePhoneNumber(ctx context.Context, in *UpdatePhoneNumberRequest, opts ...grpc.CallOption) (*UpdatePhoneNumberResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(UpdatePhoneNumberResponse)
err := c.cc.Invoke(ctx, "/MobilityAccounts/UpdatePhoneNumber", in, out, opts...)
err := c.cc.Invoke(ctx, MobilityAccounts_UpdatePhoneNumber_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -70,8 +87,9 @@ func (c *mobilityAccountsClient) UpdatePhoneNumber(ctx context.Context, in *Upda
}
func (c *mobilityAccountsClient) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(GetAccountResponse)
err := c.cc.Invoke(ctx, "/MobilityAccounts/GetAccount", in, out, opts...)
err := c.cc.Invoke(ctx, MobilityAccounts_GetAccount_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -79,8 +97,9 @@ func (c *mobilityAccountsClient) GetAccount(ctx context.Context, in *GetAccountR
}
func (c *mobilityAccountsClient) GetAccountUsername(ctx context.Context, in *GetAccountUsernameRequest, opts ...grpc.CallOption) (*GetAccountUsernameResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(GetAccountUsernameResponse)
err := c.cc.Invoke(ctx, "/MobilityAccounts/GetAccountUsername", in, out, opts...)
err := c.cc.Invoke(ctx, MobilityAccounts_GetAccountUsername_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -88,8 +107,9 @@ func (c *mobilityAccountsClient) GetAccountUsername(ctx context.Context, in *Get
}
func (c *mobilityAccountsClient) GetAccounts(ctx context.Context, in *GetAccountsRequest, opts ...grpc.CallOption) (*GetAccountsResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(GetAccountsResponse)
err := c.cc.Invoke(ctx, "/MobilityAccounts/GetAccounts", in, out, opts...)
err := c.cc.Invoke(ctx, MobilityAccounts_GetAccounts_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -97,8 +117,9 @@ func (c *mobilityAccountsClient) GetAccounts(ctx context.Context, in *GetAccount
}
func (c *mobilityAccountsClient) GetAccountsBatch(ctx context.Context, in *GetAccountsBatchRequest, opts ...grpc.CallOption) (*GetAccountsBatchResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(GetAccountsBatchResponse)
err := c.cc.Invoke(ctx, "/MobilityAccounts/GetAccountsBatch", in, out, opts...)
err := c.cc.Invoke(ctx, MobilityAccounts_GetAccountsBatch_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -106,8 +127,9 @@ func (c *mobilityAccountsClient) GetAccountsBatch(ctx context.Context, in *GetAc
}
func (c *mobilityAccountsClient) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(LoginResponse)
err := c.cc.Invoke(ctx, "/MobilityAccounts/Login", in, out, opts...)
err := c.cc.Invoke(ctx, MobilityAccounts_Login_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -115,8 +137,9 @@ func (c *mobilityAccountsClient) Login(ctx context.Context, in *LoginRequest, op
}
func (c *mobilityAccountsClient) ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(ChangePasswordResponse)
err := c.cc.Invoke(ctx, "/MobilityAccounts/ChangePassword", in, out, opts...)
err := c.cc.Invoke(ctx, MobilityAccounts_ChangePassword_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -125,7 +148,7 @@ func (c *mobilityAccountsClient) ChangePassword(ctx context.Context, in *ChangeP
// MobilityAccountsServer is the server API for MobilityAccounts service.
// All implementations must embed UnimplementedMobilityAccountsServer
// for forward compatibility
// for forward compatibility.
type MobilityAccountsServer interface {
Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
UpdateData(context.Context, *UpdateDataRequest) (*UpdateDataResponse, error)
@@ -140,9 +163,12 @@ type MobilityAccountsServer interface {
mustEmbedUnimplementedMobilityAccountsServer()
}
// UnimplementedMobilityAccountsServer must be embedded to have forward compatible implementations.
type UnimplementedMobilityAccountsServer struct {
}
// UnimplementedMobilityAccountsServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedMobilityAccountsServer struct{}
func (UnimplementedMobilityAccountsServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Register not implemented")
@@ -172,6 +198,7 @@ func (UnimplementedMobilityAccountsServer) ChangePassword(context.Context, *Chan
return nil, status.Errorf(codes.Unimplemented, "method ChangePassword not implemented")
}
func (UnimplementedMobilityAccountsServer) mustEmbedUnimplementedMobilityAccountsServer() {}
func (UnimplementedMobilityAccountsServer) testEmbeddedByValue() {}
// UnsafeMobilityAccountsServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to MobilityAccountsServer will
@@ -181,6 +208,13 @@ type UnsafeMobilityAccountsServer interface {
}
func RegisterMobilityAccountsServer(s grpc.ServiceRegistrar, srv MobilityAccountsServer) {
// If the following call pancis, it indicates UnimplementedMobilityAccountsServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
t.testEmbeddedByValue()
}
s.RegisterService(&MobilityAccounts_ServiceDesc, srv)
}
@@ -194,7 +228,7 @@ func _MobilityAccounts_Register_Handler(srv interface{}, ctx context.Context, de
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/MobilityAccounts/Register",
FullMethod: MobilityAccounts_Register_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MobilityAccountsServer).Register(ctx, req.(*RegisterRequest))
@@ -212,7 +246,7 @@ func _MobilityAccounts_UpdateData_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/MobilityAccounts/UpdateData",
FullMethod: MobilityAccounts_UpdateData_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MobilityAccountsServer).UpdateData(ctx, req.(*UpdateDataRequest))
@@ -230,7 +264,7 @@ func _MobilityAccounts_UpdatePhoneNumber_Handler(srv interface{}, ctx context.Co
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/MobilityAccounts/UpdatePhoneNumber",
FullMethod: MobilityAccounts_UpdatePhoneNumber_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MobilityAccountsServer).UpdatePhoneNumber(ctx, req.(*UpdatePhoneNumberRequest))
@@ -248,7 +282,7 @@ func _MobilityAccounts_GetAccount_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/MobilityAccounts/GetAccount",
FullMethod: MobilityAccounts_GetAccount_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MobilityAccountsServer).GetAccount(ctx, req.(*GetAccountRequest))
@@ -266,7 +300,7 @@ func _MobilityAccounts_GetAccountUsername_Handler(srv interface{}, ctx context.C
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/MobilityAccounts/GetAccountUsername",
FullMethod: MobilityAccounts_GetAccountUsername_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MobilityAccountsServer).GetAccountUsername(ctx, req.(*GetAccountUsernameRequest))
@@ -284,7 +318,7 @@ func _MobilityAccounts_GetAccounts_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/MobilityAccounts/GetAccounts",
FullMethod: MobilityAccounts_GetAccounts_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MobilityAccountsServer).GetAccounts(ctx, req.(*GetAccountsRequest))
@@ -302,7 +336,7 @@ func _MobilityAccounts_GetAccountsBatch_Handler(srv interface{}, ctx context.Con
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/MobilityAccounts/GetAccountsBatch",
FullMethod: MobilityAccounts_GetAccountsBatch_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MobilityAccountsServer).GetAccountsBatch(ctx, req.(*GetAccountsBatchRequest))
@@ -320,7 +354,7 @@ func _MobilityAccounts_Login_Handler(srv interface{}, ctx context.Context, dec f
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/MobilityAccounts/Login",
FullMethod: MobilityAccounts_Login_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MobilityAccountsServer).Login(ctx, req.(*LoginRequest))
@@ -338,7 +372,7 @@ func _MobilityAccounts_ChangePassword_Handler(srv interface{}, ctx context.Conte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/MobilityAccounts/ChangePassword",
FullMethod: MobilityAccounts_ChangePassword_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MobilityAccountsServer).ChangePassword(ctx, req.(*ChangePasswordRequest))

View File

@@ -2,11 +2,10 @@ package grpcapi
import (
context "context"
"fmt"
"log"
"net"
"git.coopgo.io/coopgo-platform/mobility-accounts/handlers"
"github.com/rs/zerolog/log"
"github.com/spf13/viper"
"google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
@@ -31,7 +30,7 @@ func (s MobilityAccountsServerImpl) Login(ctx context.Context, req *LoginRequest
}
response, err := AccountFromStorageType(account)
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, status.Errorf(codes.Internal, "issue while retrieving account : %v", err)
}
return &LoginResponse{Account: response}, nil
@@ -40,12 +39,12 @@ func (s MobilityAccountsServerImpl) Register(ctx context.Context, req *RegisterR
a := req.Account.ToStorageType()
account, err := s.handler.Register(a)
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, status.Errorf(codes.AlreadyExists, "account creation failed : %v", err)
}
response, err := AccountFromStorageType(account)
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, status.Errorf(codes.Internal, "issue while retrieving account : %v", err)
}
return &RegisterResponse{Account: response}, nil
@@ -58,7 +57,7 @@ func (s MobilityAccountsServerImpl) UpdateData(ctx context.Context, req *UpdateD
}
response, err := AccountFromStorageType(account)
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, status.Errorf(codes.Internal, "issue while retrieving account : %v", err)
}
return &UpdateDataResponse{Account: response}, nil
@@ -78,12 +77,12 @@ func (s MobilityAccountsServerImpl) UpdatePhoneNumber(ctx context.Context, req *
func (s MobilityAccountsServerImpl) GetAccount(ctx context.Context, req *GetAccountRequest) (*GetAccountResponse, error) {
account, err := s.handler.GetAccount(req.Id)
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, status.Errorf(codes.AlreadyExists, "issue while retrieving account : %v", err)
}
response, err := AccountFromStorageType(account)
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, status.Errorf(codes.Internal, "issue while retrieving account : %v", err)
}
return &GetAccountResponse{Account: response}, nil
@@ -91,12 +90,12 @@ func (s MobilityAccountsServerImpl) GetAccount(ctx context.Context, req *GetAcco
func (s MobilityAccountsServerImpl) GetAccountUsername(ctx context.Context, req *GetAccountUsernameRequest) (*GetAccountUsernameResponse, error) {
account, err := s.handler.GetAccountUsername(req.Username, req.Namespace)
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, status.Errorf(codes.AlreadyExists, "issue while retrieving account : %v", err)
}
response, err := AccountFromStorageType(account)
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, status.Errorf(codes.Internal, "issue while retrieving account : %v", err)
}
return &GetAccountUsernameResponse{Account: response}, nil
@@ -147,13 +146,13 @@ func Run(done chan error, cfg *viper.Viper, handler handlers.MobilityAccountsHan
dev_env = cfg.GetBool("dev_env")
address = ":" + cfg.GetString("services.grpc.port")
)
fmt.Println("-> GRPC server on", address)
log.Info().Str("address", address).Msg("Running gRPC server")
server := grpc.NewServer()
RegisterMobilityAccountsServer(server, NewMobilityAccountsServer(handler))
l, err := net.Listen("tcp", address)
if err != nil {
log.Fatal(err)
log.Fatal().Str("address", address).Err(err).Msg("gRPC server cannot listen")
}
if dev_env {
@@ -161,7 +160,7 @@ func Run(done chan error, cfg *viper.Viper, handler handlers.MobilityAccountsHan
}
if err := server.Serve(l); err != nil {
fmt.Println("gRPC service ended")
log.Error().Err(err).Msg("gRPC service ended")
done <- err
}
}

View File

@@ -2,12 +2,12 @@ package handlers
import (
"errors"
"fmt"
"strings"
"time"
"git.coopgo.io/coopgo-platform/mobility-accounts/storage"
"github.com/google/uuid"
"github.com/rs/zerolog/log"
"github.com/santhosh-tekuri/jsonschema/v5"
"golang.org/x/crypto/bcrypt"
)
@@ -19,12 +19,12 @@ func (h MobilityAccountsHandler) Login(username string, password string, namespa
u := strings.ToLower(username)
account, err := h.storage.DB.LocalAuthentication(namespace, &u, nil, nil)
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, err
}
if err = bcrypt.CompareHashAndPassword([]byte(account.Authentication.Local.Password), []byte(password)); err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, err
}
@@ -108,7 +108,7 @@ func (h MobilityAccountsHandler) UpdateData(accountid string, datas map[string]a
dataschemas := h.config.GetStringMap("data_schemas")
for k, v := range datas {
if !h.config.GetBool("allow_any_data") && dataschemas[k] == nil {
fmt.Println("data scope not allowed")
log.Error().Msg("data scope not allowed")
return nil, errors.New("data scope not allowed")
}
@@ -116,19 +116,19 @@ func (h MobilityAccountsHandler) UpdateData(accountid string, datas map[string]a
s := dataschemas[k].(map[string]string)
sch, err := jsonschema.Compile(s["schema"])
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, err
}
if err = sch.Validate(v); err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, err
}
}
account.Data[k] = v
}
if err = h.storage.DB.UpdateAccount(*account); err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return nil, err
}
@@ -151,7 +151,7 @@ func (h MobilityAccountsHandler) UpdatePhoneNumber(accountid, phone_number strin
account.Authentication.Local.PhoneNumberValidation.ValidationCode = verification_code
if err = h.storage.DB.UpdateAccount(*account); err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return err
}

20
main.go
View File

@@ -1,12 +1,14 @@
package main
import (
"fmt"
"os"
"git.coopgo.io/coopgo-platform/mobility-accounts/grpcapi"
"git.coopgo.io/coopgo-platform/mobility-accounts/handlers"
op "git.coopgo.io/coopgo-platform/mobility-accounts/oidc-provider"
"git.coopgo.io/coopgo-platform/mobility-accounts/storage"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
)
func main() {
@@ -22,20 +24,22 @@ func main() {
dev_env = cfg.GetBool("dev_env")
)
if dev_env {
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
}
storage, err := storage.NewStorage(cfg)
if err != nil {
panic(err)
log.Panic().Err(err).Msg("Cannot connect to storage")
return
}
handler := handlers.NewHandler(cfg, storage)
fmt.Println("Running", service_name, ":")
if dev_env {
fmt.Printf("\033]0;%s\007", service_name)
}
failed := make(chan error)
log.Info().Str("service_name", service_name).Msg("Running service")
if grpc_enable {
go grpcapi.Run(failed, cfg, handler)
}
@@ -46,6 +50,6 @@ func main() {
err = <-failed
fmt.Println("Terminating :", err)
log.Fatal().Err(err).Msg("Terminating server")
}

View File

@@ -4,7 +4,9 @@ import (
"context"
"crypto/rsa"
"errors"
"net/url"
"reflect"
"strings"
"time"
"git.coopgo.io/coopgo-platform/mobility-accounts/handlers"
@@ -18,7 +20,14 @@ import (
func NewProvider(c OIDCNamespaceConfig, h handlers.MobilityAccountsHandler, s storage.Storage, privateKey *rsa.PrivateKey) fosite.OAuth2Provider {
config := &compose.Config{}
config := &compose.Config{
RedirectSecureChecker: func(checkUrl *url.URL) bool {
if strings.HasSuffix(checkUrl.Host, "svc.cluster.local") || strings.HasSuffix(checkUrl.Host, "localhost") {
return true
}
return false
},
}
storage := NewOIDCProviderStore(c, h, s.KV)
secret := []byte(c.SecretKey)
return compose.ComposeAllEnabled(config, storage, secret, privateKey)

View File

@@ -3,12 +3,12 @@ package op
import (
"crypto/rand"
"crypto/rsa"
"fmt"
"git.coopgo.io/coopgo-platform/mobility-accounts/handlers"
"git.coopgo.io/coopgo-platform/mobility-accounts/storage"
"github.com/mitchellh/mapstructure"
"github.com/ory/fosite"
"github.com/rs/zerolog/log"
"github.com/spf13/viper"
)
@@ -86,14 +86,14 @@ func Run(done chan error, cfg *viper.Viper, handler handlers.MobilityAccountsHan
address = "0.0.0.0:" + cfg.GetString("services.oidc_provider.port")
)
fmt.Println("-> OIDC provider endpoints on", address)
log.Info().Str("address", address).Msg("Running OIDC provider")
s := NewOIDCHandler(handler, storage, cfg)
err := NewOIDCServer(s, cfg)
if err != nil {
fmt.Println("OIDC server ended")
log.Error().Err(err).Msg("OIDC server ended")
}
done <- err

View File

@@ -5,6 +5,7 @@ import (
"errors"
"fmt"
"github.com/rs/zerolog/log"
"github.com/spf13/viper"
"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/mongo"
@@ -185,7 +186,7 @@ func (s MongoDBStorage) CreateAccount(account Account) error {
func (s MongoDBStorage) UpdateAccount(account Account) error {
collection := s.Client.Database(s.DbName).Collection(s.Collections["users"])
if _, err := collection.ReplaceOne(context.TODO(), bson.M{"_id": account.ID}, account); err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return err
}
@@ -193,6 +194,6 @@ func (s MongoDBStorage) UpdateAccount(account Account) error {
}
func (s MongoDBStorage) Migrate() error {
fmt.Println("no migration")
log.Error().Msg("no migration")
return nil
}

View File

@@ -13,6 +13,7 @@ import (
"ariga.io/atlas/sql/schema"
"github.com/lib/pq"
_ "github.com/lib/pq"
"github.com/rs/zerolog/log"
"github.com/spf13/viper"
)
@@ -38,12 +39,12 @@ func NewPostgresqlStorage(cfg *viper.Viper) (PostgresqlStorage, error) {
psqlconn := fmt.Sprintf("host=%s port=%d user=%s password=%s dbname=%s sslmode=%s", host, portInt, user, password, dbname, sslmode)
db, err := sql.Open("postgres", psqlconn)
if err != nil {
fmt.Println("error", err)
log.Error().Err(err).Msg("error opening postgresql connection")
return PostgresqlStorage{}, fmt.Errorf("connection to postgresql failed")
}
err = db.Ping()
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msg("")
return PostgresqlStorage{}, fmt.Errorf("connection to postgresql database failed")
}
return PostgresqlStorage{
@@ -129,7 +130,7 @@ func (psql PostgresqlStorage) LocalAuthentication(namespace string, username *st
req += fmt.Sprintf(` AND phone_number = '%s'`, *phone_number)
}
req += ";"
fmt.Println(req)
account.Authentication.Local = &LocalAuth{}
err := psql.DbConnection.QueryRow(req).Scan(
&account.ID,
@@ -145,22 +146,22 @@ func (psql PostgresqlStorage) LocalAuthentication(namespace string, username *st
}
err = json.Unmarshal(metadata, &account.Metadata)
if err != nil {
fmt.Println("one")
log.Error().Err(err).Msg("error unmarshalling account metadata")
return nil, err
}
err = json.Unmarshal(data, &account.Data)
if err != nil {
fmt.Println("two")
log.Error().Err(err).Msg("error unmarshalling account data")
return nil, err
}
err = json.Unmarshal(emailValidation, &account.Authentication.Local.EmailValidation)
if err != nil {
fmt.Println("three")
log.Error().Err(err).Msg("error unmarshalling email validation")
return nil, err
}
err = json.Unmarshal(phoneValidation, &account.Authentication.Local.PhoneNumberValidation)
if err != nil {
fmt.Println("four")
log.Error().Err(err).Msg("error unmarshalling phone validation")
return nil, err
}
return account, nil