1
0
mirror of https://github.com/google/nomulus synced 2026-01-03 11:45:39 +00:00
Files
nomulus/config/dependency-license
Weimin Yu ca072b4861 Add log traces to Nomulus service on GKE (#2427)
* Add log traces to Nomulus service on GKE

Add request-scope log traces to Nomulus on GKE which, unlike
AppEngine and Cloud Run etc, does not generate traces for hosted
applications. This change only affects the GKE image. It does not affect
the AppEngine services.

Log traces are added to Nomulus-generated logs in request-processing
threads. Forked threads are not covered yet. The single relevant use
case (TimeLimiter) will be addressed in a followup PR.

The main change is in the logging configuration:

*  Use gcp-cloud-logging's LoggingHandler

*  Add gcp-cloud-logging's TraceLoggingEnhancer to the handler.

*  Set a thread-local trace id through the TraceLoggingEnhancer in
   ServletBase on request's entry and clear it on completion.

Also removed an unused class (`RequestLogId`).

* CR

* CR
2024-05-07 19:15:46 +00:00
..

Summary

This folder contains configuration files for the gradle-license-report plugin:

  • allowed_licenses.json declares the acceptable licenses. A license may have multiple entries in this file, since the 'moduleLicense' property value must match exactly the phrases found in pom or manifest files.
  • license_normalizer_bundle.json configures normalization rules for license reporting.

Notes About Adding New Licenses

  • The WTFPL license is not allowed.

  • Each 'Public Domain' license entry must include a specific 'moduleName'. Do not omit moduleName or use wildcards.