-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
relpool change + RelationId refectoring (#62)
* convert azm to use RelationIdentifier * update go-directory & grpc deps * Fix: Checker.checkRelation wasn't setting the subject ID As a result it was getting way more relations back. * update deps * Toggle between shared or per-call memory pool. * Replace Cache RWMutex with an atomic pointer. * Initialize SlicePool with given capacity * upd [email protected] --------- Co-authored-by: Ronen Hilewicz <[email protected]>
- Loading branch information
Showing
13 changed files
with
104 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
module github.com/aserto-dev/azm | ||
|
||
go 1.22.9 | ||
go 1.22.10 | ||
|
||
toolchain go1.23.3 | ||
toolchain go1.23.4 | ||
|
||
replace github.com/aserto-dev/go-directory => ../go-directory | ||
// replace github.com/aserto-dev/go-directory => ../go-directory | ||
|
||
require ( | ||
github.com/antlr4-go/antlr/v4 v4.13.1 | ||
github.com/aserto-dev/errors v0.0.11 | ||
github.com/aserto-dev/go-directory v0.33.2-0.20241209182914-962e2284a774 | ||
github.com/deckarep/golang-set/v2 v2.6.0 | ||
github.com/aserto-dev/go-directory v0.33.2 | ||
github.com/deckarep/golang-set/v2 v2.7.0 | ||
github.com/hashicorp/go-multierror v1.1.1 | ||
github.com/mitchellh/hashstructure/v2 v2.0.2 | ||
github.com/nsf/jsondiff v0.0.0-20230430225905-43f6cf3098c1 | ||
github.com/pkg/errors v0.9.1 | ||
github.com/rs/zerolog v1.33.0 | ||
github.com/samber/lo v1.47.0 | ||
github.com/stretchr/testify v1.10.0 | ||
google.golang.org/grpc v1.68.0 | ||
google.golang.org/grpc v1.68.1 | ||
google.golang.org/protobuf v1.35.2 | ||
gopkg.in/yaml.v3 v3.0.1 | ||
) | ||
|
||
require ( | ||
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.2-20240920164238-5a7b106cbb87.1 // indirect | ||
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.2-20241127180247-a33202765966.1 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect | ||
golang.org/x/net v0.31.0 // indirect | ||
golang.org/x/sys v0.27.0 // indirect | ||
golang.org/x/text v0.20.0 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241118233622-e639e219e697 // indirect | ||
golang.org/x/exp v0.0.0-20241210194714-1829a127f884 // indirect | ||
golang.org/x/net v0.32.0 // indirect | ||
golang.org/x/sys v0.28.0 // indirect | ||
golang.org/x/text v0.21.0 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.