public class ServiceMgrAndDescriptorTest extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
ServiceMgrAndDescriptorTest.MockServiceManager
A mocking service manager for a given service artifact.
|
| Constructor and Description |
|---|
ServiceMgrAndDescriptorTest() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
assertFunctionDef(String expected,
de.iip_ecosphere.platform.services.ServiceManager mgr,
String... serviceId)
Asserts a function definition.
|
private static de.iip_ecosphere.platform.services.ServiceManager |
createServiceManager(File descriptor)
Creates a simple service manager from loading a YAML file.
|
void |
testInternalConnections()
Tests
AbstractServiceManager.determineInternalConnections(ServiceManager, String...) in combination
with SpringCloudServiceDescriptor.toFunctionDefinition(Set). |
private static de.iip_ecosphere.platform.services.ServiceManager createServiceManager(File descriptor) throws IOException
descriptor - the descriptor to loadIOException - if the descriptor cannot be loaded for some reasonprivate static void assertFunctionDef(String expected, de.iip_ecosphere.platform.services.ServiceManager mgr, String... serviceId)
expected - mgr - serviceId - public void testInternalConnections()
throws IOException
AbstractServiceManager.determineInternalConnections(ServiceManager, String...) in combination
with SpringCloudServiceDescriptor.toFunctionDefinition(Set).IOException - if loading the test descriptor "ServiceMesh3Deployment.yml" failsCopyright © 2022. All rights reserved.