Skip to content

Commit fc0f0f7

Browse files
committed
update validatePatches to take optional opatch lsinventory file contents
Former-commit-id: 7e889fe400d3be8cbcdd99eb031e3d3b40ec6d7e
1 parent e8060b6 commit fc0f0f7

File tree

1 file changed

+1
-4
lines changed
  • src/main/java/com/oracle/weblogicx/imagebuilder/builder/util

1 file changed

+1
-4
lines changed

src/main/java/com/oracle/weblogicx/imagebuilder/builder/util/ARUUtil.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,10 @@ public static ValidationResult validatePatches(String lsInventoryPath, List<Stri
191191
String inventoryContent = new String(Files.readAllBytes(Paths.get(lsInventoryPath)));
192192
String upiPayload = "<inventory_upi_request><lsinventory_output>" + inventoryContent +
193193
"</lsinventory_output></inventory_upi_request>";
194-
195-
// System.out.println(upiPayload);
194+
196195
Document upiResult = HttpUtil.postCheckConflictRequest(GET_LSINVENTORY_URL, upiPayload, userId,
197196
password);
198197

199-
XPathUtil.prettyPrint(upiResult);
200-
201198
try {
202199
NodeList upi_list = XPathUtil.applyXPathReturnNodeList(upiResult,
203200
"/inventory_upi_response/upi");

0 commit comments

Comments
 (0)