Skip to content

Commit

Permalink
fix: patch bulk during revoke bindings API invocation and refactor to…
Browse files Browse the repository at this point in the history
… use crud client lib (#217)

* feat: use crud client lib

* feat: remove mongoclient

* update: remove unused function and move helpers to internal
  • Loading branch information
davidebianchi authored Jul 5, 2023
1 parent 79fe754 commit 5448ebc
Show file tree
Hide file tree
Showing 16 changed files with 203 additions and 914 deletions.
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ module github.com/rond-authz/rond
go 1.18

require (
github.com/davidebianchi/go-jsonclient v1.5.0
github.com/davidebianchi/gswagger v0.9.0
github.com/getkin/kin-openapi v0.118.0
github.com/google/uuid v1.3.0
github.com/gorilla/mux v1.8.0
github.com/mia-platform/configlib v1.0.0
github.com/mia-platform/glogger/v2 v2.1.3
github.com/mia-platform/go-crud-service-client v0.10.0
github.com/open-policy-agent/opa v0.54.0
github.com/prometheus/client_golang v1.16.0
github.com/prometheus/common v0.44.0
Expand All @@ -27,6 +27,7 @@ require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/davidebianchi/go-jsonclient v1.5.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/go-ini/ini v1.67.0 // indirect
Expand Down
3 changes: 3 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t
github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0 h1:BZHcxBETFHIdVyhyEfOvn/RdU/QGdLI4y34qQGjGWO0=
github.com/h2non/gock v1.2.0 h1:K6ol8rfrRkUOefooBC8elXoaNGYkpp7y2qcxGG6BzUE=
github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542 h1:2VTzZjLZBgl62/EtslCrtky5vbi9dd7HrQPQIx6wqiw=
github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542/go.mod h1:Ow0tF8D4Kplbc8s8sSb3V2oUCygFHVp8gC3Dn6U4MNI=
github.com/hashicorp/consul/api v1.13.0/go.mod h1:ZlVrynguJKcYr54zGaDbaL3fOvKC9m72FhPvA8T35KQ=
Expand Down Expand Up @@ -347,6 +348,8 @@ github.com/mia-platform/configlib v1.0.0 h1:8sh40jZlCxrtGBq87nbjKa4zisgccuXxBrjK
github.com/mia-platform/configlib v1.0.0/go.mod h1:oyELirRsp1AzPaSF7GzcMe/R3Rf7uRvw3FclA9Q4fFQ=
github.com/mia-platform/glogger/v2 v2.1.3 h1:Qt/qHETYaFa+Oso9XZauysnHF9CE5816AQJmMo2Uh0Q=
github.com/mia-platform/glogger/v2 v2.1.3/go.mod h1:dUYhwmsXVcZe5Eg8V4FIcdv5P4pfk9a/8JExTmi8Uig=
github.com/mia-platform/go-crud-service-client v0.10.0 h1:BUFKQVxfdcnI82cXNIU8Zp2mCI9d7JJS4eUrTUHfxHc=
github.com/mia-platform/go-crud-service-client v0.10.0/go.mod h1:Sj3BEGMu0RTdeye/fPBVwRoojOjKuhWl5j+psY3s40s=
github.com/mia-platform/jsonschema v0.1.0 h1:tjQf7TaYROsAqk7SXTL+44TrfKk3bSEvhRGPS51IA5Y=
github.com/mia-platform/jsonschema v0.1.0/go.mod h1:r2DJjPA/+6S+WPnXZt1xONMvO2b4hlhfXfUYV0po/Dk=
github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso=
Expand Down
55 changes: 0 additions & 55 deletions helpers/headers_to_proxy.go

This file was deleted.

137 changes: 0 additions & 137 deletions helpers/headers_to_proxy_test.go

This file was deleted.

122 changes: 0 additions & 122 deletions internal/crudclient/crudclient.go

This file was deleted.

Loading

0 comments on commit 5448ebc

Please sign in to comment.