We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-short
-run TestIntegration
import "github.com/caarlos0/env" type config struct { URL string `env:"OAUTH2_URL" envDefault:"`https://oauth.example.com`"` Client string `env:"OAUTH2_CLIENT"` Secret string `env:"OAUTH2_SECRET"` } func func NewMiddleware() *Middleware { var cfg config err := env.Parse(&cfg) if err != nil { log.Fatalf("Failed to parse postgres environment: %v", err) } return .... }
"lab.jamit.de/pace/go-microservice/maintenance/log"
make testserver
The text was updated successfully, but these errors were encountered:
No branches or pull requests
-short
flag to the current test stage-run TestIntegration
"lab.jamit.de/pace/go-microservice/maintenance/log"
package for loggingAdopt tests(We (@vil and @why-el) elected to do this some other time by implementing a local Prometheus client to be used by the testserver).https://github.com/pace/bricks/blob/master/maintenance/log/handler.go#L28UPDATE: Logging should be done in the router. The oauth2 will inject its own logging hander middleware.Add ClientID and UserID in traces (https://github.com/pace/bricks/blob/master/http/jsonapi/generator/generate_handler.go#L459-461)This will be reverted, see opentracing item below.check that it works in Jaeger using themake testserver
make testserver
The text was updated successfully, but these errors were encountered: