[JBoss JIRA] Created: (ARQ-153) Protocol configuration element should be separate from Container
by Aslak Knutsen (JIRA)
Protocol configuration element should be separate from Container
----------------------------------------------------------------
Key: ARQ-153
URL: https://jira.jboss.org/browse/ARQ-153
Project: Arquillian
Issue Type: Feature Request
Components: Configuration
Affects Versions: 1.0.0.Alpha2
Reporter: Aslak Knutsen
A Contianer should be able to run with any of the support Protocols for communication with TestCase running inside the container. This needs to be configurable in a common way.
Currently Servlet Protocol configuration is stuck in the specific Containers who use it, this needs to be extracted.
e.g.
{code:XML}
<arquillian xmlns="http://jboss.com/arquillian"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jboss="urn:arq:org.jboss.arquillian.jbossas.remote60"
xmlns:servlet="urn:arq:org.jboss.arquillian.protocol.servlet"
xmlns:jmx="urn:arq:org.jboss.arquillian.protocol.jmx"
xmlns:jndi="urn:arq:org.jboss.arquillian.jndi">
<jboss:container id="jbossTest">
<localDeploymentBindAddress>my.domain</localDeploymentBindAddress>
<servlet:protocol>
<remoteServerAddress>remote.server</remoteServerAddress>
<remoteServerHttpPort>8181</remoteServerHttpPort>
</servlet:protocol>
<jndi:protocol> <!-- Is this really a Protocol in the Arquillian sense? -->
<javaNamingProviderUrl>jnp://remote.server:1099</javaNamingProviderUrl>
<javaNamingFactoryInitial>org.jnp.interfaces.NamingContextFactory</javaNamingFactoryInitial>
<javaNamingFactoryUrlPkgs>org.jboss.naming\:org.jnp.interfaces</javaNamingFactoryUrlPkgs>
</jndi:protocol>
</jboss:container>
<jboss:container id="jbossStage">
<localDeploymentBindAddress>my.domain</localDeploymentBindAddress>
<jmx:protocol>
<serviceUrl>service:jmx:rmi:///jndi/rmi://localhost:1099/</serviceUrl>
</jmx:protocol>
<jndi:protocol>
<javaNamingProviderUrl>jnp://remote.server:1099</javaNamingProviderUrl>
<javaNamingFactoryInitial>org.jnp.interfaces.NamingContextFactory</javaNamingFactoryInitial>
<javaNamingFactoryUrlPkgs>org.jboss.naming\:org.jnp.interfaces</javaNamingFactoryUrlPkgs>
</jndi:protocol>
</jboss:container>
</arquillian>
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (ARQ-152) Support multiple container configurations for same container type
by Aslak Knutsen (JIRA)
Support multiple container configurations for same container type
-----------------------------------------------------------------
Key: ARQ-152
URL: https://jira.jboss.org/browse/ARQ-152
Project: Arquillian
Issue Type: Feature Request
Components: Configuration
Reporter: Aslak Knutsen
Configuration need to support multiple container configurations for the same container type with a runtime 'flag' for switching configuration.
UseCase:
Different configuration for test/stage servers. e.g.
{code:XML}
<arquillian xmlns="http://jboss.com/arquillian"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jboss="urn:arq:org.jboss.arquillian.jbossas.remote60">
<jboss:container id="jbossTest">
<localDeploymentBindAddress>my.domain</localDeploymentBindAddress>
<remoteServerAddress>remote.test.server</remoteServerAddress>
<remoteServerHttpPort>8080</remoteServerHttpPort>
</jboss:container>
<jboss:container id="jbossStage">
<localDeploymentBindAddress>my.domain</localDeploymentBindAddress>
<remoteServerAddress>remote.stage.server</remoteServerAddress>
<remoteServerHttpPort>8181</remoteServerHttpPort>
</jboss:container>
</arquillian>
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (ARQ-192) Install OSGi bundles in memory
by Thomas Diesler (JIRA)
Install OSGi bundles in memory
------------------------------
Key: ARQ-192
URL: https://jira.jboss.org/browse/ARQ-192
Project: Arquillian
Issue Type: Task
Reporter: Thomas Diesler
Currently the OSGiDeploymentPackager transforms a JavaArchive into a VF
private VirtualFile toVirtualFile(Archive<?> archive) throws IOException, MalformedURLException
{
// [TODO] Can this be done in memory?
ZipExporter exporter = archive.as(ZipExporter.class);
String archiveName = archive.getName();
int dotIndex = archiveName.lastIndexOf(".");
if (dotIndex > 0)
archiveName = archiveName.substring(0, dotIndex);
File target = File.createTempFile(archiveName + "-", ".jar");
exporter.exportZip(target, true);
target.deleteOnExit();
return AbstractVFS.getRoot(target.toURI().toURL());
}
We should be able to install the Archive directly and in-memory
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (ARQ-164) NPE in DeployableTestBuilder
by Jesper Pedersen (JIRA)
NPE in DeployableTestBuilder
----------------------------
Key: ARQ-164
URL: https://jira.jboss.org/browse/ARQ-164
Project: Arquillian
Issue Type: Bug
Components: Deployable Containers SPI
Affects Versions: 1.0.0.Alpha2
Reporter: Jesper Pedersen
I get:
java.lang.NullPointerException
at org.jboss.arquillian.impl.DeployableTestBuilder.build(DeployableTestBuilder.java:82)
at org.jboss.arquillian.impl.DeployableTestBuilder.build(DeployableTestBuilder.java:71)
at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:68)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
Any component that uses a SPI implementation should guard against null values - if there is a non-null requirement of course - and throw an IllegalArgumentException with a descriptive error message.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months