From 87cd5db48af6d4449cf086245d3bd5da1b7d1e71 Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 28 Mar 2025 10:40:54 -0600 Subject: feat: initial commit for authzd --- magefile.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'magefile.go') diff --git a/magefile.go b/magefile.go index eaedbc6a..27cab5e3 100644 --- a/magefile.go +++ b/magefile.go @@ -55,6 +55,14 @@ func Api() error { return sh.RunWithV(env, "ruby", "./bin/api") } +// Run the Authzd Service +func Authzd() error { + env := map[string]string{ + "BIND_ADDR": ":50051", + } + return sh.RunWithV(env, "go", "run", "./cmd/authzd/main.go") +} + // Generate gRPC from protocal buffers func Protos() error { outDir := "lib/authx/rpc" @@ -75,7 +83,7 @@ func Protos() error { // Run All the servers func Servers(ctx context.Context) { - mg.CtxDeps(ctx, Idp, UI, Api, Gateway) + mg.CtxDeps(ctx, Idp, UI, Api, Authzd, Gateway) } // Run the end to end tests -- cgit v1.2.3