FELIX-4491, FELIX-4718, FELIX-4719:
authorJan Willem Janssen <jawi@apache.org>
Fri, 5 Dec 2014 09:20:42 +0000 (09:20 +0000)
committerJan Willem Janssen <jawi@apache.org>
Fri, 5 Dec 2014 09:20:42 +0000 (09:20 +0000)
commite86c5ab798e682aa12c2fcf3a4e422c58d26ae5e
treee3b55c4bf965528265e55532b8ca6d78cbc544ad
parentd2cb9aecaa2416f158a1625f713ccc5225006665
FELIX-4491, FELIX-4718, FELIX-4719:

- (large patch due to unexpected downtime of SVN);
- added support for non-processed resources in deployment packages, which
  makes the Felix DP a little more compliant to the OSGi specification. This
  should fix FELIX-4491 (and FELIX-4516 as well?);
- reviewed and fixed the snapshot creation/restore functionality used for
  the data area of bundles that are upgraded. Both pieces of functionality
  were broken and in desparate need of fixing. Added several tests to cover
  this functionality.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1643202 13f79535-47bb-0310-9956-ffa450edef68
21 files changed:
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/ResourceInfoImpl.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/DropAllResourcesCommand.java
deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/DropResourceCommand.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/test/java/org/apache/felix/deploymentadmin/spi/SnapshotCommandTest.java [new file with mode: 0644]
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/BaseIntegrationTest.java
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/CustomizerTest.java
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/DeploymentAdminEventTest.java
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/DeploymentAdminTest.java
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/InstallDeploymentPackageTest.java
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/InstallFixPackageTest.java
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/ResourceSharingTest.java
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/UninstallDeploymentPackageTest.java
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/util/ArtifactData.java
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/util/DeploymentPackageBuilder.java
deploymentadmin/itest/src/test/java/org/apache/felix/deploymentadmin/itest/util/ResourceDataBuilder.java
deploymentadmin/itest/src/test/resources/LICENSE [new file with mode: 0644]
deploymentadmin/itest/src/test/resources/logo.png [new file with mode: 0644]
deploymentadmin/testbundles/bundleimpl1/pom.xml
deploymentadmin/testbundles/bundleimpl2/pom.xml