← Prev in month ← Prev in thread

Spring test client hardcoded to use the Tuscany runtime

From
Jim Marino <>
Date
2013-03-07T11:19:18+00:00
ID
CA+=xZJrnLZmkfgJ16mFGFLFJ=X-yijaG4_PeRVP=
Thread
Spring test client hardcoded to use the Tuscany runtime
Hi,

It appears the Spring test client is hardcoded to use the Tuscany runtime:

public class SpringTestRunner extends BaseJAXWSTestRunner {

	protected static final URI DOMAIN = URI.create("default");

	@Override

    public String invokeTest( String input ) throws Exception {

//		TestService service = SCAClientFactory.newInstance(DOMAIN).getService(TestService.class, testConfiguration.getServiceName());

		TestService service = TuscanyRuntimeBridge.instance.node.getService(TestService.class, testConfiguration.getServiceName());

		return service.testIt(input);

    }

	

}

This should be changed to correspond to how other the other test suites (e.g. Assembly, Policy, WS) are implemented.

Jim
← Prev in month ← Prev in thread