-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathManageCaasSubscriptionConfig.cs
More file actions
30 lines (26 loc) · 1.29 KB
/
ManageCaasSubscriptionConfig.cs
File metadata and controls
30 lines (26 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
namespace NHS.CohortManager.DemographicServices;
using System.ComponentModel.DataAnnotations;
// Minimal config object for ManageCaasSubscription.
public class ManageCaasSubscriptionConfig
{
// Optional URL for pass-through to the existing NEMS data service
// Example: http://manage-nems-subscription:9081/api/NemsSubscriptionDataService
public string? ManageNemsSubscriptionDataServiceURL { get; set; }
// Optional base URL to forward selected endpoints (e.g., CheckSubscriptionStatus)
// Example: http://manage-nems-subscription:9081
public string? ManageNemsSubscriptionBaseURL { get; set; }
public required string MeshApiBaseUrl { get; set; }
public string? KeyVaultConnectionString { get; set; }
public bool BypassServerCertificateValidation { get; set; } = false;
public string? MeshCACertName { get; set; }
public string? MeshCaasKeyName { get; set; }
public string? MeshCaasKeyPassword { get; set; }
public string? MeshCaasPassword { get; set; }
public required string MeshCaasSharedKey { get; set; }
[Required]
public string? CaasToMailbox { get; set; }
[Required]
public string? CaasFromMailbox { get; set; }
// Controls whether shared implementations should use stubbed behavior
public bool IsStubbed { get; set; } = true;
}