Commit af6c7c8e authored by harshit aggarwal's avatar harshit aggarwal
Browse files

stray logging changes-1

parent 68c233c2
Pipeline #21832 passed with stages
in 14 minutes and 50 seconds
......@@ -241,6 +241,7 @@ public class WKSServiceImpl implements WKSService {
private void validateInputs(RawRecordDetails[] rawRecordsDetails, String dataPartitionId, String correlationId)
throws BadRequestException {
LOGGER.info("Validating the input Records");
if (ArrayUtils.isEmpty(rawRecordsDetails) || rawRecordsDetails[0] == null
|| StringUtils.isBlank(rawRecordsDetails[0].getId())
|| StringUtils.isBlank(rawRecordsDetails[0].getKind())
......
......@@ -50,6 +50,10 @@ public class RestClient {
*/
public RestResponse processRequest(RequestParameters requestParameters) {
LOGGER.info("Printing rest client parameters");
LOGGER.info(requestParameters.getCorrelationId());
LOGGER.info(requestParameters.getUrl());
HttpHeaders headers = setHeaders(requestParameters.getContent(), requestParameters.getAuthKey(),
requestParameters.getDataPartitionId(), requestParameters.getCorrelationId(),
requestParameters.getOnBehalfOf(), requestParameters.getAppKey());
......@@ -104,6 +108,7 @@ public class RestClient {
if (appKey != null) {
headers.set(Constants.APP_KEY, appKey);
}
LOGGER.info(String.valueOf(headers.get(Constants.CORRELATION_ID)));
return headers;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment