Skip to content

Commit

Permalink
feat(bpn): adjust bpn access configuration
Browse files Browse the repository at this point in the history
Refs: #901
  • Loading branch information
Phil91 committed Sep 11, 2024
1 parent c5454ee commit 36f633c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/administration/Administration.Service/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@ await WebAppHelper
.AddSingleton<IErrorMessageContainer, ValidationExpressionErrorMessageContainer>();
builder.Services.AddProvisioningDBAccess(builder.Configuration);
builder.Services.AddBpnAccess(builder.Configuration.GetSection("BPN_Address"));
builder.Services.AddBpnAccess(builder.Configuration.GetSection("BpnAccess"));
}).ConfigureAwait(ConfigureAwaitOptions.None);
5 changes: 2 additions & 3 deletions src/administration/Administration.Service/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@
"TokenAddress": "",
"BaseAddress": ""
},
"BPN_Address": "",
"Clearinghouse": {
"Username": "",
"Password": "",
Expand Down Expand Up @@ -415,7 +414,7 @@
}
]
},
"BPN_Access": {
"BaseAddress": "https://test.example.org"
"BpnAccess": {
"BaseAddress": ""
}
}
2 changes: 1 addition & 1 deletion src/registration/Registration.Service/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ await WebAppHelper
.AddTransient<INetworkBusinessLogic, NetworkBusinessLogic>();
builder.Services.AddApplicationChecklistCreation(builder.Configuration.GetSection("ApplicationCreation"));
builder.Services.AddBpnAccess(builder.Configuration.GetSection("BPN_Address"));
builder.Services.AddBpnAccess(builder.Configuration.GetSection("BpnAccess"));
builder.Services.AddMailingProcessCreation(builder.Configuration.GetSection("MailingProcessCreation"));
}).ConfigureAwait(ConfigureAwaitOptions.None);
2 changes: 1 addition & 1 deletion src/registration/Registration.Service/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"RegistrationDocumentTypeIds": [],
"SubmitDocumentTypeIds": []
},
"BPN_Access": {
"BpnAccess": {
"BaseAddress": ""
},
"Keycloak": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@
"TokenAddress": "test",
"BaseAddress": "test"
},
"BPN_Address": "https://test-bpn.client.com",
"Clearinghouse": {
"Username": "test",
"Password": "test",
Expand Down Expand Up @@ -453,7 +452,7 @@
}
]
},
"BPN_Access": {
"BpnAccess": {
"BaseAddress": "https://test.example.org"
}
}

0 comments on commit 36f633c

Please sign in to comment.