Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.virgo.kernel.test/src/test/resources')
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/META-INF/MANIFEST.MF26
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/META-INF/test.config.properties60
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/QuickConsumer.jarbin0 -> 1304 bytes
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/SlowService.jarbin0 -> 1864 bytes
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.kernel.properties5
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.kernel.userregion.properties80
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.medic.properties6
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.repository.properties14
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/config/serviceability.xml55
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/initial-artifact-plan/com.springsource.kernel.test.userregion.springdm.plan10
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/META-INF/MANIFEST.MF6
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/META-INF/spring/delay-context.xml15
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/delay/Bean.classbin0 -> 317 bytes
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/failure/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/failure/META-INF/spring/context.xml11
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/nondm/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/success/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/success/META-INF/spring/context.xml11
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/post-processors/inbuilt/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/post-processors/inbuilt/META-INF/spring/context.xml19
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/quasi/simpleexporter.jarbin0 -> 571 bytes
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/quasi/simpleimporter.jarbin0 -> 571 bytes
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/sit-config/kernel.properties9
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/sit-config/repository.properties13
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/sit-config/serviceability.xml55
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/one/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/subsystem-1.0.0.xml4
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/two/META-INF/MANIFEST.MF4
28 files changed, 420 insertions, 0 deletions
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.test/src/test/resources/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..2a443f17
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/META-INF/MANIFEST.MF
@@ -0,0 +1,26 @@
+Manifest-Version: 1.0
+Export-Package: org.eclipse.virgo.kernel.osgi.test;version="2.1.0";uses:="org.eclipse.virgo.kernel.test,org.junit",
+ org.eclipse.virgo.kernel.concurrent.test;version="2.1.0";uses:="org.eclipse.virgo.kernel.core,org.eclipse.virgo.kernel.test,org.junit",
+ org.eclipse.virgo.kernel.dm.test;version="2.1.0";uses:="org.eclipse.virgo.kernel.test,org.junit",
+ org.eclipse.virgo.kernel.ffdc.test;version="2.1.0";uses:="org.eclipse.virgo.kernel.test,org.junit",
+ org.eclipse.virgo.kernel.test;version="2.1.0";uses:="org.eclipse.virgo.kernel.core,org.junit,org.junit.runner"
+Bundle-Version: 2.1.0
+Tool: Bundlor not used
+Bundle-Name: Virgo Kernel Test
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: org.eclipse.virgo.kernel.test
+Import-Package: org.eclipse.virgo.kernel.osgi.framework;version="[2.1.0,2.2.0)",
+ org.eclipse.virgo.kernel.osgi.quasi;version="[2.1.0,2.2.0)",
+ org.eclipse.virgo.kernel.osgi.region;version="[2.1.0,2.2.0)",
+ javax.management;version=0,
+ org.eclipse.virgo.kernel.core;version="[2.1.0,2.2.0)",
+ org.eclipse.virgo.kernel.deployer.core;version="[2.1.0,2.2.0)",
+ org.eclipse.virgo.util.io;version="[2.1,2.2)",
+ org.eclipse.virgo.util.osgi.manifest;version="[2.1,2.2)",
+ org.junit;version="[4.5.0,5)",
+ org.junit.runner;version="[4.5.0,5)",
+ org.osgi.framework;version=0,
+ org.osgi.service.framework;version=0,
+ org.springframework.context;version="[2.5.6,3.1)",
+ org.springframework.osgi.context.support;version="[1.2.1,2)",
+ org.springframework.osgi.service.importer.support;version="[1.2.1,2)"
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/META-INF/test.config.properties b/org.eclipse.virgo.kernel.test/src/test/resources/META-INF/test.config.properties
new file mode 100644
index 00000000..fe9607b2
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/META-INF/test.config.properties
@@ -0,0 +1,60 @@
+launcher.bundles =\
+ file:../ivy-cache/repository/org.slf4j/com.springsource.slf4j.api/${org.slf4j}/com.springsource.slf4j.api-${org.slf4j}.jar@start,\
+ file:../ivy-cache/repository/org.slf4j/com.springsource.slf4j.org.apache.commons.logging/${org.slf4j}/com.springsource.slf4j.org.apache.commons.logging-${org.slf4j}.jar@start,\
+ file:../ivy-cache/repository/org.aspectj/com.springsource.org.aspectj.runtime/${org.aspectj}/com.springsource.org.aspectj.runtime-${org.aspectj}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.medic/org.eclipse.virgo.medic/${org.eclipse.virgo.medic}/org.eclipse.virgo.medic-${org.eclipse.virgo.medic}.jar@start,\
+ file:../ivy-cache/repository/org.apache.felix/org.apache.felix.configadmin/${org.apache.felix}/org.apache.felix.configadmin-${org.apache.felix}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.medic/org.eclipse.virgo.medic.core/${org.eclipse.virgo.medic}/org.eclipse.virgo.medic.core-${org.eclipse.virgo.medic}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.osgi/${org.eclipse.virgo.util}/org.eclipse.virgo.util.osgi-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.apache.felix/org.apache.felix.eventadmin/${org.apache.felix.eventadmin}/org.apache.felix.eventadmin-${org.apache.felix.eventadmin}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.common/${org.eclipse.virgo.util}/org.eclipse.virgo.util.common-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.io/${org.eclipse.virgo.util}/org.eclipse.virgo.util.io-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.jmx/${org.eclipse.virgo.util}/org.eclipse.virgo.util.jmx-${org.eclipse.virgo.util}.jar,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.math/${org.eclipse.virgo.util}/org.eclipse.virgo.util.math-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.parser.manifest/${org.eclipse.virgo.util}/org.eclipse.virgo.util.parser.manifest-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.codec/1.3.0/com.springsource.org.apache.commons.codec-1.3.0.jar@start,\
+ file:../ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.httpclient/3.1.0/com.springsource.org.apache.commons.httpclient-3.1.0.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.repository/org.eclipse.virgo.repository/${org.eclipse.virgo.repository}/org.eclipse.virgo.repository-${org.eclipse.virgo.repository}.jar@start,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.aop/3.0.0.RELEASE/org.springframework.aop-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.asm/3.0.0.RELEASE/org.springframework.asm-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.expression/3.0.0.RELEASE/org.springframework.expression-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.beans/3.0.0.RELEASE/org.springframework.beans-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.core/3.0.0.RELEASE/org.springframework.core-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.context/3.0.0.RELEASE/org.springframework.context-3.0.0.RELEASE.jar,\
+ file:../org.eclipse.virgo.kernel.core/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.agent.dm/target/classes@start,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.core/1.2.1/org.springframework.osgi.core-1.2.1.jar,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.extender/1.2.1/org.springframework.osgi.extender-1.2.1.jar@start,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.io/1.2.1/org.springframework.osgi.io-1.2.1.jar,\
+ file:../ivy-cache/repository/org.aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar,\
+ file:../org.eclipse.virgo.kernel.artifact/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.services/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.osgi/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.deployer/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.dm/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.model/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.kerneldmfragment/target/classes,\
+ file:../ivy-cache/repository/net.sourceforge.jline/com.springsource.jline/0.9.94.S2-A/com.springsource.jline-0.9.94.S2-A.jar@start,\
+ file:../org.eclipse.virgo.kernel.shell/target/classes@start
+
+org.eclipse.virgo.test.properties.include=file:../build.versions,file:../build.properties
+
+#Equinox Configuration
+osgi.parentClassloader=fwk
+osgi.context.bootdelegation=false
+osgi.compatibility.bootdelegation=false
+osgi.clean=true
+osgi.configuration.area=target
+
+org.apache.felix.eventadmin.Timeout=0
+
+osgi.java.profile=file:../build-kernel/lib/java6-server.profile
+osgi.java.profile.bootdelegation=override
+osgi.hook.configurators.include=org.eclipse.virgo.osgi.extensions.equinox.hooks.ExtensionsHookConfigurator
+
+org.eclipse.virgo.kernel.home=target
+org.eclipse.virgo.kernel.domain=org.eclipse.virgo.kernel
+# Paths are relative to the current working directory
+org.eclipse.virgo.kernel.config=src/test/resources/config
+
+org.eclipse.virgo.medic.log.config.path=src/test/resources/config/serviceability.xml
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/QuickConsumer.jar b/org.eclipse.virgo.kernel.test/src/test/resources/QuickConsumer.jar
new file mode 100644
index 00000000..5d207fcb
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/QuickConsumer.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/SlowService.jar b/org.eclipse.virgo.kernel.test/src/test/resources/SlowService.jar
new file mode 100644
index 00000000..4adb7a48
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/SlowService.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.kernel.properties b/org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.kernel.properties
new file mode 100644
index 00000000..60ece6be
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.kernel.properties
@@ -0,0 +1,5 @@
+deployer.timeout= 300
+deployer.pickupDirectory= pickup
+deployer.systemArtifacts=
+shell.enabled= true
+shell.port= 2403
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.kernel.userregion.properties b/org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.kernel.userregion.properties
new file mode 100644
index 00000000..5f928f33
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.kernel.userregion.properties
@@ -0,0 +1,80 @@
+baseBundles =\
+ file:../ivy-cache/repository/org.springframework/org.springframework.aop/3.0.0.RELEASE/org.springframework.aop-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.asm/3.0.0.RELEASE/org.springframework.asm-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.expression/3.0.0.RELEASE/org.springframework.expression-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.beans/3.0.0.RELEASE/org.springframework.beans-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.core/3.0.0.RELEASE/org.springframework.core-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.context/3.0.0.RELEASE/org.springframework.context-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.core/1.2.1/org.springframework.osgi.core-1.2.1.jar,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.extender/1.2.1/org.springframework.osgi.extender-1.2.1.jar@start,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.io/1.2.1/org.springframework.osgi.io-1.2.1.jar,\
+ file:../ivy-cache/repository/org.aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar,\
+ file:../org.eclipse.virgo.kernel.agent.dm/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.deployer.dm/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.dmfragment/target/classes,\
+ file:../org.eclipse.virgo.kernel.userregion/target/classes@start
+
+packageImports =\
+ org.eclipse.virgo.kernel.artifact.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.core;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.deployer.core;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.deployer.core.event;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.install.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.osgi.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.module;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.serviceability;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.serviceability.dump;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.serviceability.enforcement;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.services.work;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.shim.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.medic.*;version="[1.0,2)",\
+ org.eclipse.virgo.repository;version="[2.0,3)",\
+ org.eclipse.virgo.util.*;version="[2.0,3)",\
+ org.apache.commons.logging;version="[1.0.0,2.0.0)",\
+ org.aspectj.*;version="[1.6.5.RELEASE,2.0.0)",\
+ org.junit;version="[4.7.0,5.0.0)",\
+ org.junit.runner;version="[4.7.0,5.0.0)",\
+ org.osgi.service.cm;version="0",\
+ org.osgi.service.event;version="0",\
+ org.slf4j;version="[1.5.10,2)",\
+ org.slf4j.spi;version="[1.5.10,2)"
+
+serviceImports =\
+ org.eclipse.virgo.kernel.deployer.core.ApplicationDeployer,\
+ org.eclipse.virgo.kernel.deployer.core.DeployUriNormaliser,\
+ org.eclipse.virgo.kernel.install.artifact.ScopeServiceRepository,\
+ org.eclipse.virgo.kernel.services.work.WorkArea,\
+ org.eclipse.virgo.repository.ArtifactBridge,\
+ org.eclipse.virgo.kernel.shell.state.StateService,\
+ org.eclipse.virgo.repository.RepositoryFactory,\
+ org.eclipse.virgo.medic.eventlog.EventLoggerFactory,\
+ org.eclipse.virgo.repository.Repository,\
+ org.eclipse.virgo.kernel.core.Shutdown,\
+ org.osgi.service.cm.ConfigurationAdmin,\
+ org.osgi.service.event.EventAdmin,\
+ org.eclipse.virgo.medic.dump.DumpGenerator,\
+ org.eclipse.virgo.kernel.shim.scope.ScopeFactory,\
+ org.eclipse.virgo.kernel.shim.serviceability.TracingService
+
+serviceExports =\
+ org.eclipse.virgo.kernel.install.artifact.InstallArtifactLifecycleListener,\
+ org.eclipse.virgo.kernel.install.artifact.ArtifactTypeDeterminer,\
+ org.eclipse.virgo.kernel.install.pipeline.stage.transform.Transformer,\
+ org.eclipse.virgo.kernel.module.ModuleContextAccessor,\
+ org.eclipse.virgo.medic.dump.DumpContributor,\
+ org.eclipse.virgo.kernel.osgi.quasi.QuasiFrameworkFactory,\
+ org.eclipse.virgo.kernel.osgi.framework.OsgiFramework,\
+ org.eclipse.virgo.kernel.osgi.framework.ImportExpander,\
+ org.eclipse.virgo.kernel.osgi.framework.PackageAdminUtil,\
+ org.osgi.service.event.EventHandler,\
+ org.osgi.service.cm.ConfigurationListener,\
+ org.osgi.service.cm.ManagedService,\
+ org.osgi.service.cm.ManagedServiceFactory
+
+inheritedFrameworkProperties =\
+ osgi.java.profile,\
+ osgi.parentClassloader,\
+ osgi.context.bootdelegation,\
+ osgi.compatibility.bootdelegation,\
+ osgi.java.profile.bootdelegation,\
+ osgi.hook.configurators.include
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.medic.properties b/org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.medic.properties
new file mode 100644
index 00000000..1eeacc3f
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.medic.properties
@@ -0,0 +1,6 @@
+dump.root.directory=target/serviceability/dump
+log.wrapSysOut=true
+log.wrapSysErr=true
+log.dump.level=DEBUG
+log.dump.bufferSize=10000
+log.dump.pattern=[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-28.28thread %-64.64logger{64} %X{medic.eventCode} %msg %ex%n
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.repository.properties b/org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.repository.properties
new file mode 100644
index 00000000..94451a74
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.repository.properties
@@ -0,0 +1,14 @@
+bundles.type=external
+bundles.searchPattern=../{bundle}/target/classes
+
+ivy-cache-bundles.type=external
+ivy-cache-bundles.searchPattern=../${ivy.cache::ivy-cache}/repository/{org}/{name}/{version}/{bundle}.jar
+
+ivy-cache-libraries.type=external
+ivy-cache-libraries.searchPattern=../${ivy.cache::ivy-cache}/repository/{org}/{name}/{version}/{library}.libd
+
+src-test-resources.type=external
+src-test-resources.searchPattern=src/test/resources/*.jar
+
+
+chain=bundles,ivy-cache-bundles,ivy-cache-libraries,src-test-resources
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/config/serviceability.xml b/org.eclipse.virgo.kernel.test/src/test/resources/config/serviceability.xml
new file mode 100644
index 00000000..436dddf5
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/config/serviceability.xml
@@ -0,0 +1,55 @@
+<configuration>
+
+ <appender name="LOG_STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <appender name="LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>target/serviceability/log/log.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <FileNamePattern>target/serviceability/log/log_%i.log</FileNamePattern>
+ <MinIndex>1</MinIndex>
+ <MaxIndex>4</MaxIndex>
+ </rollingPolicy>
+ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <MaxFileSize>10MB</MaxFileSize>
+ </triggeringPolicy>
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <appender name="EVENT_LOG_STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <appender name="EVENT_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>target/serviceability/eventlog/eventlog.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <FileNamePattern>target/serviceability/eventlog/eventlog_%i.log</FileNamePattern>
+ <MinIndex>1</MinIndex>
+ <MaxIndex>4</MaxIndex>
+ </rollingPolicy>
+ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <MaxFileSize>10MB</MaxFileSize>
+ </triggeringPolicy>
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <logger level="INFO" name="org.eclipse.virgo.medic.eventlog.localized">
+ <appender-ref ref="EVENT_LOG_STDOUT" />
+ <appender-ref ref="EVENT_LOG_FILE" />
+ </logger>
+
+ <root level="DEBUG">
+ <!-- appender-ref ref="LOG_STDOUT" /-->
+ <appender-ref ref="LOG_FILE" />
+ </root>
+
+</configuration>
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/initial-artifact-plan/com.springsource.kernel.test.userregion.springdm.plan b/org.eclipse.virgo.kernel.test/src/test/resources/initial-artifact-plan/com.springsource.kernel.test.userregion.springdm.plan
new file mode 100644
index 00000000..7e9dbbc7
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/initial-artifact-plan/com.springsource.kernel.test.userregion.springdm.plan
@@ -0,0 +1,10 @@
+<plan name="org.eclipse.virgo.kernel.test.userregion.springdm" version="2.1" scoped="false" atomic="false"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="bundle" name="com.springsource.kernel.agent.dm" version="[2.1, 2.2)"/>
+ <artifact type="bundle" name="org.eclipse.virgo.kernel.deployer.dm" version="[2.1, 2.2)"/>
+</plan>
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..8026215e
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/META-INF/MANIFEST.MF
@@ -0,0 +1,6 @@
+Manifest-Version: 1.0
+Bundle-Name: DelayBean Bundle
+Created-By: 1.5.0_13 (Apple Computer, Inc.)
+Bundle-SymbolicName: DelayBean
+Bundle-Version: 1.0.0
+
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/META-INF/spring/delay-context.xml b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/META-INF/spring/delay-context.xml
new file mode 100644
index 00000000..6dc43d8a
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/META-INF/spring/delay-context.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:beans="http://www.springframework.org/schema/beans"
+ xmlns:util="http://www.springframework.org/schema/util"
+ xsi:schemaLocation="http://www.springframework.org/schema/osgi
+ http://www.springframework.org/schema/osgi/spring-osgi.xsd
+ http://www.springframework.org/schema/util
+ http://www.springframework.org/schema/util/spring-util-2.5.xsd
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+ <beans:bean id="delayBean" class="delay.Bean" />
+
+</beans:beans>
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/delay/Bean.class b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/delay/Bean.class
new file mode 100644
index 00000000..ab7d9713
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/delay/Bean.class
Binary files differ
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/monitor/failure/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/failure/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..0f930257
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/failure/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: monitor.failure
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/monitor/failure/META-INF/spring/context.xml b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/failure/META-INF/spring/context.xml
new file mode 100644
index 00000000..ce29a3fe
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/failure/META-INF/spring/context.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:beans="http://www.springframework.org/schema/beans"
+ xsi:schemaLocation="http://www.springframework.org/schema/osgi
+ http://www.springframework.org/schema/osgi/spring-osgi.xsd
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+ <ba
+</beans:beans>
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/monitor/nondm/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/nondm/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..c3b9ee11
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/nondm/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: monitor.nondm
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/monitor/success/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/success/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..199421b5
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/success/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: monitor.success
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/monitor/success/META-INF/spring/context.xml b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/success/META-INF/spring/context.xml
new file mode 100644
index 00000000..974f02f2
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/monitor/success/META-INF/spring/context.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:beans="http://www.springframework.org/schema/beans"
+ xsi:schemaLocation="http://www.springframework.org/schema/osgi
+ http://www.springframework.org/schema/osgi/spring-osgi.xsd
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+
+</beans:beans>
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/post-processors/inbuilt/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.test/src/test/resources/post-processors/inbuilt/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..1e348db9
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/post-processors/inbuilt/META-INF/MANIFEST.MF
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: org.eclipse.virgo.kernel.dmfragment.test.inbuilt
+Import-Package: org.eclipse.virgo.kernel.osgi.framework
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/post-processors/inbuilt/META-INF/spring/context.xml b/org.eclipse.virgo.kernel.test/src/test/resources/post-processors/inbuilt/META-INF/spring/context.xml
new file mode 100644
index 00000000..465ad1dc
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/post-processors/inbuilt/META-INF/spring/context.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://www.springframework.org/schema/beans"
+ xmlns:osgi="http://www.springframework.org/schema/osgi"
+ xmlns:context="http://www.springframework.org/schema/context"
+ xsi:schemaLocation="http://www.springframework.org/schema/osgi
+ http://www.springframework.org/schema/osgi/spring-osgi.xsd
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+ http://www.springframework.org/schema/context
+ http://www.springframework.org/schema/context/spring-context-2.5.xsd">
+
+ <context:load-time-weaver/>
+
+ <bean id="mbeanExporter" class="org.springframework.jmx.export.MBeanExporter"/>
+
+ <osgi:reference id="reference" interface="org.eclipse.virgo.kernel.osgi.framework.OsgiFramework" context-class-loader="client"/>
+
+</beans>
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/quasi/simpleexporter.jar b/org.eclipse.virgo.kernel.test/src/test/resources/quasi/simpleexporter.jar
new file mode 100644
index 00000000..3fb9c208
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/quasi/simpleexporter.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/quasi/simpleimporter.jar b/org.eclipse.virgo.kernel.test/src/test/resources/quasi/simpleimporter.jar
new file mode 100644
index 00000000..3fb9c208
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/quasi/simpleimporter.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/sit-config/kernel.properties b/org.eclipse.virgo.kernel.test/src/test/resources/sit-config/kernel.properties
new file mode 100644
index 00000000..dcdf9f8e
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/sit-config/kernel.properties
@@ -0,0 +1,9 @@
+deployer.timeout= 300
+deployer.pickupDirectory= target/pickup
+io.workDirectory= target/work
+io.dumpDirectory= target/serviceability/dump
+shell.enabled= false
+shell.port= 2401
+profile.name= subsystem installation test
+profile.subsystems= subsystem.installation.test
+profile.optionalSubsystems=
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/sit-config/repository.properties b/org.eclipse.virgo.kernel.test/src/test/resources/sit-config/repository.properties
new file mode 100644
index 00000000..1d2e9f00
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/sit-config/repository.properties
@@ -0,0 +1,13 @@
+bundles.type=external
+bundles.searchPattern=../{bundle}/target/classes
+
+ivy-cache-bundles.type=external
+ivy-cache-bundles.searchPattern=../${ivy.cache::ivy-cache}/repository/{org}/{name}/{version}/{bundle}.jar
+
+ivy-cache-libraries.type=external
+ivy-cache-libraries.searchPattern=../${ivy.cache::ivy-cache}/repository/{org}/{name}/{version}/{library}.libd
+
+src-test-resources-sitrepo.type=external
+src-test-resources-sitrepo.searchPattern=src/test/resources/sit-repo/{bundle}
+
+chain=src-test-resources-sitrepo,bundles,ivy-cache-bundles,ivy-cache-libraries
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/sit-config/serviceability.xml b/org.eclipse.virgo.kernel.test/src/test/resources/sit-config/serviceability.xml
new file mode 100644
index 00000000..c7f27a57
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/sit-config/serviceability.xml
@@ -0,0 +1,55 @@
+<configuration>
+
+ <appender name="LOG_STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <appender name="LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>target/serviceability/log/log.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <FileNamePattern>target/serviceability/log/log_%i.log</FileNamePattern>
+ <MinIndex>1</MinIndex>
+ <MaxIndex>4</MaxIndex>
+ </rollingPolicy>
+ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <MaxFileSize>10MB</MaxFileSize>
+ </triggeringPolicy>
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <appender name="EVENT_LOG_STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <appender name="EVENT_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>target/serviceability/eventlog/eventlog.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <FileNamePattern>target/serviceability/eventlog/eventlog_%i.log</FileNamePattern>
+ <MinIndex>1</MinIndex>
+ <MaxIndex>4</MaxIndex>
+ </rollingPolicy>
+ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <MaxFileSize>10MB</MaxFileSize>
+ </triggeringPolicy>
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <logger name="org.eclipse.virgo.medic.eventlog.localized">
+ <appender-ref ref="EVENT_LOG_STDOUT" />
+ <appender-ref ref="EVENT_LOG_FILE" />
+ </logger>
+
+ <root level="WARN">
+ <appender-ref ref="LOG_STDOUT" />
+ <appender-ref ref="LOG_FILE" />
+ </root>
+
+</configuration>
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/one/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/one/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..0b4b48cc
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/one/META-INF/MANIFEST.MF
@@ -0,0 +1,4 @@
+Manifest-Version: 1
+Bundle-ManifestVersion: 2
+Bundle-Version: 1.0
+Bundle-SymbolicName: sit.one
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/subsystem-1.0.0.xml b/org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/subsystem-1.0.0.xml
new file mode 100644
index 00000000..27a09897
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/subsystem-1.0.0.xml
@@ -0,0 +1,4 @@
+<subsystem name="subsystem.installation.test" description="subsystem installation test subsystem">
+ <bundle symbolic-name="sit.one" version="[1.0,1.0]"/>
+ <bundle symbolic-name="sit.two" version="[1.0,3.0)"/>
+</subsystem>
diff --git a/org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/two/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/two/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..f7c6b16b
--- /dev/null
+++ b/org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/two/META-INF/MANIFEST.MF
@@ -0,0 +1,4 @@
+Manifest-Version: 1
+Bundle-ManifestVersion: 2
+Bundle-Version: 1.0
+Bundle-SymbolicName: sit.two

Back to the top