public class RtsaRestServiceTest extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
RtsaRestServiceTest.FakeRtsaRestService<I,O>
Customized RTSA REST service for testing the integration without RTSA.
|
| Constructor and Description |
|---|
RtsaRestServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
forceFake()
Forces to use the fake RTSA if desired.
|
private static void |
process(de.iip_ecosphere.platform.kiServices.rapidminer.rtsa.RtsaRestService<InData,OutData> service,
InData data)
Processes
data on service and logs the sent input. |
void |
testRtsaRestService()
Tests the KODEX local server.
|
private static void process(de.iip_ecosphere.platform.kiServices.rapidminer.rtsa.RtsaRestService<InData,OutData> service, InData data) throws IOException
data on service and logs the sent input.service - the service instancedata - the input dataIOException - if processing/serializing the input data failsprivate boolean forceFake()
true for forcing fake RTSA, false for real RTSA if available (default)public void testRtsaRestService()
throws IOException,
ExecutionException
IOException - if reading test data fails, shall not occurExecutionException - shall not occurCopyright © 2022. All rights reserved.