From 3af97d9cbf254513dc3c1f730ffea2a4eecdd01a Mon Sep 17 00:00:00 2001 From: Niamh25 <115650292+Niamh25@users.noreply.github.com> Date: Tue, 6 Dec 2022 15:57:55 +0000 Subject: [PATCH] Update CsdeRpcInterface.java --- buildSrc/src/main/java/com/r3/csde/CsdeRpcInterface.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/java/com/r3/csde/CsdeRpcInterface.java b/buildSrc/src/main/java/com/r3/csde/CsdeRpcInterface.java index 89d2891..39cdc5b 100644 --- a/buildSrc/src/main/java/com/r3/csde/CsdeRpcInterface.java +++ b/buildSrc/src/main/java/com/r3/csde/CsdeRpcInterface.java @@ -204,7 +204,7 @@ public class CsdeRpcInterface { kong.unirest.JsonNode body = response.getBody(); // Do not retry if successful. if(status == 200) { - // Retry until you get an "OK"; it may move to "Validating upload", "Persisting CPI". + // Retry until you get an "OK"; we may see several other responses before the "OK" response. return !(body.getObject().get("status").equals("OK")); } else if (status == 400){ @@ -299,7 +299,7 @@ public class CsdeRpcInterface { LinkedList x500Ids = getConfigX500Ids(); LinkedList OKHoldingShortIds = new LinkedList<>(); - // Check that each identity already exists. + // Create a list of X500 IDs we will not need to create VNodes for. Set existingX500 = new HashSet<>(); kong.unirest.HttpResponse vnodeListResponse = getVNodeInfo();