Skip to content

Commit

Permalink
Add debug statement in 'findDataPids' method in MDQEngine
Browse files Browse the repository at this point in the history
  • Loading branch information
doulikecookiedough committed Oct 25, 2024
1 parent 05a9eac commit 6df7a5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/edu/ucsb/nceas/mdqengine/MDQEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ public ArrayList<String> findDataPids(NodeReference nodeId, String identifier) t
String nodeEndpoint = D1Client.getMN(nodeId).getNodeBaseServiceUrl();
String encodedId = URLEncoder.encode(identifier, "UTF-8");
String queryUrl = nodeEndpoint + "/query/solr/?q=isDocumentedBy:" + "\"" + encodedId + "\"" + "&fl=id";
log.debug("queryURL: " + queryUrl);

URL url = new URL(queryUrl);
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
Expand Down

0 comments on commit 6df7a5d

Please sign in to comment.