This commit is contained in:
Zeeshaun
2026-04-08 10:11:47 -05:00
parent 75ea216a17
commit 30e8c786d9
14 changed files with 26 additions and 20 deletions
@@ -1,7 +1,7 @@
{ {
"ExtendedData": { "ExtendedData": {
"inputs": [ "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": [ "collectionTypes": [
"System.Array", "System.Array",
@@ -127640,7 +127640,7 @@ namespace TemenosAccount
{ {
if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IAccount)) 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"); "t.svc");
} }
throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration));
@@ -1,7 +1,7 @@
{ {
"ExtendedData": { "ExtendedData": {
"inputs": [ "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": [ "collectionTypes": [
"System.Array", "System.Array",
@@ -127550,7 +127550,7 @@ namespace TemenosCase
{ {
if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ICase)) 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"); "vc");
} }
throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration));
@@ -1,7 +1,7 @@
{ {
"ExtendedData": { "ExtendedData": {
"inputs": [ "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": [ "collectionTypes": [
"System.Array", "System.Array",
@@ -5398,7 +5398,7 @@ namespace TemenosConfiguration
{ {
if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IConfiguration)) 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"); "uration.svc");
} }
throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration));
@@ -2,7 +2,7 @@
"ProviderId": "Microsoft.VisualStudio.ConnectedService.Wcf", "ProviderId": "Microsoft.VisualStudio.ConnectedService.Wcf",
"Version": "15.0.20628.921", "Version": "15.0.20628.921",
"ExtendedData": { "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", "Namespace": "TemenosSecurity",
"SelectedAccessLevelForGeneratedClass": "Public", "SelectedAccessLevelForGeneratedClass": "Public",
"GenerateMessageContract": false, "GenerateMessageContract": false,
@@ -1960,7 +1960,7 @@ namespace TemenosSecurity
{ {
if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ISecurity)) 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)); throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration));
} }
@@ -1,4 +1,5 @@
using System; using System;
using System.ServiceModel;
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
@@ -64,10 +65,15 @@ namespace LCU.API.Collections.CollectionsApi
services.AddSingleton(baseApiConfig); services.AddSingleton(baseApiConfig);
services.AddSingleton<ITemenosSecurityConfig>(baseApiConfig); services.AddSingleton<ITemenosSecurityConfig>(baseApiConfig);
services.AddScoped<TemenosConfiguration.IConfiguration, ConfigurationClient>(); services.AddScoped<TemenosConfiguration.IConfiguration>(_ => new ConfigurationClient(baseApiConfig));
services.AddScoped<IAccount, AccountClient>(); services.AddScoped<IAccount>(_ => new AccountClient(
services.AddScoped<ICase, CaseClient>(); AccountClient.EndpointConfiguration.BasicHttpBinding_IAccount,
services.AddScoped<ISecurity, SecurityClient>(); new EndpointAddress(baseApiConfig.GetUrl() + "/Akcelerant.AccountServicing.Service/Account.svc")));
services.AddScoped<ICase>(_ => new CaseClient(
CaseClient.EndpointConfiguration.BasicHttpBinding_ICase,
new EndpointAddress(baseApiConfig.GetUrl() + "/Akcelerant.AccountServicing.Service/Case.svc")));
services.AddScoped<ISecurity>(_ => new SecurityClient(baseApiConfig));
services.AddScoped<IEnvironmentView, EnvironmentView>(view => new EnvironmentView(assemblyLastModified, view.GetService<IHostingEnvironment>())); services.AddScoped<IEnvironmentView, EnvironmentView>(view => new EnvironmentView(assemblyLastModified, view.GetService<IHostingEnvironment>()));
services.AddScoped<ILookupConversionService, LookupConversionService>(); services.AddScoped<ILookupConversionService, LookupConversionService>();
@@ -9,11 +9,11 @@
}, },
"primary": { "primary": {
"AppName": "Collections API", "AppName": "Collections API",
"SeqApiKey": "KnA3VLl0fFivNj4kqijM", "SeqApiKey": "VALUEINKEYVAULT",
"SeqUrl": "https://qa-seq.lcu-internal.com", "SeqUrl": "https://localhost:5080",
"TemenosUrl": "https://lms-test-app-lcu.temenoscloudna.com", "TemenosUrl": "https://lms-stg-app-lcu275079714.temenoscloudna.com",
"TemenosUser": "APIAccount", "TemenosUser": "APIAccount",
"TemenosPassword": "Welcome1!", "TemenosPassword": "VALUEINKEYVAULT",
"TemenosCaseCommentMinDate": -5, "TemenosCaseCommentMinDate": -5,
"CaseRepoTypes": [ "CaseRepoTypes": [
{ {
@@ -36,7 +36,7 @@ stages:
azure_artifacts_feed: 'LCU-Internal' azure_artifacts_feed: 'LCU-Internal'
branches_to_push: branches_to_push:
- develop - develop
- main - master
# DOCKER BUILD AND PUSH # DOCKER BUILD AND PUSH
- template: docker-build-push.yaml@azdo_pipeline_templates - template: docker-build-push.yaml@azdo_pipeline_templates
@@ -4,6 +4,6 @@
}, },
"primary": { "primary": {
"SeqUrl": "https://seq.lcu-internal.com", "SeqUrl": "https://seq.lcu-internal.com",
"TemenosUrl": "https://lms-app-lcu.temenoscloudna.com" "TemenosUrl": "https://lms-app-lcu275079714.temenoscloudna.com"
} }
} }
@@ -4,6 +4,6 @@
}, },
"primary": { "primary": {
"SeqUrl": "https://qa-seq.lcu-internal.com", "SeqUrl": "https://qa-seq.lcu-internal.com",
"TemenosUrl": "https://lms-test-app-lcu.temenoscloudna.com" "TemenosUrl": "https://lms-stg-app-lcu275079714.temenoscloudna.com"
} }
} }
@@ -4,6 +4,6 @@
}, },
"primary": { "primary": {
"SeqUrl": "https://uat-seq.lcu-internal.com", "SeqUrl": "https://uat-seq.lcu-internal.com",
"TemenosUrl": "https://lms-stg-dmz-lcu.temenoscloudna.com" "TemenosUrl": "https://lms-stg-app-lcu275079714.temenoscloudna.com"
} }
} }