FELIX-4409/4410:
authorJan Willem Janssen <jawi@apache.org>
Mon, 3 Feb 2014 13:12:30 +0000 (13:12 +0000)
committerJan Willem Janssen <jawi@apache.org>
Mon, 3 Feb 2014 13:12:30 +0000 (13:12 +0000)
commita55c41beb8f26397554741d62e4cd0cfb935f6ab
tree31b708e49a2b6dd9daecf88ceda92469eb84796c
parente88fbd811e77b3d418d2a2f4eebeb03de962ffa3
FELIX-4409/4410:

- improve logging in case a bundle update fails by including the BSN
  and version(s);
- made the update commands a little more resilient againts unchecked
  exceptions to ensure that an (un)installation of a DP always yields
  a DeploymentException in case of failures;
- added JUnit test to test the behaviour of DA when an invalid DP is
  given (e.g., containing two bundles with the same BSN).

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1563873 13f79535-47bb-0310-9956-ffa450edef68
18 files changed:
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/AbstractAction.java [new file with mode: 0644]
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/Command.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/CommitResourceCommand.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/DeploymentSessionImpl.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/DropAllBundlesCommand.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/DropAllResourcesCommand.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/DropBundleCommand.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/DropResourceCommand.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/GetStorageAreaCommand.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/ProcessResourceCommand.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/StartBundleCommand.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/StartCustomizerCommand.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/StopBundleCommand.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/UpdateCommand.java
deploymentadmin/itest/pom.xml
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/InstallDeploymentPackageTest.java
deploymentadmin/testbundles/bundle2/src/main/java/org/apache/felix/deploymentadmin/test/bundle2/impl/Activator.java