diff --git a/TransactionProcessor.IntegrationTests/Common/DockerHelper.cs b/TransactionProcessor.IntegrationTests/Common/DockerHelper.cs
index 186c65a9..ceb02ef7 100644
--- a/TransactionProcessor.IntegrationTests/Common/DockerHelper.cs
+++ b/TransactionProcessor.IntegrationTests/Common/DockerHelper.cs
@@ -89,6 +89,8 @@ public class DockerHelper : global::Shared.IntegrationTesting.DockerHelper
protected String TestHostContainerName;
+ protected String MessagingServiceContainerName;
+
///
/// The transaction processor port
///
@@ -185,6 +187,7 @@ public override async Task StartContainersForScenarioRun(String scenarioName)
this.TransactionProcessorContainerName = $"txnprocessor{testGuid:N}";
this.TestHostContainerName = $"testhosts{testGuid:N}";
this.VoucherManagementContainerName = $"vouchermanagement{testGuid:N}";
+ this.MessagingServiceContainerName = $"messaging{testGuid:N}";
String eventStoreAddress = $"http://{this.EventStoreContainerName}";
@@ -199,6 +202,24 @@ await Retry.For(async () =>
{
await this.PopulateSubscriptionServiceConfiguration().ConfigureAwait(false);
}, retryFor: TimeSpan.FromMinutes(2), retryInterval: TimeSpan.FromSeconds(30));
+
+ IContainerService voucherManagementContainer = SetupVoucherManagementContainer(this.VoucherManagementContainerName,
+ this.Logger,
+ "stuartferguson/vouchermanagement",
+ new List
+ {
+ testNetwork
+ },
+ traceFolder,
+ dockerCredentials,
+ this.SecurityServiceContainerName,
+ this.EstateManagementContainerName,
+ eventStoreAddress,
+ (Setup.SqlServerContainerName,
+ "sa",
+ "thisisalongpassword123!"),
+ ("serviceClient", "Secret1"),
+ true);
IContainerService estateManagementContainer = DockerHelper.SetupEstateManagementContainer(this.EstateManagementContainerName, this.Logger,
"stuartferguson/estatemanagement", new List
@@ -214,6 +235,16 @@ await Retry.For(async () =>
("serviceClient", "Secret1"),
true);
+ IContainerService messagingServiceContainer = DockerHelper.SetupMessagingServiceContainer(this.MessagingServiceContainerName, this.Logger,
+ "stuartferguson/messagingservice", new List
+ {
+ testNetwork
+ }, traceFolder, dockerCredentials,
+ this.SecurityServiceContainerName,
+ eventStoreAddress,
+ ("serviceClient", "Secret1"),
+ true);
+
IContainerService securityServiceContainer = DockerHelper.SetupSecurityServiceContainer(this.SecurityServiceContainerName,
this.Logger,
"stuartferguson/securityservice",
@@ -221,24 +252,7 @@ await Retry.For(async () =>
traceFolder,
dockerCredentials,
true);
-
- IContainerService voucherManagementContainer = SetupVoucherManagementContainer(this.VoucherManagementContainerName,
- this.Logger,
- "stuartferguson/vouchermanagement",
- new List
- {
- testNetwork
- },
- traceFolder,
- dockerCredentials,
- this.SecurityServiceContainerName,
- this.EstateManagementContainerName,
- eventStoreAddress,
- (Setup.SqlServerContainerName,
- "sa",
- "thisisalongpassword123!"),
- ("serviceClient", "Secret1"),
- true);
+
List additionalVariables = new List()
{
@@ -297,7 +311,8 @@ await Retry.For(async () =>
transactionProcessorContainer,
estateReportingContainer,
testhostContainer,
- voucherManagementContainer
+ voucherManagementContainer,
+ messagingServiceContainer
});
// Cache the ports
diff --git a/TransactionProcessor.IntegrationTests/TransactionProcessor.IntegrationTests.csproj b/TransactionProcessor.IntegrationTests/TransactionProcessor.IntegrationTests.csproj
index 1e40c8d4..c668dad0 100644
--- a/TransactionProcessor.IntegrationTests/TransactionProcessor.IntegrationTests.csproj
+++ b/TransactionProcessor.IntegrationTests/TransactionProcessor.IntegrationTests.csproj
@@ -17,7 +17,7 @@
-
+