[java-identity-provider] 01/02: Extra logging in the uninstall-during-update path
Rod Widdowson
rdw at steadingsoftware.com
Mon Aug 23 10:37:23 UTC 2021
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=3d9c7a21bc3c975848912450b4cdf4d0a3079d54
commit 3d9c7a21bc3c975848912450b4cdf4d0a3079d54
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Aug 23 11:36:53 2021 +0100
Extra logging in the uninstall-during-update path
---
.../net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java b/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
index cb045b5a5..4077ca299 100644
--- a/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
+++ b/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
@@ -74,10 +74,10 @@ import net.shibboleth.idp.installer.ProgressReportingOutputStream;
import net.shibboleth.idp.installer.impl.InstallationLogger;
import net.shibboleth.idp.installer.plugin.impl.TrustStore.Signature;
import net.shibboleth.idp.module.IdPModule;
-import net.shibboleth.idp.module.ModuleContext;
-import net.shibboleth.idp.module.ModuleException;
import net.shibboleth.idp.module.IdPModule.ModuleResource;
import net.shibboleth.idp.module.IdPModule.ResourceResult;
+import net.shibboleth.idp.module.ModuleContext;
+import net.shibboleth.idp.module.ModuleException;
import net.shibboleth.idp.plugin.IdPPlugin;
import net.shibboleth.idp.plugin.PluginVersion;
import net.shibboleth.utilities.java.support.annotation.constraint.NonnullAfterInit;
@@ -504,6 +504,7 @@ public final class PluginInstaller extends AbstractInitializableComponent implem
LOG.debug("{} not installed. files renamed", pluginId);
} else {
try {
+ LOG.debug("Uninstalling old version of {}", pluginId);
PluginInstallerSupport.renameToTree(pluginsWebapp,
workspacePath.resolve("rollback"),
getInstalledContents(),
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list