Previously, some constants are copied directly from .NET provider, thus have UpperCamelCase, which looks like a type/class.
This PR renames constants with UPPER_SNAKE_CASE for convention and consistency. The changes include:
constants renaming.
~extract common code into getConfigurationSettingWithTrace and listConfigurationSettingsWithTrace in the tracing utils, instead of exposing constant CORRELATION_CONTEXT_HEADER_NAME and the helper method createCorrelationContextHeader (where you have to construct the correlation header by your own when calling it).~ leave it to a separate PR for clarity
Previously, some constants are copied directly from .NET provider, thus have UpperCamelCase, which looks like a type/class. This PR renames constants with UPPER_SNAKE_CASE for convention and consistency. The changes include:
getConfigurationSettingWithTrace
andlistConfigurationSettingsWithTrace
in the tracing utils, instead of exposing constantCORRELATION_CONTEXT_HEADER_NAME
and the helper methodcreateCorrelationContextHeader
(where you have to construct the correlation header by your own when calling it).~ leave it to a separate PR for clarity