mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-24 14:38:45 +00:00
bug4811: fixed replication user data assembly; first successful test with replication of central security service
This commit is contained in:
+1
-1
@@ -102,7 +102,7 @@ public class TestProcedures {
|
||||
assertTrue(process.isReady(optionalTimeout));
|
||||
final String envSh = process.getEnvSh(optionalTimeout);
|
||||
assertFalse(envSh.isEmpty());
|
||||
assertTrue(envSh.contains("SERVER_NAME="+serverName));
|
||||
assertTrue("Couldn't find SERVER_NAME=\""+serverName+"\" in env.sh:\n"+envSh, envSh.contains("SERVER_NAME=\""+serverName+"\""));
|
||||
assertEquals(14888, process.getTelnetPortToOSGiConsole(optionalTimeout));
|
||||
} finally {
|
||||
landscape.terminate(host);
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ public interface OutboundReplicationConfiguration extends UserDataProvider {
|
||||
default Map<ProcessConfigurationVariable, String> getUserData() {
|
||||
final Map<ProcessConfigurationVariable, String> result = new HashMap<>();
|
||||
if (getOutboundReplicationExchangeName() != null) {
|
||||
result.put(ProcessConfigurationVariable.REPLICATION_HOST, getOutboundReplicationExchangeName());
|
||||
result.put(ProcessConfigurationVariable.REPLICATION_CHANNEL, getOutboundReplicationExchangeName());
|
||||
}
|
||||
if (getOutboundRabbitMQEndpoint() != null) {
|
||||
result.put(ProcessConfigurationVariable.REPLICATION_PORT, Integer.toString(getOutboundRabbitMQEndpoint().getPort()));
|
||||
|
||||
Reference in New Issue
Block a user