From 30e8c786d9c0fba720c6d73567a147049a9c5fbf Mon Sep 17 00:00:00 2001 From: Zeeshaun Date: Wed, 8 Apr 2026 10:11:47 -0500 Subject: [PATCH] Updating --- .../TemenosAccount/ConnectedService.json | 2 +- .../Connected Services/TemenosAccount/Reference.cs | 2 +- .../TemenosCase/ConnectedService.json | 2 +- .../Connected Services/TemenosCase/Reference.cs | 2 +- .../TemenosConfiguration/ConnectedService.json | 2 +- .../TemenosConfiguration/Reference.cs | 2 +- .../TemenosSecurity/ConnectedService.json | 2 +- .../TemenosSecurity/Reference.cs | 2 +- .../LCU.API.Collections.CollectionsApi/Startup.cs | 14 ++++++++++---- .../appsettings.json | 8 ++++---- .../azdo_pipelines/azure-k8s-pipeline.yaml | 2 +- .../overlays/prd/appsettings/appsettings.json | 2 +- .../overlays/qa/appsettings/appsettings.json | 2 +- .../overlays/uat/appsettings/appsettings.json | 2 +- 14 files changed, 26 insertions(+), 20 deletions(-) diff --git a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosAccount/ConnectedService.json b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosAccount/ConnectedService.json index 7430e27..84dae4a 100644 --- a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosAccount/ConnectedService.json +++ b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosAccount/ConnectedService.json @@ -1,7 +1,7 @@ { "ExtendedData": { "inputs": [ - "https://lms-app-lcu.temenoscloudna.com/Akcelerant.AccountServicing.Service/Account.svc?WSDL" + "https://lms-stg-app-lcu275079714.temenoscloudna.com/Akcelerant.AccountServicing.Service/Account.svc?WSDL" ], "collectionTypes": [ "System.Array", diff --git a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosAccount/Reference.cs b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosAccount/Reference.cs index 5b04443..0fdcee1 100644 --- a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosAccount/Reference.cs +++ b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosAccount/Reference.cs @@ -127640,7 +127640,7 @@ namespace TemenosAccount { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IAccount)) { - return new System.ServiceModel.EndpointAddress("https://lms-app-lcu.temenoscloudna.com/Akcelerant.AccountServicing.Service/Accoun" + + return new System.ServiceModel.EndpointAddress("https://lms-stg-app-lcu275079714.temenoscloudna.com/Akcelerant.AccountServicing.Service/Accoun" + "t.svc"); } throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); diff --git a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosCase/ConnectedService.json b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosCase/ConnectedService.json index 109be67..44d4a71 100644 --- a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosCase/ConnectedService.json +++ b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosCase/ConnectedService.json @@ -1,7 +1,7 @@ { "ExtendedData": { "inputs": [ - "https://lms-app-lcu.temenoscloudna.com/Akcelerant.AccountServicing.Service/Case.svc?WSDL" + "https://lms-stg-app-lcu275079714.temenoscloudna.com/Akcelerant.AccountServicing.Service/Case.svc?WSDL" ], "collectionTypes": [ "System.Array", diff --git a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosCase/Reference.cs b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosCase/Reference.cs index 7d07f5f..f930288 100644 --- a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosCase/Reference.cs +++ b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosCase/Reference.cs @@ -127550,7 +127550,7 @@ namespace TemenosCase { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ICase)) { - return new System.ServiceModel.EndpointAddress("https://lms-app-lcu.temenoscloudna.com/Akcelerant.AccountServicing.Service/Case.s" + + return new System.ServiceModel.EndpointAddress("https://lms-stg-app-lcu275079714.temenoscloudna.com/Akcelerant.AccountServicing.Service/Case.s" + "vc"); } throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); diff --git a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosConfiguration/ConnectedService.json b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosConfiguration/ConnectedService.json index a42c169..44e9742 100644 --- a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosConfiguration/ConnectedService.json +++ b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosConfiguration/ConnectedService.json @@ -1,7 +1,7 @@ { "ExtendedData": { "inputs": [ - "https://lms-app-lcu.temenoscloudna.com/Akcelerant.AccountServicing.Service/Configuration.svc?WSDL" + "https://lms-stg-app-lcu275079714.temenoscloudna.com/Akcelerant.AccountServicing.Service/Configuration.svc?WSDL" ], "collectionTypes": [ "System.Array", diff --git a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosConfiguration/Reference.cs b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosConfiguration/Reference.cs index d17c7c9..3c94258 100644 --- a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosConfiguration/Reference.cs +++ b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosConfiguration/Reference.cs @@ -5398,7 +5398,7 @@ namespace TemenosConfiguration { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IConfiguration)) { - return new System.ServiceModel.EndpointAddress("https://lms-app-lcu.temenoscloudna.com/Akcelerant.AccountServicing.Service/Config" + + return new System.ServiceModel.EndpointAddress("https://lms-stg-app-lcu275079714.temenoscloudna.com/Akcelerant.AccountServicing.Service/Config" + "uration.svc"); } throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); diff --git a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosSecurity/ConnectedService.json b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosSecurity/ConnectedService.json index 83f7078..dcff8ed 100644 --- a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosSecurity/ConnectedService.json +++ b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosSecurity/ConnectedService.json @@ -2,7 +2,7 @@ "ProviderId": "Microsoft.VisualStudio.ConnectedService.Wcf", "Version": "15.0.20628.921", "ExtendedData": { - "Uri": "https://lms-app-lcu.temenoscloudna.com/Akcelerant.Core.Service/Security.svc?WSDL", + "Uri": "https://lms-stg-app-lcu275079714.temenoscloudna.com/Akcelerant.Core.Service/Security.svc?WSDL", "Namespace": "TemenosSecurity", "SelectedAccessLevelForGeneratedClass": "Public", "GenerateMessageContract": false, diff --git a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosSecurity/Reference.cs b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosSecurity/Reference.cs index 01cce7f..f62b771 100644 --- a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosSecurity/Reference.cs +++ b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Connected Services/TemenosSecurity/Reference.cs @@ -1960,7 +1960,7 @@ namespace TemenosSecurity { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ISecurity)) { - return new System.ServiceModel.EndpointAddress("https://lms-test-app-lcu.temenoscloudna.com/Akcelerant.Core.Service/Security.svc"); + return new System.ServiceModel.EndpointAddress("https://lms-stg-app-lcu275079714.temenoscloudna.com/Akcelerant.Core.Service/Security.svc"); } throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } diff --git a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Startup.cs b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Startup.cs index 5e51002..c3c6463 100644 --- a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Startup.cs +++ b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/Startup.cs @@ -1,4 +1,5 @@ using System; +using System.ServiceModel; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; @@ -64,10 +65,15 @@ namespace LCU.API.Collections.CollectionsApi services.AddSingleton(baseApiConfig); services.AddSingleton(baseApiConfig); - services.AddScoped(); - services.AddScoped(); - services.AddScoped(); - services.AddScoped(); + services.AddScoped(_ => new ConfigurationClient(baseApiConfig)); + services.AddScoped(_ => new AccountClient( + AccountClient.EndpointConfiguration.BasicHttpBinding_IAccount, + new EndpointAddress(baseApiConfig.GetUrl() + "/Akcelerant.AccountServicing.Service/Account.svc"))); + services.AddScoped(_ => new CaseClient( + CaseClient.EndpointConfiguration.BasicHttpBinding_ICase, + new EndpointAddress(baseApiConfig.GetUrl() + "/Akcelerant.AccountServicing.Service/Case.svc"))); + services.AddScoped(_ => new SecurityClient(baseApiConfig)); + services.AddScoped(view => new EnvironmentView(assemblyLastModified, view.GetService())); services.AddScoped(); diff --git a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/appsettings.json b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/appsettings.json index 8c3de94..0aeb41c 100644 --- a/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/appsettings.json +++ b/LCU.API.Collections.CollectionsApi/LCU.API.Collections.CollectionsApi/appsettings.json @@ -9,11 +9,11 @@ }, "primary": { "AppName": "Collections API", - "SeqApiKey": "KnA3VLl0fFivNj4kqijM", - "SeqUrl": "https://qa-seq.lcu-internal.com", - "TemenosUrl": "https://lms-test-app-lcu.temenoscloudna.com", + "SeqApiKey": "VALUEINKEYVAULT", + "SeqUrl": "https://localhost:5080", + "TemenosUrl": "https://lms-stg-app-lcu275079714.temenoscloudna.com", "TemenosUser": "APIAccount", - "TemenosPassword": "Welcome1!", + "TemenosPassword": "VALUEINKEYVAULT", "TemenosCaseCommentMinDate": -5, "CaseRepoTypes": [ { diff --git a/LCU.API.Collections.CollectionsApi/azdo_pipelines/azure-k8s-pipeline.yaml b/LCU.API.Collections.CollectionsApi/azdo_pipelines/azure-k8s-pipeline.yaml index a666d33..769e17e 100644 --- a/LCU.API.Collections.CollectionsApi/azdo_pipelines/azure-k8s-pipeline.yaml +++ b/LCU.API.Collections.CollectionsApi/azdo_pipelines/azure-k8s-pipeline.yaml @@ -36,7 +36,7 @@ stages: azure_artifacts_feed: 'LCU-Internal' branches_to_push: - develop - - main + - master # DOCKER BUILD AND PUSH - template: docker-build-push.yaml@azdo_pipeline_templates diff --git a/LCU.API.Collections.CollectionsApi/kustomize/overlays/prd/appsettings/appsettings.json b/LCU.API.Collections.CollectionsApi/kustomize/overlays/prd/appsettings/appsettings.json index 8cc0f6d..ce85e9d 100644 --- a/LCU.API.Collections.CollectionsApi/kustomize/overlays/prd/appsettings/appsettings.json +++ b/LCU.API.Collections.CollectionsApi/kustomize/overlays/prd/appsettings/appsettings.json @@ -4,6 +4,6 @@ }, "primary": { "SeqUrl": "https://seq.lcu-internal.com", - "TemenosUrl": "https://lms-app-lcu.temenoscloudna.com" + "TemenosUrl": "https://lms-app-lcu275079714.temenoscloudna.com" } } diff --git a/LCU.API.Collections.CollectionsApi/kustomize/overlays/qa/appsettings/appsettings.json b/LCU.API.Collections.CollectionsApi/kustomize/overlays/qa/appsettings/appsettings.json index 9005fec..67ec2e2 100644 --- a/LCU.API.Collections.CollectionsApi/kustomize/overlays/qa/appsettings/appsettings.json +++ b/LCU.API.Collections.CollectionsApi/kustomize/overlays/qa/appsettings/appsettings.json @@ -4,6 +4,6 @@ }, "primary": { "SeqUrl": "https://qa-seq.lcu-internal.com", - "TemenosUrl": "https://lms-test-app-lcu.temenoscloudna.com" + "TemenosUrl": "https://lms-stg-app-lcu275079714.temenoscloudna.com" } } diff --git a/LCU.API.Collections.CollectionsApi/kustomize/overlays/uat/appsettings/appsettings.json b/LCU.API.Collections.CollectionsApi/kustomize/overlays/uat/appsettings/appsettings.json index c06cc4b..2c1114d 100644 --- a/LCU.API.Collections.CollectionsApi/kustomize/overlays/uat/appsettings/appsettings.json +++ b/LCU.API.Collections.CollectionsApi/kustomize/overlays/uat/appsettings/appsettings.json @@ -4,6 +4,6 @@ }, "primary": { "SeqUrl": "https://uat-seq.lcu-internal.com", - "TemenosUrl": "https://lms-stg-dmz-lcu.temenoscloudna.com" + "TemenosUrl": "https://lms-stg-app-lcu275079714.temenoscloudna.com" } }