Skip to content

Commit 105424d

Browse files
fix: resolved PR comments - required attribute, removal of comments, debug outputs
1 parent 7e9aa12 commit 105424d

4 files changed

Lines changed: 4 additions & 9 deletions

File tree

application/CohortManager/compose.core.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ services:
312312
- AzureWebJobsStorage=${AZURITE_CONNECTION_STRING}
313313
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
314314
- ManageNemsSubscriptionDataServiceURL=http://manage-nems-subscription:9081/api/NemsSubscriptionDataService
315-
- ManageNemsSubscriptionBaseURL=http://manage-nems-subscription:9081
316315
- MeshApiBaseUrl=https://localhost:8700/messageexchange
317316
- MeshCaasPassword=password
318317
- MeshCaasSharedKey=TestKey

application/CohortManager/src/Functions/DemographicServices/ManageCaasSubscription/ManageCaasSubscriptionConfig.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ public class ManageCaasSubscriptionConfig
99
// Example: http://manage-nems-subscription:9081/api/NemsSubscriptionDataService
1010
public string? ManageNemsSubscriptionDataServiceURL { get; set; }
1111

12-
// Optional base URL to forward selected endpoints (e.g., CheckSubscriptionStatus)
13-
// Example: http://manage-nems-subscription:9081
14-
public string? ManageNemsSubscriptionBaseURL { get; set; }
15-
public required string MeshApiBaseUrl { get; set; }
12+
[Required]
13+
public string? MeshApiBaseUrl { get; set; }
1614
public string? KeyVaultConnectionString { get; set; }
1715
public bool BypassServerCertificateValidation { get; set; } = false;
1816
public string? MeshCACertName { get; set; }

application/CohortManager/src/Functions/Shared/Common/Extensions/MeshMailboxExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static IHostBuilder AddMeshMailboxes(this IHostBuilder hostBuilder, MeshC
1616
{
1717
ILoggerFactory factory = LoggerFactory.Create(builder =>
1818
{
19-
builder.AddConsole(); // or AddDebug(), AddEventSourceLogger(), etc.
19+
builder.AddConsole();
2020
builder.AddApplicationInsights();
2121
});
2222
_logger = factory.CreateLogger("MeshMailboxExtension");

application/CohortManager/src/Functions/Shared/Common/Mesh/MeshSendCaasSubscribe.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ public async Task<string> SendSubscriptionRequest(long nhsNumber, string toMailb
3131
Content = content,
3232
ContentType = "application/octet-stream"
3333
};
34-
35-
await File.WriteAllBytesAsync("Testpremesh.parquet", content);
36-
34+
3735
var result = await _meshOutboxService.SendCompressedMessageAsync(fromMailbox, toMailbox, _config.SendCaasWorkflowId, file);
3836
if (!result.IsSuccessful)
3937
{

0 commit comments

Comments
 (0)