From bf10ce1cd7435ec75d54390381ad29c9e34b4938 Mon Sep 17 00:00:00 2001 From: Yeray Borges Date: Wed, 18 Oct 2023 15:21:44 +0100 Subject: [PATCH] [WFCORE-6567] Upgrade Installation Manager API to 1.0.2.Final Jira issue: https://issues.redhat.com/browse/WFCORE-6567 --- pom.xml | 2 +- .../test/installationmanager/TestInstallationManager.java | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b55e022b202..e43880f185d 100644 --- a/pom.xml +++ b/pom.xml @@ -237,7 +237,7 @@ 1.0.1.Final 1.6.0.Final 1.2.1.Final - 1.0.1.Final + 1.0.2.Final 8.0.1.Final 2.2.5.Final 2.2.2.Final diff --git a/testsuite/shared/src/main/java/org/wildfly/test/installationmanager/TestInstallationManager.java b/testsuite/shared/src/main/java/org/wildfly/test/installationmanager/TestInstallationManager.java index f5f4b03967f..70b3126cdc3 100644 --- a/testsuite/shared/src/main/java/org/wildfly/test/installationmanager/TestInstallationManager.java +++ b/testsuite/shared/src/main/java/org/wildfly/test/installationmanager/TestInstallationManager.java @@ -26,6 +26,7 @@ import org.wildfly.installationmanager.ChannelChange; import org.wildfly.installationmanager.HistoryResult; import org.wildfly.installationmanager.InstallationChanges; +import org.wildfly.installationmanager.ManifestVersion; import org.wildfly.installationmanager.MavenOptions; import org.wildfly.installationmanager.OperationNotAvailableException; import org.wildfly.installationmanager.Repository; @@ -250,6 +251,11 @@ public String generateApplyRevertCommand(Path scriptHome, Path candidatePath, Os return scriptHome + APPLY_REVERT_BASE_GENERATED_COMMAND + candidatePath.toString(); } + @Override + public Collection getInstalledVersions() throws Exception { + throw new UnsupportedOperationException("Not implemented"); + } + public static void zipDir(Path inputFile, Path target) throws IOException { try (FileOutputStream fos = new FileOutputStream(target.toFile()); ZipOutputStream zos = new ZipOutputStream(fos)) { ZipEntry entry = new ZipEntry(inputFile.getFileName().toString());