Skip to content

Commit

Permalink
Merge pull request #5730 from yersan/WFCORE-6567
Browse files Browse the repository at this point in the history
[WFCORE-6567] Upgrade Installation Manager API to 1.0.2.Final
  • Loading branch information
yersan authored Oct 19, 2023
2 parents 38cae84 + bf10ce1 commit 9f08498
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
<version.org.wildfly.client.config>1.0.1.Final</version.org.wildfly.client.config>
<version.org.wildfly.common>1.6.0.Final</version.org.wildfly.common>
<version.org.wildfly.discovery>1.2.1.Final</version.org.wildfly.discovery>
<version.org.wildfly.installation-manager.installation-manager-api>1.0.1.Final</version.org.wildfly.installation-manager.installation-manager-api>
<version.org.wildfly.installation-manager.installation-manager-api>1.0.2.Final</version.org.wildfly.installation-manager.installation-manager-api>
<version.org.wildfly.legacy.test>8.0.1.Final</version.org.wildfly.legacy.test>
<version.org.wildfly.openssl>2.2.5.Final</version.org.wildfly.openssl>
<version.org.wildfly.openssl.natives>2.2.2.Final</version.org.wildfly.openssl.natives>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -250,6 +251,11 @@ public String generateApplyRevertCommand(Path scriptHome, Path candidatePath, Os
return scriptHome + APPLY_REVERT_BASE_GENERATED_COMMAND + candidatePath.toString();
}

@Override
public Collection<ManifestVersion> 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());
Expand Down

0 comments on commit 9f08498

Please sign in to comment.