189 Commits

Author SHA1 Message Date
Unbound Release 681804c5e4 chore(release): prepare for v0.2.0 2025-04-12 00:37:18 +02:00
argoyle 50a6071eec feat: add setup method for privilege event consumers
Adds a Setup method to PrivilegeHandler that configures AMQP consumers 
for user and privilege events. This enables the handling of User.Added, 
User.Removed, Privilege.Added, and Privilege.Removed events in a 
streamlined manner, enhancing the event-driven capabilities of the 
handler.
2025-04-11 23:50:15 +02:00
Renovate c7ceee0a14 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.24.3 2025-04-11 14:59:55 +00:00
Renovate 09f0769a3e fix(deps): update module github.com/sparetimecoders/goamqp to v0.3.2 2025-04-09 14:02:50 +00:00
Renovate ae9ac8b449 chore(deps): update golang:1.24.2 docker digest to aebb7df 2025-04-08 06:00:25 +00:00
Renovate 7f251668b2 chore(deps): update golang docker tag to v1.24.2 2025-04-01 18:05:40 +00:00
Renovate 114883aef4 chore(deps): update pre-commit hook golangci/golangci-lint to v2.0.2 2025-03-25 22:03:45 +00:00
Renovate 6c0dbaf903 chore(deps): update pre-commit hook golangci/golangci-lint to v2.0.1 2025-03-24 21:03:49 +00:00
Renovate b0a1757e38 chore(deps): update pre-commit hook golangci/golangci-lint to v2 2025-03-24 14:15:03 +01:00
Renovate d6736b0187 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.24.2 2025-03-22 12:58:32 +00:00
Renovate 668e0dacfb chore(deps): update golang:1.24.1 docker digest to 5ecf333 2025-03-18 03:59:37 +00:00
Renovate 1c2e98a973 chore(deps): update pre-commit hook golangci/golangci-lint to v1.64.8 2025-03-17 20:58:51 +00:00
Renovate 026fe0ab3f chore(deps): update pre-commit hook golangci/golangci-lint to v1.64.7 2025-03-12 00:05:17 +00:00
Renovate 6b15aac9f3 chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.22.0 2025-03-11 14:59:15 +00:00
Renovate 001f23eab5 chore(deps): update golang docker tag to v1.24.1 2025-03-04 23:04:59 +00:00
Renovate e3c303b162 chore(deps): update pre-commit hook golangci/golangci-lint to v1.64.6 2025-03-02 23:59:43 +00:00
Renovate 61204541a4 chore(deps): update golang:1.24.0 docker digest to 4a3f101 2025-02-25 05:57:56 +00:00
Renovate fbd579a4f6 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.24.0 2025-02-20 02:59:18 +00:00
Renovate 7a1a0b5941 chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.21.0 2025-02-15 14:59:34 +00:00
Renovate d6db4b664c chore(deps): update pre-commit hook golangci/golangci-lint to v1.64.5 2025-02-13 22:00:22 +00:00
Renovate 44a711baa1 chore(deps): update pre-commit hook golangci/golangci-lint to v1.64.4 2025-02-12 22:59:59 +00:00
Renovate 63ae255179 chore(deps): update golang docker tag to v1.24.0 2025-02-12 19:05:47 +00:00
Renovate 24f3184ccc chore(deps): update pre-commit hook golangci/golangci-lint to v1.64.2 2025-02-11 21:59:21 +00:00
argoyle b6f20b7ae0 fix(ci): update go image to amd64 architecture version
Updates the Go image in the CI configuration to use the
amd64 architecture version for better compatibility and
performance. This change ensures consistency across stages
that utilize Go tools, particularly for vulnerability testing.
2025-02-06 19:57:01 +01:00
Renovate c009f3d87c chore(deps): update golang:1.23.6 docker digest to 9271129 2025-02-05 10:04:35 +00:00
Renovate e197f2c7da chore(deps): update golang:1.23.6 docker digest to 958bd2e 2025-02-05 06:59:38 +00:00
Renovate 2655fcb211 chore(deps): update golang docker tag to v1.23.6 2025-02-05 04:00:35 +00:00
Renovate 9fcbdd259b chore(deps): update golang:1.23.5 docker digest to e213430 2025-02-04 10:03:17 +00:00
Renovate ba73d36b91 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.23.3 2025-01-29 15:03:23 +00:00
Renovate 739440046b chore(deps): update pre-commit hook gitleaks/gitleaks to v8.23.2 2025-01-24 15:11:53 +00:00
Renovate 2243597853 chore(deps): update golang:1.23.5 docker digest to 8c10f21 2025-01-22 04:09:09 +00:00
Renovate e9e684949c chore(deps): update golang docker tag to v1.23.5 2025-01-17 01:12:11 +00:00
Renovate a6426f5973 chore(deps): update golang:1.23.4 docker digest to 9820aca 2025-01-15 23:21:39 +00:00
Renovate e29f5b331b chore(deps): update golang:1.23.4 docker digest to 5305905 2025-01-15 19:05:34 +00:00
Renovate e1b2e5a5c1 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.23.1 2025-01-15 13:13:56 +00:00
Renovate 7371d54831 chore(deps): update golang:1.23.4 docker digest to 585103a 2025-01-15 01:14:28 +00:00
Renovate badfe89281 chore(deps): update golang:1.23.4 docker digest to 08e1417 2025-01-14 13:05:51 +00:00
Renovate 17dd541cc6 chore(deps): update golang:1.23.4 docker digest to 3b1a7de 2025-01-14 07:25:53 +00:00
Renovate 4ad0fb4f86 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.23.0 2025-01-13 16:10:17 +00:00
Renovate a53df01028 chore(deps): update pre-commit hook golangci/golangci-lint to v1.63.4 2025-01-03 20:13:05 +00:00
Renovate 622179a6b1 chore(deps): update pre-commit hook golangci/golangci-lint to v1.63.3 2025-01-02 20:05:36 +00:00
Renovate b6b3084ae7 chore(deps): update pre-commit hook golangci/golangci-lint to v1.63.2 2025-01-02 13:06:17 +00:00
Renovate f6a0f478c0 chore(deps): update pre-commit hook golangci/golangci-lint to v1.63.1 2025-01-01 22:05:01 +00:00
Renovate 5cce412515 chore(deps): update pre-commit hook golangci/golangci-lint to v1.63.0 2025-01-01 14:05:42 +00:00
Renovate f9f881614b chore(deps): update pre-commit hook gitleaks/gitleaks to v8.22.1 2024-12-30 17:08:19 +00:00
argoyle a76276787f feat: add timeout configuration to golangci-lint
Sets a timeout of 5 minutes for golangci-lint to improve  
performance and prevent long-running linting processes.  
This change ensures that the linting process completes within  
a reasonable time frame, enhancing the development workflow.
2024-12-28 18:19:19 +01:00
Renovate 619bccdcf0 chore(deps): update golang:1.23.4 docker digest to 7ea4c9d 2024-12-26 04:09:08 +00:00
Renovate 919589a397 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.22.0 2024-12-20 17:10:31 +00:00
Renovate bcf67ea71e chore(deps): update pre-commit hook gitleaks/gitleaks to v8.21.4 2024-12-20 16:06:30 +00:00
Renovate 674117e8ff chore(deps): update pre-commit hook gitleaks/gitleaks to v8.21.3 2024-12-19 23:00:54 +00:00
Renovate 1307fcd993 chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.20.0 2024-12-16 15:09:23 +00:00
Renovate aeb92016c8 chore(deps): update golang:1.23.4 docker digest to 7003184 2024-12-12 03:10:58 +00:00
Renovate 53ddd9413a chore(deps): update golang:1.23.4 docker digest to 574185e 2024-12-04 12:06:01 +00:00
Renovate 791703e632 chore(deps): update golang docker tag to v1.23.4 2024-12-04 06:04:45 +00:00
Renovate abec3883c7 chore(deps): update golang:1.23.3 docker digest to 017ec6b 2024-12-03 21:09:03 +00:00
Renovate c78e07cdca chore(deps): update golang:1.23.3 docker digest to 2b01164 2024-12-03 15:03:13 +00:00
Renovate 0b8ef99e8b chore(deps): update golang:1.23.3 docker digest to b4aabba 2024-12-03 12:04:22 +00:00
Renovate 82505437e1 chore(deps): update golang:1.23.3 docker digest to ee5f0ad 2024-12-03 09:01:34 +00:00
Renovate 510790dab3 chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.19.0 2024-11-27 17:59:23 +00:00
Renovate 3bbab5a037 chore(deps): update pre-commit hook golangci/golangci-lint to v1.62.2 2024-11-25 14:59:03 +00:00
Renovate 53fbe8d8b1 fix(deps): update module github.com/stretchr/testify to v1.10.0 2024-11-23 12:04:54 +00:00
Renovate 660a58a94c chore(deps): update golang:1.23.3 docker digest to 73f06be 2024-11-15 00:05:13 +00:00
Renovate 0a4c0c7920 chore(deps): update golang:1.23.3 docker digest to c2d828f 2024-11-13 21:05:51 +00:00
Renovate 511fce32e1 chore(deps): update golang:1.23.3 docker digest to 2660218 2024-11-13 12:05:13 +00:00
argoyle 7477dd929e refactor(ci): remove pre-commit job and add new template
Removes the deprecated pre-commit job from the CI configuration.  
Adds a new template to streamline pre-commit tasks with Go. This  
ensures a cleaner pipeline setup and improves maintainability.
2024-11-13 12:52:48 +01:00
Renovate 3b2528e447 chore(deps): update golang:1.23.3 docker digest to b2ca381 2024-11-13 09:00:30 +00:00
Renovate 628d5f68d3 chore(deps): update golang:1.23.3 docker digest to 3694e36 2024-11-13 05:59:23 +00:00
Renovate b810402cea chore(deps): update unbound/pre-commit docker digest to e78425c 2024-11-12 12:04:42 +00:00
Renovate c18735eb92 chore(deps): update golang:1.23.3 docker digest to 8956c08 2024-11-12 08:59:15 +00:00
Renovate b362af8bbe chore(deps): update pre-commit hook golangci/golangci-lint to v1.62.0 2024-11-10 21:04:10 +00:00
Renovate 2ad082150d chore(deps): update unbound/pre-commit docker digest to 596abf5 2024-11-07 12:01:49 +00:00
Renovate a2a06a49c9 chore(deps): update golang docker tag to v1.23.3 2024-11-07 09:01:08 +00:00
Renovate c7765a7838 chore(deps): pin unbound/pre-commit docker tag to 92fce44 2024-11-03 17:57:45 +00:00
Renovate e37c082d0b chore(deps): pin golang docker tag to ad5c126 2024-11-03 16:38:51 +00:00
Renovate fb4f0ebe44 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.21.2 2024-10-28 14:58:36 +00:00
Renovate adc0dbed67 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.21.1 2024-10-18 13:56:56 +00:00
Renovate 43ef782b72 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.21.0 2024-10-15 04:57:24 +00:00
Renovate 7c485ad14d chore(deps): update pre-commit hook gitleaks/gitleaks to v8.20.1 2024-10-07 20:05:37 +00:00
Renovate 70e6001c4a chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v5 2024-10-05 20:03:42 +00:00
Ghost User 002ae561cb chore(release): prepare for v0.1.4 2024-10-05 18:54:54 +00:00
argoyle 3c7787a0eb ci: remove old release job 2024-10-05 11:27:11 +02:00
argoyle 521df4ec4c ci: add release flow 2024-10-05 10:52:06 +02:00
Renovate e347883c05 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.20.0 2024-10-03 16:56:58 +00:00
Renovate 078d6fee28 chore(deps): update golang docker tag to v1.23.2 2024-10-02 02:01:33 +00:00
Renovate 79bd756ddd chore(deps): update pre-commit hook gitleaks/gitleaks to v8.19.3 2024-09-26 16:57:12 +00:00
Renovate ae9e79eec5 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.19.2 2024-09-16 16:58:09 +00:00
Renovate cef1c9d166 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.19.1 2024-09-14 10:59:28 +00:00
Renovate 3d4341dbb3 chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.18.0 2024-09-11 10:58:29 +00:00
Renovate 968ee335dd chore(deps): update pre-commit hook golangci/golangci-lint to v1.61.0 2024-09-09 20:00:00 +00:00
Renovate 6b1ada6155 chore(deps): update golang docker tag to v1.23.1 2024-09-06 02:00:59 +00:00
Renovate c4c70ab5f3 chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.17.0 2024-08-28 16:57:40 +00:00
Renovate d68ed4e55b fix(deps): update module github.com/sparetimecoders/goamqp to v0.3.1 2024-08-23 10:59:29 +00:00
Renovate 1e66b292fa chore(deps): update pre-commit hook golangci/golangci-lint to v1.60.3 2024-08-22 23:00:54 +00:00
Renovate 81f19bafd9 chore(deps): update pre-commit hook golangci/golangci-lint to v1.60.2 2024-08-20 23:00:07 +00:00
argoyle b3f4330aa4 chore: update golangci-lint to use full version 2024-08-19 21:32:22 +02:00
Renovate f876c2a964 chore(deps): update golang docker tag to v1.23.0 2024-08-14 07:26:47 +00:00
Renovate 01006d5713 chore(deps): update pre-commit hook golangci/golangci-lint to v1.60.1 2024-08-14 01:59:48 +00:00
Renovate 62ee90cb93 chore(deps): update golang docker tag to v1.22.6 2024-08-07 02:00:19 +00:00
Renovate 54e8bbc9a3 chore(deps): update golang docker tag to v1.22.5 2024-07-03 01:58:50 +00:00
Renovate d8fb015d1f chore(deps): update pre-commit hook gitleaks/gitleaks to v8.18.4 2024-06-14 16:57:15 +00:00
Renovate 3c53f6d19e chore(deps): update pre-commit hook golangci/golangci-lint to v1.59.1 2024-06-09 19:57:20 +00:00
Renovate cce56c2fd4 chore(deps): update golang docker tag to v1.22.4 2024-06-04 22:57:59 +00:00
Renovate 8088b2e9c0 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.18.3 2024-06-01 16:56:25 +00:00
Renovate f1ebe5f920 chore(deps): update pre-commit hook golangci/golangci-lint to v1.59.0 2024-05-26 19:57:33 +00:00
Renovate e474981df4 chore(deps): update pre-commit hook golangci/golangci-lint to v1.58.2 2024-05-19 19:58:14 +00:00
Renovate 3519a15cfd chore(deps): update pre-commit hook golangci/golangci-lint to v1.58.1 2024-05-08 20:00:02 +00:00
Renovate ede05d8335 chore(deps): update golang docker tag to v1.22.3 2024-05-07 19:57:26 +00:00
Renovate 2e151d003f chore(deps): update pre-commit hook golangci/golangci-lint to v1.58.0 2024-05-03 19:57:16 +00:00
Renovate 2347345cc9 chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.16.0 2024-04-23 16:55:40 +00:00
Renovate 7543e07add chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.15.0 2024-04-16 22:56:13 +00:00
Renovate 1823219b05 chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0 2024-04-06 19:56:10 +00:00
Renovate 43b988801b chore(deps): update golang docker tag to v1.22.2 2024-04-03 19:56:26 +00:00
Renovate 1c3e889a6e chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.14.0 2024-04-03 13:54:57 +00:00
Renovate 72d27535f5 chore(deps): update pre-commit hook golangci/golangci-lint to v1.57.2 2024-03-28 20:55:20 +00:00
Renovate 950470c49a chore(deps): update pre-commit hook gitleaks/gitleaks to v8.18.2 2024-03-21 14:55:09 +00:00
argoyle 71d8e85610 chore: add gitleaks to pre-commit setup 2024-03-21 15:15:15 +01:00
Renovate da4ad80ab5 chore(deps): update pre-commit hook golangci/golangci-lint to v1.57.1 2024-03-20 17:55:34 +00:00
Renovate f030c9ec07 chore(deps): update pre-commit hook golangci/golangci-lint to v1.57.0 2024-03-19 23:56:04 +00:00
Renovate d72e3c3422 chore(deps): update golang docker tag to v1.22.1 2024-03-05 20:00:03 +00:00
Renovate afa66d0a6d chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.13.0 2024-03-01 17:55:00 +00:00
Renovate d64fabb1a4 fix(deps): update module github.com/stretchr/testify to v1.9.0 2024-03-01 12:57:55 +00:00
Renovate 529069439c chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.12.0 2024-02-26 21:56:23 +00:00
Renovate cf05e91286 chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v4.5.0 2024-02-26 10:05:36 +00:00
Renovate fd2c013368 chore(deps): update pre-commit hook lietu/go-pre-commit to v0.1.0 2024-02-26 09:56:32 +00:00
Renovate a9123af4ff chore(deps): update pre-commit hook golangci/golangci-lint to v1.56.2 2024-02-26 08:57:02 +00:00
Renovate 8d9920c108 chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.11.0 2024-02-26 07:57:11 +00:00
Renovate 50a4930038 chore(deps): update pre-commit hook devopshq/gitlab-ci-linter to v1.0.6 2024-02-26 06:56:01 +00:00
Renovate 7c2d1e75b2 chore(deps): update node.js to v20 2024-02-23 22:56:15 +00:00
Renovate 9a3a3c9de7 Add renovate.json 2024-02-23 23:00:07 +01:00
argoyle fd862c499b ci: update to Go 1.22.0 2024-02-08 07:43:45 +01:00
argoyle e02b3c92f3 build(deps): bump github.com/sparetimecoders/goamqp from 0.2.1 to 0.3.0
Bumps [github.com/sparetimecoders/goamqp](https://github.com/sparetimecoders/goamqp) from 0.2.1 to 0.3.0.
- [Release notes](https://github.com/sparetimecoders/goamqp/releases)
- [Commits](https://github.com/sparetimecoders/goamqp/compare/v0.2.1...v0.3.0)
2024-01-17 05:19:42 +00:00
argoyle 49af247019 ci: update to Go 1.21.6 2024-01-10 14:36:59 +01:00
argoyle 46e1bd284c fix: prohibit concurrent read/write 2023-12-26 18:21:59 +01:00
argoyle 16e5ad4f23 build(deps): bump github.com/sparetimecoders/goamqp from 0.2.0 to 0.2.1
Bumps [github.com/sparetimecoders/goamqp](https://github.com/sparetimecoders/goamqp) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/sparetimecoders/goamqp/releases)
- [Commits](https://github.com/sparetimecoders/goamqp/compare/v0.2.0...v0.2.1)
2023-12-19 05:19:45 +00:00
argoyle f5c18e4515 ci: update version of Go 2023-12-11 17:31:32 +01:00
argoyle e3c79092c2 ci: update to go 1.21.3 and remove patch level 2023-10-27 14:12:51 +02:00
argoyle 7815c85c92 build(deps): bump github.com/sparetimecoders/goamqp from 0.1.5 to 0.2.0
Bumps [github.com/sparetimecoders/goamqp](https://github.com/sparetimecoders/goamqp) from 0.1.5 to 0.2.0.
- [Release notes](https://github.com/sparetimecoders/goamqp/releases)
- [Commits](https://github.com/sparetimecoders/goamqp/compare/v0.1.5...v0.2.0)
2023-10-05 05:19:27 +00:00
argoyle de664d7a05 chore: use 1.21.1 in go.mod for Dependabot 2023-09-27 21:09:56 +02:00
argoyle 67963fcdc1 ci: update to Go 1.21.1 for vulnerabilities 2023-09-08 07:06:55 +02:00
argoyle d3a504ca68 ci: update to Golang 1.21.0 2023-08-30 20:19:14 +02:00
argoyle 233197999f ci: update pre-commit versions 2023-08-30 18:01:12 +02:00
argoyle 1ea2469c77 ci: update to Go 1.20.7 2023-08-07 08:37:15 +02:00
argoyle 775553c2d5 build(deps): bump github.com/sparetimecoders/goamqp from 0.1.4 to 0.1.5
Bumps [github.com/sparetimecoders/goamqp](https://github.com/sparetimecoders/goamqp) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/sparetimecoders/goamqp/releases)
- [Commits](https://github.com/sparetimecoders/goamqp/compare/v0.1.4...v0.1.5)
2023-07-04 05:19:53 +00:00
argoyle 4203f4474f ci: make releases handle multi-line release notes 2023-06-08 16:16:15 +02:00
argoyle cc7de2e5a1 ci: update Go version 2023-06-08 16:12:38 +02:00
argoyle f14aec80d9 ci: update golangci-lint 2023-06-04 16:45:07 +02:00
argoyle cbd358ba85 build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4)
2023-05-31 05:19:33 +00:00
argoyle df845a7b4b chore: update pre-commit and fix golangci-lint 2023-05-19 10:48:32 +02:00
argoyle d8f6785032 build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3)
2023-05-19 05:19:34 +00:00
argoyle ff779d9456 build(deps): bump github.com/sparetimecoders/goamqp from 0.1.3 to 0.1.4
Bumps [github.com/sparetimecoders/goamqp](https://github.com/sparetimecoders/goamqp) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/sparetimecoders/goamqp/releases)
- [Commits](https://github.com/sparetimecoders/goamqp/compare/v0.1.3...v0.1.4)
2023-05-11 05:19:41 +00:00
argoyle eba7784e59 ci: update Go version and fix gitlabci lint 2023-05-04 08:34:40 +02:00
argoyle d022eb8ebd ci: update to Go 1.20.3 2023-04-06 10:26:35 +02:00
argoyle 9c802b1239 ci: update Go verion for vulnerabilities scan 2023-03-09 22:00:21 +01:00
argoyle 2e3bd451df build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2)
2023-02-26 10:22:34 +00:00
argoyle 0608960a02 ci: update to golang 1.20.1 2023-02-26 11:03:49 +01:00
argoyle bbbfb99dd9 ci: change dependabot rebase strategy 2023-01-29 10:52:30 +01:00
argoyle eef42d4b32 ci: update to Go 1.19.5 2023-01-29 10:52:23 +01:00
argoyle d1a9414390 ci: add release handling 2023-01-29 10:52:12 +01:00
argoyle dee3bb5d60 ci: add local module to pre-commit config 2023-01-13 13:39:34 +01:00
argoyle dcbdef35cf ci: add pre-commit and remove those checks from test step 2022-12-28 20:06:28 +01:00
argoyle 1794fcd2ad build(deps): bump github.com/sparetimecoders/goamqp from 0.1.2 to 0.1.3
Bumps [github.com/sparetimecoders/goamqp](https://github.com/sparetimecoders/goamqp) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/sparetimecoders/goamqp/releases)
- [Commits](https://github.com/sparetimecoders/goamqp/compare/v0.1.2...v0.1.3)
2022-11-15 05:19:17 +00:00
argoyle abfeb751b2 chore: replace deprecated ioutil.ReadAll 2022-11-10 10:54:45 +01:00
argoyle 51f0aaf0ca build(deps): bump github.com/sparetimecoders/goamqp from 0.1.1 to 0.1.2
Bumps [github.com/sparetimecoders/goamqp](https://github.com/sparetimecoders/goamqp) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/sparetimecoders/goamqp/releases)
- [Commits](https://github.com/sparetimecoders/goamqp/compare/v0.1.1...v0.1.2)
2022-10-26 05:19:33 +00:00
argoyle 8604a3568a build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1)
2022-10-24 05:19:21 +00:00
argoyle fee49889cf fix: run builds with Go 1.19.2 to fix vulnerabilities 2022-10-11 17:59:59 +02:00
argoyle 7e70411553 ci: add vulnerability-check 2022-09-13 14:18:20 +02:00
argoyle 610edd6576 chore: switch to moved goamqp 2022-07-20 17:25:13 +02:00
argoyle 2f232e6850 build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0)
2022-06-30 05:19:15 +00:00
argoyle be4409a745 build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.4...v1.7.5)
2022-06-24 05:19:11 +00:00
argoyle 83b513ebf8 build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.4)
2022-06-21 05:19:14 +00:00
argoyle 51e8d43795 build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2)
2022-06-07 05:19:13 +00:00
argoyle e816866e75 build(deps): bump gitlab.com/sparetimecoders/goamqp from 0.4.0 to 0.5.0
Bumps [gitlab.com/sparetimecoders/goamqp](https://gitlab.com/sparetimecoders/goamqp) from 0.4.0 to 0.5.0.
- [Release notes](https://gitlab.com/sparetimecoders/goamqp/tags)
- [Commits](https://gitlab.com/sparetimecoders/goamqp/compare/v0.4.0...v0.5.0)
2022-05-26 05:19:12 +00:00
argoyle ad1bf3cbfa Merge branch 'dependabot-go_modules-github.com-stretchr-testify-1.7.1' into 'main'
build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1

See merge request unboundsoftware/shiny/authz_client!11
2022-03-16 07:29:17 +00:00
argoyle f4e3891f62 build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)
2022-03-16 05:19:33 +00:00
argoyle cf73d6c399 build: add params to codecov 2022-02-20 00:56:58 +01:00
argoyle 74e81114de Merge branch 'dependabot-go_modules-gitlab.com-sparetimecoders-goamqp-0.4.0' into 'main'
chore(deps): bump gitlab.com/sparetimecoders/goamqp from 0.3.2 to 0.4.0

See merge request unboundsoftware/shiny/authz_client!10
2022-02-12 10:27:36 +00:00
argoyle 2299434912 chore(deps): bump gitlab.com/sparetimecoders/goamqp from 0.3.2 to 0.4.0
Bumps [gitlab.com/sparetimecoders/goamqp](https://gitlab.com/sparetimecoders/goamqp) from 0.3.2 to 0.4.0.
- [Release notes](https://gitlab.com/sparetimecoders/goamqp/tags)
- [Commits](https://gitlab.com/sparetimecoders/goamqp/compare/v0.3.2...v0.4.0)
2022-02-12 05:19:39 +00:00
argoyle 3c6ab4bfde Merge branch 'codecov' into 'main'
ci: change to codecov binary instead of bash uploader

See merge request unboundsoftware/shiny/authz_client!9
2021-11-17 05:16:41 +00:00
argoyle a305db2206 ci: change to codecov binary instead of bash uploader 2021-11-17 06:14:49 +01:00
argoyle 6e8b78c6e2 Merge branch 'dependabot' into 'main'
ci: remove dependabot-standalone

See merge request unboundsoftware/shiny/authz_client!8
2021-11-03 17:45:18 +00:00
argoyle 4578694015 ci: remove dependabot-standalone 2021-11-03 18:25:05 +01:00
argoyle dbc4412b9b Merge branch 'fix-pipeline' into 'main'
fix: pipeline

See merge request unboundsoftware/shiny/authz_client!7
2021-10-28 12:56:44 +00:00
argoyle f151464330 fix: pipeline 2021-10-28 14:54:47 +02:00
argoyle bcfa15e4a2 Merge branch 'dependabot-go_modules-github.com-stretchr-testify-1.7.0' into 'main'
chore(deps): bump github.com/stretchr/testify from 1.4.0 to 1.7.0

See merge request unboundsoftware/shiny/authz_client!5
2021-10-26 10:35:08 +00:00
argoyle 41c7e4a3ef chore(deps): bump github.com/stretchr/testify from 1.4.0 to 1.7.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.7.0)
2021-10-26 12:33:10 +02:00
argoyle 5cdd3bd244 Merge branch 'dependabot-go_modules-gitlab.com-sparetimecoders-goamqp-0.3.2' into 'main'
chore(deps): bump gitlab.com/sparetimecoders/goamqp from 0.3.1 to 0.3.2

See merge request unboundsoftware/shiny/authz_client!6
2021-10-26 09:07:55 +00:00
argoyle 398d267ee5 chore(deps): bump gitlab.com/sparetimecoders/goamqp from 0.3.1 to 0.3.2
Bumps [gitlab.com/sparetimecoders/goamqp](https://gitlab.com/sparetimecoders/goamqp) from 0.3.1 to 0.3.2.
- [Release notes](https://gitlab.com/sparetimecoders/goamqp/tags)
- [Commits](https://gitlab.com/sparetimecoders/goamqp/compare/v0.3.1...v0.3.2)
2021-10-26 05:43:34 +00:00
argoyle 26f8e762c7 Merge branch 'dependabot' into 'main'
chore: add dependabot config

See merge request unboundsoftware/shiny/authz_client!4
2021-10-26 05:22:59 +00:00
argoyle e395518de2 chore: add dependabot config 2021-10-26 07:21:08 +02:00
9 changed files with 343 additions and 41 deletions
+23 -19
View File
@@ -1,32 +1,36 @@
include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- project: unboundsoftware/ci-templates
file: Release.gitlab-ci.yml
- project: unboundsoftware/ci-templates
file: Pre-Commit-Go.gitlab-ci.yml
image: golang:1.15
variables:
GOFLAGS: -mod=readonly
image: amd64/golang:1.24.2@sha256:aebb7dfe0e8da97fd4e22f95d2162cc6948f772fa947a00659634ece26cadb5a
stages:
- deps
- test
- deps
- test
deps:
stage: deps
script:
- go mod download
- go mod download
test:
stage: test
dependencies:
- deps
- deps
script:
- go fmt $(go list ./...)
- go vet $(go list ./...)
- CGO_ENABLED=1 go test -mod=readonly -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=$(go list ./... | tr '\n' , | sed 's/,$//') ./...
- go tool cover -html=coverage.txt -o coverage.html
- go tool cover -func=coverage.txt
- bash <(curl -s https://codecov.io/bash)
artifacts:
paths:
- coverage.html
- coverage.txt
- CGO_ENABLED=1 go test -mod=readonly -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=$(go list ./... | tr '\n' , | sed 's/,$//') ./...
- go tool cover -html=coverage.txt -o coverage.html
- go tool cover -func=coverage.txt
- curl -Os https://uploader.codecov.io/latest/linux/codecov
- chmod +x codecov
- ./codecov -t ${CODECOV_TOKEN} -R $CI_PROJECT_DIR -C $CI_COMMIT_SHA -r $CI_PROJECT_PATH
vulnerabilities:
stage: test
image: amd64/golang:1.24.2@sha256:aebb7dfe0e8da97fd4e22f95d2162cc6948f772fa947a00659634ece26cadb5a
script:
- go install golang.org/x/vuln/cmd/govulncheck@latest
- govulncheck ./...
+22
View File
@@ -0,0 +1,22 @@
version: "2"
run:
allow-parallel-runners: true
linters:
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$
+46
View File
@@ -0,0 +1,46 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
args:
- --allow-multiple-documents
- id: check-added-large-files
- repo: https://gitlab.com/devopshq/gitlab-ci-linter
rev: v1.0.6
hooks:
- id: gitlab-ci-linter
args:
- --project
- unboundsoftware/shiny/authz_client
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.22.0
hooks:
- id: commitlint
stages: [ commit-msg ]
additional_dependencies: [ '@commitlint/config-conventional' ]
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.1
hooks:
- id: go-mod-tidy
- id: go-imports
args:
- -local
- gitlab.com/unboundsoftware/shiny/authz_client
- repo: https://github.com/lietu/go-pre-commit
rev: v0.1.0
hooks:
- id: go-test
- id: gofumpt
- repo: https://github.com/golangci/golangci-lint
rev: v2.0.2
hooks:
- id: golangci-lint-full
- repo: https://github.com/gitleaks/gitleaks
rev: v8.24.3
hooks:
- id: gitleaks
+188
View File
@@ -0,0 +1,188 @@
# Changelog
All notable changes to this project will be documented in this file.
## [0.2.0] - 2025-04-11
### 🚀 Features
- Add timeout configuration to golangci-lint
- Add setup method for privilege event consumers
### 🐛 Bug Fixes
- *(deps)* Update module github.com/stretchr/testify to v1.10.0
- *(ci)* Update go image to amd64 architecture version
- *(deps)* Update module github.com/sparetimecoders/goamqp to v0.3.2
### 🚜 Refactor
- *(ci)* Remove pre-commit job and add new template
## [0.1.4] - 2024-10-05
### 🐛 Bug Fixes
- *(deps)* Update module github.com/stretchr/testify to v1.9.0
- *(deps)* Update module github.com/sparetimecoders/goamqp to v0.3.1
### 💼 Other
- *(deps)* Bump github.com/sparetimecoders/goamqp from 0.2.1 to 0.3.0
### ⚙️ Miscellaneous Tasks
- Update to Go 1.21.6
- Update to Go 1.22.0
- Add gitleaks to pre-commit setup
- Update golangci-lint to use full version
- Add release flow
- Remove old release job
## [0.1.3] - 2023-12-26
### 🐛 Bug Fixes
- Prohibit concurrent read/write
### 💼 Other
- *(deps)* Bump github.com/sparetimecoders/goamqp from 0.1.4 to 0.1.5
- *(deps)* Bump github.com/sparetimecoders/goamqp from 0.1.5 to 0.2.0
- *(deps)* Bump github.com/sparetimecoders/goamqp from 0.2.0 to 0.2.1
### ⚙️ Miscellaneous Tasks
- Update Go version
- Make releases handle multi-line release notes
- Update to Go 1.20.7
- Update pre-commit versions
- Update to Golang 1.21.0
- Update to Go 1.21.1 for vulnerabilities
- Use 1.21.1 in go.mod for Dependabot
- Update to go 1.21.3 and remove patch level
- Update version of Go
## [0.1.2] - 2023-06-04
### 💼 Other
- *(deps)* Bump github.com/stretchr/testify from 1.8.2 to 1.8.3
- *(deps)* Bump github.com/stretchr/testify from 1.8.3 to 1.8.4
### ⚙️ Miscellaneous Tasks
- Update pre-commit and fix golangci-lint
- Update golangci-lint
## [0.1.1] - 2023-05-11
### 🐛 Bug Fixes
- Run builds with Go 1.19.2 to fix vulnerabilities
### 💼 Other
- *(deps)* Bump github.com/stretchr/testify from 1.8.0 to 1.8.1
- *(deps)* Bump github.com/sparetimecoders/goamqp from 0.1.1 to 0.1.2
- *(deps)* Bump github.com/sparetimecoders/goamqp from 0.1.2 to 0.1.3
- *(deps)* Bump github.com/stretchr/testify from 1.8.1 to 1.8.2
- *(deps)* Bump github.com/sparetimecoders/goamqp from 0.1.3 to 0.1.4
### ⚙️ Miscellaneous Tasks
- Add vulnerability-check
- Replace deprecated ioutil.ReadAll
- Add pre-commit and remove those checks from test step
- Add local module to pre-commit config
- Add release handling
- Update to Go 1.19.5
- Change dependabot rebase strategy
- Update to golang 1.20.1
- Update Go verion for vulnerabilities scan
- Update to Go 1.20.3
- Update Go version and fix gitlabci lint
## [0.1.0] - 2022-07-20
### 🐛 Bug Fixes
- Pipeline
### 💼 Other
- Add params to codecov
- *(deps)* Bump github.com/stretchr/testify from 1.7.0 to 1.7.1
- *(deps)* Bump gitlab.com/sparetimecoders/goamqp from 0.4.0 to 0.5.0
- *(deps)* Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
- *(deps)* Bump github.com/stretchr/testify from 1.7.2 to 1.7.4
- *(deps)* Bump github.com/stretchr/testify from 1.7.4 to 1.7.5
- *(deps)* Bump github.com/stretchr/testify from 1.7.5 to 1.8.0
### ⚙️ Miscellaneous Tasks
- Add dependabot config
- Remove dependabot-standalone
- Change to codecov binary instead of bash uploader
- Switch to moved goamqp
## [0.0.8] - 2021-05-15
### ⚙️ Miscellaneous Tasks
- Add codecov upload
- Simplify pipeline
- Change coverage badge to codecov.io
- Add CI workflows
- Rename master -> main
- Group imports
- Update to latest version of goamqp
## [0.0.7] - 2020-04-12
### 🐛 Bug Fixes
- Update to Go 1.14 to fix test errors
- Use go mod download
- Sort companies before comparing since map-iteration is not stable
## [0.0.6] - 2020-04-12
### 🐛 Bug Fixes
- Path to repo
### ⚙️ Miscellaneous Tasks
- Add tests
- Modify event structure
## [0.0.5] - 2019-12-31
### 🚀 Features
- Add handling of removed privilege
## [0.0.4] - 2019-12-08
### 🚀 Features
- Add name and registration number to event
## [0.0.3] - 2019-11-22
### 🐛 Bug Fixes
- Print unexpected messages
## [0.0.2] - 2019-11-06
### 🚀 Features
- Initial version
### 🐛 Bug Fixes
- Rename module
<!-- generated by git-cliff -->
+29 -3
View File
@@ -3,11 +3,12 @@ package client
import (
"encoding/json"
"fmt"
"io/ioutil"
"io"
"net/http"
"reflect"
"sync"
"gitlab.com/sparetimecoders/goamqp"
"github.com/sparetimecoders/goamqp"
)
// CompanyPrivileges contains the privileges for a combination of email address and company id
@@ -23,6 +24,7 @@ type CompanyPrivileges struct {
// PrivilegeHandler processes PrivilegeAdded-events and fetches the initial set of privileges from an authz-service
type PrivilegeHandler struct {
*sync.RWMutex
client *http.Client
baseURL string
privileges map[string]map[string]*CompanyPrivileges
@@ -41,6 +43,7 @@ func WithBaseURL(url string) OptsFunc {
// New creates a new PrivilegeHandler. Pass OptsFuncs to configure.
func New(opts ...OptsFunc) *PrivilegeHandler {
handler := &PrivilegeHandler{
RWMutex: &sync.RWMutex{},
client: &http.Client{},
baseURL: "http://authz-service",
privileges: map[string]map[string]*CompanyPrivileges{},
@@ -58,11 +61,13 @@ func (h *PrivilegeHandler) Fetch() error {
return err
}
buff, err := ioutil.ReadAll(resp.Body)
buff, err := io.ReadAll(resp.Body)
if err != nil {
return err
}
h.RLock()
defer h.RUnlock()
err = json.Unmarshal(buff, &h.privileges)
if err != nil {
return err
@@ -70,6 +75,15 @@ func (h *PrivilegeHandler) Fetch() error {
return nil
}
func (h *PrivilegeHandler) Setup() []goamqp.Setup {
return []goamqp.Setup{
goamqp.TransientEventStreamConsumer("User.Added", h.Process, UserAdded{}),
goamqp.TransientEventStreamConsumer("User.Removed", h.Process, UserRemoved{}),
goamqp.TransientEventStreamConsumer("Privilege.Added", h.Process, PrivilegeAdded{}),
goamqp.TransientEventStreamConsumer("Privilege.Removed", h.Process, PrivilegeRemoved{}),
}
}
// Process privilege-related events and update the internal state
func (h *PrivilegeHandler) Process(msg interface{}, _ goamqp.Headers) (interface{}, error) {
switch ev := msg.(type) {
@@ -77,6 +91,8 @@ func (h *PrivilegeHandler) Process(msg interface{}, _ goamqp.Headers) (interface
if priv, exists := h.privileges[ev.Email]; exists {
priv[ev.CompanyID] = &CompanyPrivileges{}
} else {
h.Lock()
defer h.Unlock()
h.privileges[ev.Email] = map[string]*CompanyPrivileges{
ev.CompanyID: {},
}
@@ -84,13 +100,19 @@ func (h *PrivilegeHandler) Process(msg interface{}, _ goamqp.Headers) (interface
return nil, nil
case *UserRemoved:
if priv, exists := h.privileges[ev.Email]; exists {
h.Lock()
defer h.Unlock()
delete(priv, ev.CompanyID)
}
return nil, nil
case *PrivilegeAdded:
h.Lock()
defer h.Unlock()
h.setPrivileges(ev.Email, ev.CompanyID, ev.Privilege, true)
return nil, nil
case *PrivilegeRemoved:
h.Lock()
defer h.Unlock()
h.setPrivileges(ev.Email, ev.CompanyID, ev.Privilege, false)
return nil, nil
default:
@@ -130,6 +152,8 @@ func (h *PrivilegeHandler) setPrivileges(email, companyId string, privilege Priv
// CompaniesByUser return a slice of company ids matching the provided email and predicate func
func (h *PrivilegeHandler) CompaniesByUser(email string, predicate func(privileges CompanyPrivileges) bool) []string {
h.RLock()
defer h.RUnlock()
var result []string
if p, exists := h.privileges[email]; exists {
for k, v := range p {
@@ -143,6 +167,8 @@ func (h *PrivilegeHandler) CompaniesByUser(email string, predicate func(privileg
// IsAllowed return true if the provided predicate return true for the privileges matching the provided email and companyID, return false otherwise
func (h *PrivilegeHandler) IsAllowed(email, companyID string, predicate func(privileges CompanyPrivileges) bool) bool {
h.RLock()
defer h.RUnlock()
if p, exists := h.privileges[email]; exists {
if v, exists := p[companyID]; exists {
return predicate(*v)
+1 -1
View File
@@ -7,8 +7,8 @@ import (
"sort"
"testing"
"github.com/sparetimecoders/goamqp"
"github.com/stretchr/testify/assert"
"gitlab.com/sparetimecoders/goamqp"
)
func TestPrivilegeHandler_Process_InvalidType(t *testing.T) {
+14 -3
View File
@@ -1,8 +1,19 @@
module gitlab.com/unboundsoftware/shiny/authz_client
go 1.13
go 1.22.12
toolchain go1.24.2
require (
github.com/stretchr/testify v1.4.0
gitlab.com/sparetimecoders/goamqp v0.3.1
github.com/sparetimecoders/goamqp v0.3.2
github.com/stretchr/testify v1.10.0
)
require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rabbitmq/amqp091-go v1.10.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
+14 -15
View File
@@ -1,21 +1,20 @@
github.com/caarlos0/env v3.5.0+incompatible/go.mod h1:tdCsowwCzMLdkqRYDlHpZCp2UooDD3MspDBjZ2AD02Y=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
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/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271 h1:WhxRHzgeVGETMlmVfqhRn8RIeeNoPr2Czh33I4Zdccw=
github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
gitlab.com/sparetimecoders/goamqp v0.3.1 h1:Pf5nANlKzCP6h5MVrKgfKknf3Vkz3psGh97Mh8Coxqs=
gitlab.com/sparetimecoders/goamqp v0.3.1/go.mod h1:Xci7oyW/j9kJXr0QRgLRGv8e0R91ZSksPhYCei5FK5U=
github.com/rabbitmq/amqp091-go v1.10.0 h1:STpn5XsHlHGcecLmMFCtg7mqq0RnD+zFr4uzukfVhBw=
github.com/rabbitmq/amqp091-go v1.10.0/go.mod h1:Hy4jKW5kQART1u+JkDTF9YYOQUHXqMuhrgxOEeS7G4o=
github.com/sparetimecoders/goamqp v0.3.2 h1:XdlyUBAJS5RcURw+SnnPjPJJuofddZwQsjAf05VPXvI=
github.com/sparetimecoders/goamqp v0.3.2/go.mod h1:W9NRCpWLE+Vruv2dcRSbszNil2O826d2Nv6kAkETW5o=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+6
View File
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}