Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c5f9754e authored by Gabriel Landais's avatar Gabriel Landais
Browse files

PROXY-14

git-svn-id: https://scm.gforge.inria.fr/authscm/ycadoret/svn/gazelle/Maven/gazelle-proxy/trunk@23272 356b4b1a-1d2b-0410-8bf1-ffa24008f01e
parent 728dbf6c
No related tags found
No related merge requests found
...@@ -14,8 +14,6 @@ import javax.xml.bind.annotation.XmlAccessType; ...@@ -14,8 +14,6 @@ import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
import org.hibernate.annotations.Fetch;
@Entity @Entity
@Table(name = "tm_testInstance", schema = "public") @Table(name = "tm_testInstance", schema = "public")
@XmlAccessorType(XmlAccessType.NONE) @XmlAccessorType(XmlAccessType.NONE)
......
package net.ihe.gazelle.proxy.ws; package net.ihe.gazelle.proxy.ws;
import java.util.List;
import javax.jws.WebMethod; import javax.jws.WebMethod;
import javax.jws.WebService; import javax.jws.WebService;
import net.ihe.gazelle.proxy.model.tm.Configuration;
import net.ihe.gazelle.proxy.model.tm.TestInstance; import net.ihe.gazelle.proxy.model.tm.TestInstance;
@WebService @WebService
...@@ -14,4 +17,7 @@ public interface IProxyForTM { ...@@ -14,4 +17,7 @@ public interface IProxyForTM {
@WebMethod @WebMethod
void markTestStep(int testStepId); void markTestStep(int testStepId);
@WebMethod
void startAllChannels(List<Configuration> configurations);
} }
...@@ -30,6 +30,15 @@ public class ProxyForTM implements IProxyForTM { ...@@ -30,6 +30,15 @@ public class ProxyForTM implements IProxyForTM {
super(); super();
} }
public void startAllChannels(List<Configuration> configurations) {
for (Configuration configuration : configurations) {
configuration.setTestInstance(null);
if (configuration.getProxyPort() > 0) {
startChannel(configuration);
}
}
}
@WebMethod @WebMethod
public void startTestInstance(TestInstance testInstance) { public void startTestInstance(TestInstance testInstance) {
Calendar endTI = Calendar.getInstance(); Calendar endTI = Calendar.getInstance();
......
...@@ -34,18 +34,6 @@ ...@@ -34,18 +34,6 @@
<genWsdl>true</genWsdl> <genWsdl>true</genWsdl>
</configuration> </configuration>
</execution> </execution>
<!-- <execution> -->
<!-- <id>genJava</id> -->
<!-- <phase>generate-sources</phase> -->
<!-- <goals> -->
<!-- <goal>wsimport</goal> -->
<!-- </goals> -->
<!-- <configuration> -->
<!-- <packageName>net.ihe.gazelle.proxy.ws.client</packageName> -->
<!-- <wsdlDirectory>${basedir}/target/jaxws/wsgen/wsdl</wsdlDirectory> -->
<!-- </configuration> -->
<!-- </execution> -->
</executions> </executions>
<dependencies> <dependencies>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment