Skip to content

Commit

Permalink
Add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
colecu committed Feb 9, 2024
1 parent 62a1cfb commit b2222a0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,15 @@ public HttpResponse validateUMMG(String provider, String granuleId, String strU
throws URISyntaxException, IOException, ParseException {
try {

AdapterLogger.LogInfo(this.className + " strUMMG is: "+ strUMMG);
URIBuilder uriBuilder = new URIBuilder(this.echoHost);
String validateUMMGUri = uriBuilder.setPath(uriBuilder.getPath() + "/ingest/providers/"
+ provider +"/validate/granule/" + granuleId)
.build().normalize().toString();
AdapterLogger.LogInfo(this.className + " validateUMMGUri is: "+ validateUMMGUri);
HttpEntity httpEntity = new StringEntity(strUMMG, "utf-8");
HttpResponse httpResponse = send(validateUMMGUri, httpEntity);
AdapterLogger.LogInfo(this.className + " httpResponse is: "+ httpResponse);
return httpResponse;
} catch (URISyntaxException | IOException | ParseException e) {
throw e;
Expand Down

0 comments on commit b2222a0

Please sign in to comment.