diff --git a/VERIFICATION.txt b/chocolatey/tools/VERIFICATION.txt similarity index 100% rename from VERIFICATION.txt rename to chocolatey/tools/VERIFICATION.txt diff --git a/chocolatey/tools/chocolateyinstall.ps1 b/chocolatey/tools/chocolateyinstall.ps1 index 5565cc71..87c1c327 100644 --- a/chocolatey/tools/chocolateyinstall.ps1 +++ b/chocolatey/tools/chocolateyinstall.ps1 @@ -1,4 +1,4 @@ -$version = 'v1.43.0' +$version = 'v1.44.0' $ErrorActionPreference = 'Stop'; diff --git a/components/audit/.env.example b/components/audit/.env.example index 0ee8eb87..e487209f 100644 --- a/components/audit/.env.example +++ b/components/audit/.env.example @@ -2,7 +2,7 @@ # ENV_NAME=production # APP -VERSION=v1.43.0 +VERSION=v1.44.0 SERVER_PORT=3005 SERVER_ADDRESS=:${SERVER_PORT} diff --git a/components/auth/docker-compose.yml b/components/auth/docker-compose.yml index 51b4004d..6ab96a5c 100644 --- a/components/auth/docker-compose.yml +++ b/components/auth/docker-compose.yml @@ -1,7 +1,7 @@ services: midaz-casdoor: container_name: midaz-casdoor - image: casbin/casdoor:latest + image: casbin/casdoor:v1.787.0 restart: always env_file: - .env @@ -42,4 +42,4 @@ services: networks: auth_network: name: auth_network - driver: bridge \ No newline at end of file + driver: bridge diff --git a/components/ledger/.env.example b/components/ledger/.env.example index c5bf43ab..3149fb88 100644 --- a/components/ledger/.env.example +++ b/components/ledger/.env.example @@ -4,7 +4,7 @@ # ENV_NAME=production # APP -VERSION=v1.43.0 +VERSION=v1.44.0 SERVER_PORT=3000 SERVER_ADDRESS=:${SERVER_PORT} diff --git a/components/mdz/.env.example b/components/mdz/.env.example index 5c64b100..5da79e4e 100644 --- a/components/mdz/.env.example +++ b/components/mdz/.env.example @@ -2,4 +2,4 @@ CLIENT_ID=9670e0ca55a29a466d31 CLIENT_SECRET=dd03f916cacf4a98c6a413d9c38ba102dce436a9 URL_API_AUTH=http://127.0.0.1:8080 URL_API_LEDGER=http://127.0.0.1:3000 -VERSION=v1.43.0 +VERSION=v1.44.0 diff --git a/components/transaction/.env.example b/components/transaction/.env.example index 224b6160..ce0b4635 100644 --- a/components/transaction/.env.example +++ b/components/transaction/.env.example @@ -4,7 +4,7 @@ # ENV_NAME=production # APP -VERSION=v1.43.0 +VERSION=v1.44.0 APP_CONTEXT=/transaction/v1 SERVER_PORT=3002 SERVER_ADDRESS=:${SERVER_PORT} diff --git a/pkg/net/http/withTelemetry.go b/pkg/net/http/withTelemetry.go index f121c46c..2ebf23e2 100644 --- a/pkg/net/http/withTelemetry.go +++ b/pkg/net/http/withTelemetry.go @@ -55,10 +55,15 @@ func (tm *TelemetryMiddleware) WithTelemetry(tl *mopentelemetry.Telemetry) fiber // EndTracingSpans is a middleware that ends the tracing spans. func (tm *TelemetryMiddleware) EndTracingSpans(c *fiber.Ctx) error { + ctx := c.UserContext() + if ctx == nil { + return nil + } + err := c.Next() go func() { - trace.SpanFromContext(c.UserContext()).End() + trace.SpanFromContext(ctx).End() }() return err