[DS-3952] New request mapping for 32-hex-digit item request tokens, so

requests are dispatchable.

Also remove some voluminous debugging output.
This commit is contained in:
Mark H. Wood
2021-09-23 13:42:36 -04:00
parent c484bec18f
commit 2b61176255
3 changed files with 45 additions and 5 deletions

View File

@@ -79,11 +79,10 @@ public class RequestItemBuilder
public RequestItem build() {
LOG.atDebug()
.withLocation()
.log("Building request with item ID {}",
() -> requestItem.getItem().getID().toString());
System.out.format("Building request with item ID %s%n",
requestItem.getItem().getID().toString());
new Throwable().printStackTrace(System.out);
.log("Building request with item ID {} and bitstream ID {}",
() -> requestItem.getItem().getID().toString(),
() -> requestItem.getBitstream().getID().toString());
// Nothing to build.
return requestItem;
}