openfga @ v0.1.5
integrity
- size
- 355.0 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/openfga/openfga
release notes
Added
-
Support for defining server configuration in
config.yaml, CLI flags, or env variables (#63 #92 #100)v0.1.5introduces multiple ways to support a variety of server configuration strategies. You can configure the server with CLI flags, env variables, or aconfig.yamlfile.Server config will be loaded in the following order of precedence:
- CLI flags (e.g.
--datastore-engine) - env variables (e.g.
OPENFGA_DATASTORE_ENGINE) config.yaml
If a
config.yamlfile is provided, the OpenFGA server will look for it in"/etc/openfga","$HOME/.openfga", or"."(the current working directory), in that order. - CLI flags (e.g.
-
Support for grpc health checks (#86)
v0.1.5introduces support for the GRPC Health Checking Protocol. The server's health can be checked with the grpc or HTTP health check endpoints (the/healthzendpoint is just a proxy to the grpc health check RPC).For example,
grpcurl -plaintext \ -d '{"service":"openfga.v1.OpenFGAService"}' \ localhost:8081 grpc.health.v1.Health/Checkor, if the HTTP server is enabled, with the
/healthzendpoint:curl --request GET -d '{"service":"openfga.v1.OpenFGAService"}' http://localhost:8080/healthz -
Profiling support (pprof) (#111)
You can now profile the OpenFGA server while it's running using the pprof profiler. To enable the pprof profiler set
profiler.enabled=true. It is served on the/debug/pprofendpoint and port3001by default. -
Configuration to enable/disable the HTTP server (#84)
You can now enable/disable the HTTP server by setting
http.enabled=true/false. It is enabled by default.
Changed
-
Env variables have a new mappings.
Please refer to the
.config-schema.jsonfile for a description of the new configurations oropenfga run -hfor the CLI flags. Env variables are mapped by prefixingOPENFGAand converting dot notation into underscores (e.g.datastore.uribecomesOPENFGA_DATASTORE_URI).
Fixed
- goroutine leaks in Check resolution. (#113)
download
curl -fL -o v0.1.5.zip https://ratatoskr.space/pkg/openfga/v0.1.5.zip
printf '%s %s\n' '48ebd2dd3e3671a54365f8d06b8637ce7863d72863c31b1512c22e5d79dbadac' 'v0.1.5.zip' | sha256sum -c -
$url = "https://ratatoskr.space/pkg/openfga/v0.1.5.zip"
$out = "v0.1.5.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "48ebd2dd3e3671a54365f8d06b8637ce7863d72863c31b1512c22e5d79dbadac") { throw "sha256 mismatch" }
curl -fL -o v0.1.5.tar.gz https://ratatoskr.space/pkg/openfga/v0.1.5.tar.gz
printf '%s %s\n' '9060d5f5a8307912f1371f66355448215de7d6d5d6219517a9facfa84db6ded0' 'v0.1.5.tar.gz' | sha256sum -c -
$url = "https://ratatoskr.space/pkg/openfga/v0.1.5.tar.gz"
$out = "v0.1.5.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "9060d5f5a8307912f1371f66355448215de7d6d5d6219517a9facfa84db6ded0") { throw "sha256 mismatch" }
download via yggdrasil mesh
curl -fL -o v0.1.5.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v0.1.5.zip
printf '%s %s\n' '48ebd2dd3e3671a54365f8d06b8637ce7863d72863c31b1512c22e5d79dbadac' 'v0.1.5.zip' | sha256sum -c -
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v0.1.5.zip"
$out = "v0.1.5.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "48ebd2dd3e3671a54365f8d06b8637ce7863d72863c31b1512c22e5d79dbadac") { throw "sha256 mismatch" }
curl -fL -o v0.1.5.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v0.1.5.tar.gz
printf '%s %s\n' '9060d5f5a8307912f1371f66355448215de7d6d5d6219517a9facfa84db6ded0' 'v0.1.5.tar.gz' | sha256sum -c -
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v0.1.5.tar.gz"
$out = "v0.1.5.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "9060d5f5a8307912f1371f66355448215de7d6d5d6219517a9facfa84db6ded0") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v0.1.5.zip | zip | 354.2 KiB |
blake3-24 02d6807b0475b07a6388e94c9a6ccf0d981cc5b4acafcc10
sha256 48ebd2dd3e3671a54365f8d06b8637ce7863d72863c31b1512c22e5d79dbadac
sha1 23d9213ab4e9ba6bd0252ca65d6ed5d03f4748aa
|
| v0.1.5.tar.gz | tar.gz | 291.7 KiB |
blake3-24 4203a589ce75145a6177c325f91cb88fbc4f656ce45cc8d8
sha256 9060d5f5a8307912f1371f66355448215de7d6d5d6219517a9facfa84db6ded0
sha1 987f891e8d568e60deb26a0793ba8050d427cc00
|
go module archive
module zip with the module path rewritten to this mirror; fetched by go get through the
GOPROXY route
| artifact | format | size | hashes |
|---|---|---|---|
| v0.1.5.zip | zip | 305.8 KiB |
blake3-24 2a01752170cbcc9a7451ea90c0f8ad6f98938dc578af1b37
sha256 a96a12ed6b3580e53ffb033ef23b15e2454f058d7655fcf52c8afc508eabfd5e
sha1 8c0119a84a06ec8ea42ff4bcd5a3175fbdc33d3e
|
install
http_archive(
name = "openfga",
urls = ["https://ratatoskr.space/pkg/openfga/v0.1.5.tar.gz"],
integrity = "sha256-kGDV9agweRLxNx9mNVRIIV3n1tXWIZUXqfrPqE223tA=",
strip_prefix = "openfga-v0.1.5",
)
.url = "https://ratatoskr.space/pkg/openfga/v0.1.5.tar.gz",
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/openfga@v0.1.5
install via yggdrasil mesh
http_archive(
name = "openfga",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v0.1.5.tar.gz"],
integrity = "sha256-kGDV9agweRLxNx9mNVRIIV3n1tXWIZUXqfrPqE223tA=",
strip_prefix = "openfga-v0.1.5",
)
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v0.1.5.tar.gz",
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga@v0.1.5