in aws-xray-recorder-sdk-aws-sdk-v2/src/main/java/com/amazonaws/xray/interceptors/TracingInterceptor.java [102:127]
private void initInterceptorManifest(URL parameterWhitelist) {
if (parameterWhitelist != null) {
try {
awsServiceHandlerManifest = MAPPER.readValue(parameterWhitelist, AWSServiceHandlerManifest.class);
return;
} catch (IOException e) {
logger.error(
"Unable to parse operation parameter whitelist at " + parameterWhitelist.getPath()
+ ". Falling back to default operation parameter whitelist at "
+ TracingInterceptor.DEFAULT_OPERATION_PARAMETER_WHITELIST.getPath() + ".",
e
);
}
}
try {
awsServiceHandlerManifest = MAPPER.readValue(
TracingInterceptor.DEFAULT_OPERATION_PARAMETER_WHITELIST, AWSServiceHandlerManifest.class);
} catch (IOException e) {
logger.error(
"Unable to parse default operation parameter whitelist at "
+ TracingInterceptor.DEFAULT_OPERATION_PARAMETER_WHITELIST.getPath()
+ ". This will affect this handler's ability to capture AWS operation parameter information.",
e
);
}
}