]> source.dussan.org Git - sonarqube.git/commit
Refactor plugin management for better maintainability
authorSimon Brandhof <simon.brandhof@gmail.com>
Sun, 16 Mar 2014 13:06:00 +0000 (14:06 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Sun, 16 Mar 2014 13:06:00 +0000 (14:06 +0100)
commitf2b39ccc3223c71b741b443ebc36999352958080
treec874fd18660f31f0f507519864cdf9e43ce8d51e
parent568969fea6803e47f28a85459c2053ca377f0b87
Refactor plugin management for better maintainability
66 files changed:
sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchPluginInstaller.java [deleted file]
sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchPluginJarInstaller.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchPluginRepository.java
sonar-batch/src/main/java/org/sonar/batch/bootstrap/BootstrapContainer.java
sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginInstallerTest.java [deleted file]
sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginJarInstallerTest.java [new file with mode: 0644]
sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginRepositoryTest.java
sonar-batch/src/test/resources/org/sonar/batch/bootstrap/BatchPluginInstallerTest/sonar-checkstyle-plugin-2.8.jar [deleted file]
sonar-batch/src/test/resources/org/sonar/batch/bootstrap/BatchPluginJarInstallerTest/sonar-checkstyle-plugin-2.8.jar [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/plugins/PluginInstaller.java [deleted file]
sonar-core/src/main/java/org/sonar/core/plugins/PluginJarInstaller.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/profiling/Profiling.java
sonar-core/src/test/java/org/sonar/core/plugins/PluginInstallerTest.java [deleted file]
sonar-core/src/test/java/org/sonar/core/plugins/PluginJarInstallerTest.java [new file with mode: 0644]
sonar-plugin-api/src/main/java/org/sonar/api/platform/PluginRepository.java
sonar-server/src/main/java/org/sonar/server/db/EmbeddedDatabaseFactory.java
sonar-server/src/main/java/org/sonar/server/platform/DatabaseServerCompatibility.java
sonar-server/src/main/java/org/sonar/server/platform/DefaultServerFileSystem.java
sonar-server/src/main/java/org/sonar/server/platform/DefaultServerUpgradeStatus.java
sonar-server/src/main/java/org/sonar/server/platform/PersistentSettings.java
sonar-server/src/main/java/org/sonar/server/platform/Platform.java
sonar-server/src/main/java/org/sonar/server/platform/RailsAppsDeployer.java
sonar-server/src/main/java/org/sonar/server/platform/ServerComponentsStarter.java
sonar-server/src/main/java/org/sonar/server/platform/ServerImpl.java
sonar-server/src/main/java/org/sonar/server/platform/ServerLifecycleNotifier.java
sonar-server/src/main/java/org/sonar/server/platform/SettingsChangeNotifier.java
sonar-server/src/main/java/org/sonar/server/plugins/DefaultServerPluginRepository.java [deleted file]
sonar-server/src/main/java/org/sonar/server/plugins/InstalledPluginReferentialFactory.java
sonar-server/src/main/java/org/sonar/server/plugins/PluginDeployer.java [deleted file]
sonar-server/src/main/java/org/sonar/server/plugins/PluginDownloader.java
sonar-server/src/main/java/org/sonar/server/plugins/ServerExtensionInstaller.java
sonar-server/src/main/java/org/sonar/server/plugins/ServerPluginInstaller.java [deleted file]
sonar-server/src/main/java/org/sonar/server/plugins/ServerPluginJarInstaller.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/plugins/ServerPluginJarsInstaller.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/plugins/ServerPluginRepository.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/plugins/StaticResourcesServlet.java
sonar-server/src/main/java/org/sonar/server/plugins/UpdateCenterClient.java
sonar-server/src/main/java/org/sonar/server/plugins/UpdateCenterMatrixFactory.java
sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java
sonar-server/src/test/java/org/sonar/server/plugins/DefaultServerPluginRepositoryTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/plugins/PluginDeployerTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/plugins/ServerExtensionInstallerTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/plugins/ServerPluginJarsInstallerTest.java [new file with mode: 0644]
sonar-server/src/test/java/org/sonar/server/plugins/ServerPluginRepositoryTest.java [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/plugins/DefaultServerPluginRepositoryTest/sonar-artifact-size-plugin-0.2.jar [deleted file]
sonar-server/src/test/resources/org/sonar/server/plugins/PluginDeployerTest/deployBundledPluginsOnFreshInstall/extensions/plugins/foo-plugin.jar [deleted file]
sonar-server/src/test/resources/org/sonar/server/plugins/PluginDeployerTest/deployBundledPluginsOnFreshInstall/lib/bundled-plugins/bar-plugin.jar [deleted file]
sonar-server/src/test/resources/org/sonar/server/plugins/PluginDeployerTest/deployPlugin/extensions/plugins/foo-plugin.jar [deleted file]
sonar-server/src/test/resources/org/sonar/server/plugins/PluginDeployerTest/deployPlugin/lib/bundled-plugins/bar-plugin.jar [deleted file]
sonar-server/src/test/resources/org/sonar/server/plugins/PluginDeployerTest/deployPluginExtensions/extensions/plugins/foo-plugin.jar [deleted file]
sonar-server/src/test/resources/org/sonar/server/plugins/PluginDeployerTest/deployPluginExtensions/extensions/rules/foo/foo-extension.txt [deleted file]
sonar-server/src/test/resources/org/sonar/server/plugins/PluginDeployerTest/failIfTwoPluginsWithSameKey/extensions/plugins/foo-plugin1.jar [deleted file]
sonar-server/src/test/resources/org/sonar/server/plugins/PluginDeployerTest/failIfTwoPluginsWithSameKey/extensions/plugins/foo-plugin2.jar [deleted file]
sonar-server/src/test/resources/org/sonar/server/plugins/PluginDeployerTest/ignoreJarsWhichAreNotPlugins/extensions/plugins/not-a-plugin.jar [deleted file]
sonar-server/src/test/resources/org/sonar/server/plugins/PluginDeployerTest/should_fail_on_plugin_depending_on_more_recent_sonar/extensions/plugins/sonar-switch-off-violations-plugin-1.1.jar [deleted file]
sonar-server/src/test/resources/org/sonar/server/plugins/ServerPluginJarsInstallerTest/deployBundledPluginsOnFreshInstall/extensions/plugins/foo-plugin.jar [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/plugins/ServerPluginJarsInstallerTest/deployBundledPluginsOnFreshInstall/lib/bundled-plugins/bar-plugin.jar [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/plugins/ServerPluginJarsInstallerTest/deployPlugin/extensions/plugins/foo-plugin.jar [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/plugins/ServerPluginJarsInstallerTest/deployPlugin/lib/bundled-plugins/bar-plugin.jar [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/plugins/ServerPluginJarsInstallerTest/deployPluginExtensions/extensions/plugins/foo-plugin.jar [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/plugins/ServerPluginJarsInstallerTest/deployPluginExtensions/extensions/rules/foo/foo-extension.txt [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/plugins/ServerPluginJarsInstallerTest/failIfTwoPluginsWithSameKey/extensions/plugins/foo-plugin1.jar [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/plugins/ServerPluginJarsInstallerTest/failIfTwoPluginsWithSameKey/extensions/plugins/foo-plugin2.jar [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/plugins/ServerPluginJarsInstallerTest/ignoreJarsWhichAreNotPlugins/extensions/plugins/not-a-plugin.jar [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/plugins/ServerPluginJarsInstallerTest/should_fail_on_plugin_depending_on_more_recent_sonar/extensions/plugins/sonar-switch-off-violations-plugin-1.1.jar [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/plugins/ServerPluginRepositoryTest/sonar-artifact-size-plugin-0.2.jar [new file with mode: 0644]