Browse Source

Cancel Order controller included other excluded

Release
Hema Janoti 1 year ago
parent
commit
48ef665bfc
  1. 23
      Source/DealerSelection.Api/AssignDealerApi.cs
  2. 2
      Source/DealerSelection.Api/CCAvenueApi.cs
  3. 1
      Source/DealerSelection.Api/CommonUtil/MuleSoftTokenGenerate.cs
  4. 1
      Source/DealerSelection.Api/JwtTokenApi.cs
  5. 12
      Source/DealerSelection.Api/MulesoftApi.cs
  6. 19
      Source/DealerSelection.Api/YellowAIApi.cs
  7. 2
      Source/DealerSelection.Common/CommonBaseClass/ExceptionBase.cs
  8. 30
      Source/DealerSelection.Common/CommonBaseClass/ExceptionFilterBase.cs
  9. 21
      Source/DealerSelection.Common/CommonBaseClass/StartupBase.cs
  10. 7
      Source/DealerSelection.Common/Exceptions/DataNotFoundException.cs
  11. 8
      Source/DealerSelection.Common/Exceptions/ValidationException.cs
  12. 6
      Source/DealerSelection.Infrastructure/CustomerDetail/Repository.cs
  13. 7
      Source/DealerSelection.WebApi/DealerSelection.WebApi.csproj
  14. 7
      Source/DealerSelection.WebApi/Scripts/001.AlterTable.sql
  15. 45
      Source/DealerSelection.WebApi/Scripts/003.AddStoredProcedure.sql
  16. 49
      Source/DealerSelection.WebApi/Scripts/004 -CancelOrderChanges.sql
  17. 113
      Source/DealerSelection.WebApi/appsettings-PreProd.json
  18. 112
      Source/DealerSelection.WebApi/appsettings-Prod.json
  19. 25
      Source/DealerSelection.WebApi/appsettings.json
  20. 6
      Source/DealerSelection.WebApi/connectionString-Prod.json

23
Source/DealerSelection.Api/AssignDealerApi.cs

@ -18,29 +18,6 @@ using JasperFx.CodeGeneration.Frames;
public class AssignDealerApi : IAssignDealerApi
{
#region MuleSoft
public static string baseApiUrl = ConfigurationHelper.GetSetting<string>("muleSoftAPIDomain", true);
public static string dealerDetailApiUrl = ConfigurationHelper.GetSetting<string>("muleSoftDealerDetail", true);
public static string bookingApiUrl = ConfigurationHelper.GetSetting<string>("muleSoftBookingAPILeadSquareDomain", true);
public static string masterSchemaId = ConfigurationHelper.GetSetting<string>("masterSchemaId", true);
public static string masterDealerDetailSchemaId = ConfigurationHelper.GetSetting<string>("masterDealerDetailSchemaId", true);
public static string muleSoftStateWisePrice = ConfigurationHelper.GetSetting<string>("muleSoftStateWisePrice", true);
public static string muleSoftBrandWiseModel = ConfigurationHelper.GetSetting<string>("muleSoftBrandWiseModel", true);
public static string muleSoftPricemasterSchemaId = ConfigurationHelper.GetSetting<string>("muleSoftStateWisePricemasterSchemaId", true);
public static string muleSoftModelmasterSchemaId = ConfigurationHelper.GetSetting<string>("muleSoftBrandWiseModelmasterSchemaId", true);
public static string muleSoftStateMasterSchemaId = ConfigurationHelper.GetSetting<string>("muleSoftStateMasterSchemaId", true);
public static string muleSoftStateMasterSchemaApi = ConfigurationHelper.GetSetting<string>("muleSoftStateMasterSchemaApi", true);
public static string muleSoftCityMasterSchemaId = ConfigurationHelper.GetSetting<string>("muleSoftCityMasterSchemaId", true);
public static string muleSoftCityMasterSchemaApi = ConfigurationHelper.GetSetting<string>("muleSoftCityMasterSchemaApi", true);
public static string muleSoftModelMasterSchemaItemId = ConfigurationHelper.GetSetting<string>("muleSoftModelMasterSchemaItemId", true);
public static string muleSoftModelMasterSchemaItemApi = ConfigurationHelper.GetSetting<string>("muleSoftModelMasterSchemaItemApi", true);
#endregion
#region Caching
public static string CacheGetDealersDetail = ConfigurationHelper.GetSetting<string>("MuleSoftCacheGetDealersDetail", true);

2
Source/DealerSelection.Api/CCAvenueApi.cs

@ -38,7 +38,7 @@ public class CCAvenueApi : ICCAvenueApi
try
{
int rnd = RandomNumberGenerator.GetInt32(100000,999999);
string refundRefNo= cfg.BuCode + customerInfo.RecordId + rnd;
string refundRefNo= cfg.BuId + cfg.BuCode + customerInfo.RecordId + rnd;
string orderStatusQueryJson = "{\"reference_no\":\"" + transactionId + "\",\"refund_amount\": \"" + customerInfo.AmountPaid + "\"," +
"\"refund_ref_no\": \"" + refundRefNo + "\" }";
string encJson = "";

1
Source/DealerSelection.Api/CommonUtil/MuleSoftTokenGenerate.cs

@ -78,6 +78,7 @@ namespace DealerSelection.Api.CommonUtil
}
catch (Exception ex)
{
AzureLogHelper.LogMessage($"DS Api:-Error at ReturnMuleSoftResponse :- " + DateTime.Now);
throw ex;
}
return null;

1
Source/DealerSelection.Api/JwtTokenApi.cs

@ -27,6 +27,7 @@ public class JwtTokenApi : IJwtTokenApi
public async Task<string> GenerateToken(AuthValidateModel user)
{
_logger.LogInformation($"DS Api:-GenerateToken Started:- ");
try
{
bool isValidUser = await Authenticate(user);

12
Source/DealerSelection.Api/MulesoftApi.cs

@ -23,18 +23,6 @@ public class MulesoftApi : IMulesoftApi
public static string bookingApiUrl = ConfigurationHelper.GetSetting<string>("muleSoftBookingAPILeadSquareDomain", true);
public static string masterSchemaId = ConfigurationHelper.GetSetting<string>("masterSchemaId", true);
public static string masterDealerDetailSchemaId = ConfigurationHelper.GetSetting<string>("masterDealerDetailSchemaId", true);
public static string muleSoftStateWisePrice = ConfigurationHelper.GetSetting<string>("muleSoftStateWisePrice", true);
public static string muleSoftBrandWiseModel = ConfigurationHelper.GetSetting<string>("muleSoftBrandWiseModel", true);
public static string muleSoftPricemasterSchemaId = ConfigurationHelper.GetSetting<string>("muleSoftStateWisePricemasterSchemaId", true);
public static string muleSoftModelmasterSchemaId = ConfigurationHelper.GetSetting<string>("muleSoftBrandWiseModelmasterSchemaId", true);
public static string muleSoftStateMasterSchemaId = ConfigurationHelper.GetSetting<string>("muleSoftStateMasterSchemaId", true);
public static string muleSoftStateMasterSchemaApi = ConfigurationHelper.GetSetting<string>("muleSoftStateMasterSchemaApi", true);
public static string muleSoftCityMasterSchemaId = ConfigurationHelper.GetSetting<string>("muleSoftCityMasterSchemaId", true);
public static string muleSoftCityMasterSchemaApi = ConfigurationHelper.GetSetting<string>("muleSoftCityMasterSchemaApi", true);
public static string muleSoftModelMasterSchemaItemId = ConfigurationHelper.GetSetting<string>("muleSoftModelMasterSchemaItemId", true);
public static string muleSoftModelMasterSchemaItemApi = ConfigurationHelper.GetSetting<string>("muleSoftModelMasterSchemaItemApi", true);
#endregion

19
Source/DealerSelection.Api/YellowAIApi.cs

@ -30,8 +30,8 @@ public class YellowAIApi : IYellowAIApi
{
_logger.LogInformation($"DS Api:-UpdateSelectedDealer Started :- MobileNumber {request.MobileNumber} BuCode {request.BuCode} BuSubType {request.BuSubType}" +
$"DealerCode {request.DealerCode} DealerName {request.DealerName} PinCode {request.PinCode} CustomerLat {request.Latitude} CustomerLong {request.Longitude} ");
try
{
try
{
if (IsValidData(request.MobileNumber, request.DealerCode, request.DealerName))
{
CustomerDetailRepo.CustomerDto customerinfo = await GetCustomerDetailByBuCode(request.MobileNumber, request.BuCode, request.BuSubType);
@ -41,33 +41,36 @@ public class YellowAIApi : IYellowAIApi
customerDetailInfo.DealerCode = request.DealerCode;
customerDetailInfo.DealerName = request.DealerName;
customerDetailInfo.PinCode = request.PinCode;
customerDetailInfo.CustomerLat = request.Latitude;
customerDetailInfo.CustomerLong = request.Longitude;
customerDetailInfo.PinCode = !String.IsNullOrWhiteSpace(request.PinCode) ? request.PinCode : customerDetailInfo.PinCode;
customerDetailInfo.CustomerLat = !String.IsNullOrWhiteSpace(request.Latitude) ? request.Latitude : customerDetailInfo.CustomerLat ;
customerDetailInfo.CustomerLong = !String.IsNullOrWhiteSpace(request.Longitude) ? request.Longitude : customerDetailInfo.CustomerLong ;
customerDetailInfo.DealerSelectedMode = DealerSelectedMode.Bot.ToString();
await MulesoftApi.InsertLSQData(customerDetailInfo);
}
else
{
_logger.LogWarning($"No Data found : {request.RequestDetail()}.");
throw new ValidationException("No Data Found");
throw new DataNotFoundException("No Data Found");
}
}
else
{
_logger.LogWarning($"Invalid data. Data Details: {request.RequestDetail()}.");
throw new ValidationException("Invalid data.");
throw new InvalidDataException("Invalid data.");
}
}
catch(Exception ex)
{
_logger.LogError($"Some error occured: {ex.StackTrace}.");
throw new Exception($"Some error occured: {ex.Message}.");
throw;
}
_logger.LogInformation($"DS Api:-UpdateSelectedDealer End :- MobileNumber {request.MobileNumber} BuCode {request.BuCode} BuSubType {request.BuSubType}" +
$"DealerCode {request.DealerCode} DealerName {request.DealerName} PinCode {request.PinCode} CustomerLat {request.Latitude} CustomerLong {request.Longitude} ");
}
public async Task<ModelDetail> GetModelDetails(string mobileNumber, string buCode, string buSubType)

2
Source/DealerSelection.Common/CommonBaseClass/ExceptionBase.cs

@ -1,6 +1,6 @@
namespace DealerSelection.Common.CommonBaseClass;
public class ExceptionBase : Exception
public abstract class ExceptionBase : Exception
{
protected ExceptionBase(string message) : base(message)
{ }

30
Source/DealerSelection.Common/CommonBaseClass/ExceptionFilterBase.cs

@ -1,11 +1,12 @@
using DealerSelection.Common.Exceptions;
using DealerSelection.Common.Configuration;
using DealerSelection.Common.Exceptions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System.Net;
namespace DealerSelection.Common.CommonBaseClass;
public class ExceptionFilterBase : ExceptionFilterAttribute, IExceptionFilter
public class ExceptionFilterBase : ExceptionFilterAttribute, IExceptionFilter,IFilterMetadata
{
protected IDictionary<Type, HttpStatusCode> Mappings { get; }
public ExceptionFilterBase()
@ -15,7 +16,7 @@ public class ExceptionFilterBase : ExceptionFilterAttribute, IExceptionFilter
{typeof(System.Security.Authentication.AuthenticationException), HttpStatusCode.Unauthorized },
{typeof(System.Security.Authentication.InvalidCredentialException), HttpStatusCode.Unauthorized },
{typeof(AuthorizationException), HttpStatusCode.Forbidden },
{typeof(DataNotFoundException), HttpStatusCode.Forbidden },
{typeof(DataNotFoundException), HttpStatusCode.NotFound },
{typeof(DuplicateException), HttpStatusCode.Conflict },
{typeof(InvalidDataException), HttpStatusCode.BadRequest },
@ -32,6 +33,7 @@ public class ExceptionFilterBase : ExceptionFilterAttribute, IExceptionFilter
if (exception.StackTrace != null)
{
string exceptionStack = exception.StackTrace.StandardizeText(true);
exceptionStack=exceptionStack.Substring(0,Math.Min(16384,exceptionStack.Length));
context.HttpContext.Request.Headers.Add("DealerSelection-Custom-ExceptionStack", exceptionStack);
}
@ -64,18 +66,22 @@ public class ExceptionFilterBase : ExceptionFilterAttribute, IExceptionFilter
}
}
//if (ConfigurationHelper.GetSetting("IncludeErrorInResponse", false) || httpStatusCode != HttpStatusCode.InternalServerError)
//{
// AssignError(context, httpStatusCode, false, exception.Message);
//}
//else
//{
// context.HttpContext.Request.Headers.Add("BajaBooking-Custom-RealException", exception.Message.StandardizeText(false));
//}
if (ConfigurationHelper.GetSetting("IncludeErrorInResponse", false) || httpStatusCode != HttpStatusCode.InternalServerError)
{
AssignError(context, httpStatusCode, withNewLine: false, exception.Message);
return;
}
context.HttpContext.Request.Headers.Add("DealerSelection-Custom-RealException", exception.Message.StandardizeText(false));
AssignError(context, httpStatusCode,withNewLine:true, exception.Message);
}
private static void AssignError(ExceptionContext context, HttpStatusCode httpStatusCode, bool withNewLine, string? message = null, string? reason = null)
{
reason ??= message;
if (reason==null)
{
reason = message;
}
string reasonPhrase = reason!.StandardizeText(withNewLine);
context.Result = new ContentResult { Content = reasonPhrase, StatusCode = (int)httpStatusCode, ContentType = "text/plain" };
}

21
Source/DealerSelection.Common/CommonBaseClass/StartupBase.cs

@ -7,6 +7,7 @@ using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Json;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.AspNetCore.ResponseCompression;
using Microsoft.Extensions.Configuration;
@ -101,8 +102,15 @@ public abstract class StartupBase
services.AddMemoryCache();
services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>();
services.AddMvc(options => options.Filters.Add(new ExceptionFilterBase()));
services.AddMvc(options => options.OutputFormatters.Add(new XmlSerializerOutputFormatter()));
services.AddMvc(delegate (MvcOptions options)
{
options.Filters.Add(new ExceptionFilterBase());
});
services.AddMvc(delegate (MvcOptions options)
{
options.OutputFormatters.Add(new XmlSerializerOutputFormatter());
});
services.AddResponseCompression(options =>
{
@ -124,11 +132,12 @@ public abstract class StartupBase
services.AddEndpointsApiExplorer();
services.AddControllers().AddXmlDataContractSerializerFormatters();
services.AddHealthChecks();
services.Configure<JsonOptions>(options =>
{
services.Configure(delegate (Microsoft.AspNetCore.Http.Json.JsonOptions options)
{
options.SerializerOptions.Converters.Add(new JsonStringEnumConverter());
});
services.Configure<Microsoft.AspNetCore.Mvc.JsonOptions>(options =>
services.Configure(delegate (Microsoft.AspNetCore.Mvc.JsonOptions options)
{
options.JsonSerializerOptions.Converters.Add(new JsonStringEnumConverter());
});
@ -153,7 +162,7 @@ public abstract class StartupBase
{
audiences.Add(audience);
}
// bool validateAudience = false;
// bool validateAudience = false;
//if (Configuration.ConfigurationHelper.GetSetting<string>("ValidateAudience", true) == "True")
//{
// validateAudience = true;

7
Source/DealerSelection.Common/Exceptions/DataNotFoundException.cs

@ -1,8 +1,11 @@
using DealerSelection.Common.CommonBaseClass;
namespace DealerSelection.Common.Exceptions;
[Serializable]
public class DataNotFoundException : ExceptionBase
{
public DataNotFoundException(string message) : base(message) { }
public DataNotFoundException(string message) : base(message)
{ }
public DataNotFoundException(string message, Exception innerException) : base(message, innerException)
{ }
}

8
Source/DealerSelection.Common/Exceptions/ValidationException.cs

@ -2,7 +2,13 @@
namespace DealerSelection.Common.Exceptions;
[Serializable]
public class ValidationException : ExceptionBase
{
public ValidationException(string message) : base(message) { }
//public ValidationException(string message) : base(message) { }
public ValidationException(string message) : base(message)
{ }
public ValidationException(string message, Exception innerException) : base(message, innerException)
{ }
}

6
Source/DealerSelection.Infrastructure/CustomerDetail/Repository.cs

@ -93,7 +93,7 @@ public class Repository : RepositoryBaseDapperAsync, IRepository
catch (Exception ex)
{
_logger.LogError($"DS Repo:- Error at Repository:CustomerDetail in IsDuplicateMobileNumber for MobileNumber: {mobileNumber}. ErrorMessage", ex.StackTrace);
throw new DuplicateException($"Error at Repository:CustomerDetail in IsDuplicateMobileNumber for MobileNumber: {mobileNumber}.");
throw new UnexpectedDataException($"Error at Repository:CustomerDetail in IsDuplicateMobileNumber for MobileNumber: {mobileNumber}.", ex);
}
}
@ -118,7 +118,7 @@ public class Repository : RepositoryBaseDapperAsync, IRepository
catch (Exception ex)
{
_logger.LogError($"DS Repo:- Error at Repository:CustomerDetail in GetCustomerDetailByBuCode for MobileNumber: {mobileNumber}. ErrorMessage", ex.StackTrace);
throw new DuplicateException($"Error at Repository:CustomerDetail in GetCustomerDetailByBuCode for MobileNumber: {mobileNumber}.");
throw new UnexpectedDataException($"Error at Repository:CustomerDetail in GetCustomerDetailByBuCode for MobileNumber: {mobileNumber}.",ex);
}
}
@ -142,7 +142,7 @@ public class Repository : RepositoryBaseDapperAsync, IRepository
catch (Exception ex)
{
_logger.LogError($"DS Repo:- Error at Repository:CustomerDetail in UpdateDealerSelectionJobStatus for BuId: {buId}, RecordId: {recordId}, DealerSelectionJobStatus: {dealerSelectionJobStatus}. ErrorMessage", ex.StackTrace);
throw new DuplicateException($"Error at Repository:CustomerDetail in UpdateDealerSelectionJobStatus for BuId: {buId}, RecordId: {recordId}, DealerSelectionJobStatus: {dealerSelectionJobStatus}");
throw new UnexpectedDataException($"Error at Repository:CustomerDetail in UpdateDealerSelectionJobStatus for BuId: {buId}, RecordId: {recordId}, DealerSelectionJobStatus: {dealerSelectionJobStatus}", ex);
}
}

7
Source/DealerSelection.WebApi/DealerSelection.WebApi.csproj

@ -15,6 +15,13 @@
<NoWarn>1701;1702;1591</NoWarn>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Controllers\BatchJobController.cs" />
<Compile Remove="Controllers\DealerSelectionController.cs" />
<Compile Remove="Controllers\MulesoftController.cs" />
<Compile Remove="Controllers\YellowController.cs" />
</ItemGroup>
<ItemGroup>
<None Remove="wwwroot\CustomContent\logo.png" />
<None Remove="wwwroot\CustomContent\SwaggerHeader.css" />

7
Source/DealerSelection.WebApi/Scripts/001.AlterTable.sql

@ -1,5 +1,4 @@
ALTER TABLE [dbo].[tbl_transaction_details]
ADD RefundReferenceNo varchar(50)
ALTER TABLE [dbo].[tbl_customer_information]
ADD DealerSelectedMode varchar(50)
@ -23,5 +22,9 @@ ALTER TABLE [dbo].[tbl_transaction_details]
set BuCode='MC' where BuId =2
UPDATE [dbo].[tbl_businessUnit]
set BuSubType='MC' where BuId =2
UPDATE [dbo].[tbl_businessUnit]
set BuSubType='HUS' where BuId =4

45
Source/DealerSelection.WebApi/Scripts/003.AddStoredProcedure.sql

@ -24,23 +24,7 @@ FROM [tbl_customer_information] cust INNER JOIN
END
GO
/****** Object: StoredProcedure [DealerSelection].[usp_get_BookingDetail_OnBookingId] Script Date: 1/2/2024 12:08:07 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [DealerSelection].[usp_get_BookingDetail_OnBookingId]
(
@bookingId VARCHAR(50),
@transactionId VARCHAR(50)
)
AS
BEGIN
SELECT t.BuId,t.RecordId,t.AmountPaid FROM tbl_transaction_details t
where t.BookingId=@bookingId and t.CCTransactionId=@transactionId
END
GO
/****** Object: StoredProcedure [DealerSelection].[usp_get_CustomerDataForJob] Script Date: 1/2/2024 12:08:07 PM ******/
SET ANSI_NULLS ON
GO
@ -229,34 +213,7 @@ UPDATE [dbo].[tbl_customer_information]
END
GO
/****** Object: StoredProcedure [DealerSelection].[usp_update_RefundStatus] Script Date: 1/2/2024 12:08:07 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [DealerSelection].[usp_update_RefundStatus]
(
-- Add the parameters for the stored procedure here
@BuId INT,
@BookingId varchar(50),
@CCTransactionId varchar(50),
@RefundReferenceNo varchar(50),
@CCTransactionStatus varchar(50),
@CCTransactionStatusReason varchar(100)
)
AS
BEGIN
SET NOCOUNT ON
UPDATE [dbo].[tbl_transaction_details]
SET
RefundReferenceNo=@RefundReferenceNo,
CCTransactionStatus=@CCTransactionStatus,
CCTransactionStatusReason = @CCTransactionStatusReason
WHERE BookingId=@BookingId and CCTransactionId = @CCTransactionId and BuId=@BuId
END
GO
/****** Object: StoredProcedure [DealerSelection].[usp_update_dealer_details] Script Date: 1/3/2024 4:01:31 PM ******/
SET ANSI_NULLS ON

49
Source/DealerSelection.WebApi/Scripts/004 -CancelOrderChanges.sql

@ -0,0 +1,49 @@
ALTER TABLE [dbo].[tbl_transaction_details]
ADD RefundReferenceNo varchar(50)
/****** Object: StoredProcedure [DealerSelection].[usp_get_BookingDetail_OnBookingId] Script Date: 1/2/2024 12:08:07 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [DealerSelection].[usp_get_BookingDetail_OnBookingId]
(
@bookingId VARCHAR(50),
@transactionId VARCHAR(50)
)
AS
BEGIN
SELECT t.BuId,t.RecordId,t.AmountPaid FROM tbl_transaction_details t
where t.BookingId=@bookingId and t.CCTransactionId=@transactionId
END
GO
/****** Object: StoredProcedure [DealerSelection].[usp_update_RefundStatus] Script Date: 1/2/2024 12:08:07 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [DealerSelection].[usp_update_RefundStatus]
(
-- Add the parameters for the stored procedure here
@BuId INT,
@BookingId varchar(50),
@CCTransactionId varchar(50),
@RefundReferenceNo varchar(50),
@CCTransactionStatus varchar(50),
@CCTransactionStatusReason varchar(100)
)
AS
BEGIN
SET NOCOUNT ON
UPDATE [dbo].[tbl_transaction_details]
SET
RefundReferenceNo=@RefundReferenceNo,
CCTransactionStatus=@CCTransactionStatus,
CCTransactionStatusReason = @CCTransactionStatusReason
WHERE BookingId=@BookingId and CCTransactionId = @CCTransactionId and BuId=@BuId
END
GO

113
Source/DealerSelection.WebApi/appsettings-PreProd.json

@ -1,13 +1,11 @@
{
"BrowseSwagger": true,
"CCAvenuePayUrl": "https://test.ccavenue.com",
"CCAvenueApiPayUrl": "https://apitest.ccavenue.com",
"WebsiteDomain": "https://ktm-preprod.bajajauto.com",
"BrowseSwagger": true,
"ValidateAudience": true,
"CCAvenueApiPayUrl": "https://apitest.ccavenue.com",
"aZureWorkspaceId": "4247310d-8a93-4d54-8da5-505aa28817f1",
"aZureSharedKey": "Rzbo3gQ6Y/ltNuWITVkhQKnlNolNxKzXSQLWYy9BNjFvClTXOByXqxyNmoGVp2QWXZlf9eWBiew1VnNj1jb3Eg==",
"aZureLogType": "ASP_CL",
"aZureApiVersion": "2016-04-01",
"pdfBaseUrl": "https://booking-preprod.bajajauto.com/",
"masterSchemaId": "609ea70c-2e28-472e-bad4-bd5fab0ed5c3",
"masterDealerDetailSchemaId": "419620e3-e716-488e-ac07-12b3bbcc6032",
"muleSoftAPIClientID": "4153b3740b224f32a1067cc57b0e155a",
@ -16,102 +14,47 @@
"muleSoftAPIDomain": "https://apiqa.bajajauto.com/aggregator/dealer/api/v1/cdms/nearest-dealers",
"muleSoftDealerDetail": "https://apiqa.bajajauto.com/aggregator/dealer/api/v1/cdms/dealer-by-branch-code",
"muleSoftBookingAPILeadSquareDomain": "https://apiqa.bajajauto.com/web/booking/api/v1/lsq/create",
"muleSoftAPILeadSquareDomain": "https://apiqa.bajajauto.com/web/lead/api/v1",
"muleSoftStateWisePrice": "https://apiqa.bajajauto.com/aggregator/pricing/api/v1/cdms/model-price-by-state",
"muleSoftStateWisePricemasterSchemaId": "24349d3f-aa51-45a1-b322-9171250c4266",
"muleSoftBrandWiseModel": "https://apiqa.bajajauto.com/aggregator/product/api/v1/cdms/models-by-brand",
"muleSoftBrandWiseModelmasterSchemaId": "f87246d2-a5e1-4b3c-912d-6925034da347",
"muleSoftStateMasterSchemaId": "dfb36d56-7640-4b8b-a4a6-3849716140b4",
"muleSoftStateMasterSchemaApi": "https://apiqa.bajajauto.com/aggregator-xapi-qa/api/v1/cdms/get-active-states",
"muleSoftCityMasterSchemaId": "dfb36d56-7640-4b8b-a4a6-3849716140b4",
"muleSoftCityMasterSchemaApi": "https://apiqa.bajajauto.com/aggregator-xapi-qa/api/v1/cdms/get-active-cities",
"muleSoftModelMasterSchemaItemId": "f87246d2-a5e1-4b3c-912d-6925034da347",
"muleSoftModelMasterSchemaItemApi": "https://apiqa.bajajauto.com/aggregator/product/api/v1/cdms/model-details-by-item-code",
"MuleSoftCacheGetDealers": "30",
"MuleSoftCacheGetDealersDetail": "30",
"MuleSoftCacheGetPriceOnState": "30",
"MuleSoftCacheGetModelOnBrand": "30",
"MuleSoftCacheMulesoftBookingApi": "30",
"MuleSoftCacheGetActiveState": "30",
"MuleSoftCacheGetActiveCity": "30",
"MuleSoftCacheModelDetails": "30",
"WebEngageLicenseCode": "~71680635",
"WebEngageAuthToken": "3b5e4004-cef4-4bde-86c6-c8a9944cd846",
"WebengageApiHost": "https://api.webengage.com/v1/accounts/",
"KtmCfg": {
"Buid": 1,
"BuCode": "PB",
"ValidateDuplicate": "true",
"ValidateDuplicateHr": 1,
"DefaultDealerCode": "Bajaj",
"CCAvenueAccessCode": "AVMM05KI16AB01MMBA",
"CCAvenueMerchantCode": "350479",
"CCAvenueBaseUrl": "https://ktm-preprod.bajajauto.com/booking-payment-confirmation",
"BookingPrice": "4499",
"CCAvenueWorkingKey": "DBE1BE94DE347D8CEA2BBE3AD546DF52",
"InfoBipAppilcationId": "60F6C124CF5046E4C3ABCBD6FBB1ADDF",
"InfoBipMessageId": "124F63476054C62171E6A7967C11140E",
"InfoBipFrom": "KTMIND",
"LandingPageUrl": "https://ktm-preprod.bajajauto.com/booking",
"WebengageEventName": "KTM Booking Status",
"WebEngageLicenseCode": "~71680635",
"WebEngageAuthToken": "3b5e4004-cef4-4bde-86c6-c8a9944cd846",
"WebengageApiHost": "https://api.webengage.com/v1/accounts/",
"ClientId": "ee12e3d9cb9a4dc6af3599934cc4152b",
"ClientSecret": "92a2bede7b414cb19861efa3cc3a8c0d",
"Key": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
"Audience": "https://ktm-preprod.bajajauto.com",
"Issuer": "https://booking-dev.bajajauto.com/",
"Role": "Admin",
"ExpireMinutes": "30"
"WebengageEventName": "KTM Booking Status"
},
"BajajCfg": {
"Buid": 2,
"BuCode": "MC",
"ValidateDuplicate": "true",
"ValidateDuplicateHr": 1,
"DefaultDealerCode": "Bajaj",
"CCAvenueAccessCode": "AVNL05KI17AO75LNOA",
"CCAvenueMerchantCode": "350479",
"CCAvenueBaseUrl": "https://bajaj-preprod.bajajauto.com/booking-payment-confirmation",
"BookingPrice": "4499",
"CCAvenueWorkingKey": "A381A69AA83B8A13E92310E85CEA0937",
"InfoBipAppilcationId": "A9947BEB79BC4E081D2D75F69D32E180",
"InfoBipMessageId": "71589CC8ABEB0F5B17CCF7D32E970A0A",
"InfoBipFrom": "BAJAUT",
"LandingPageUrl": "https://bajaj-preprod.bajajauto.com/booking",
"WebengageEventName": "BA - Booking Status",
"WebEngageLicenseCode": "~71680635",
"WebEngageAuthToken": "3b5e4004-cef4-4bde-86c6-c8a9944cd846",
"WebengageApiHost": "https://api.webengage.com/v1/accounts/",
"ClientId": "ee12e3d9cb9a4dc6af3599934cc4152b",
"ClientSecret": "92a2bede7b414cb19861efa3cc3a8c0d",
"Key": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
"Audience": "https://bajaj-preprod.bajajauto.com",
"Issuer": "https://booking-dev.bajajauto.com/",
"Role": "Admin",
"ExpireMinutes": "30"
"WebengageEventName": "Bajaj Booking Dealer Status"
},
"TriumphCfg": {
"Buid": 3,
"BuCode": "TRM",
"ValidateDuplicate": "false",
"ValidateDuplicateHr": 1,
"DefaultDealerCode": "Bajaj",
"CCAvenueAccessCode": "AVEB04KE93CJ71BEJC",
"CCAvenueMerchantCode": "284786",
"CCAvenueBaseUrl": "https://www.ktm-uat2.bajajauto.com/booking-payment-confirmation",
"BookingPrice": "10000",
"CCAvenueWorkingKey": "C3673417B0712B2A4FE9618F7723C850",
"InfoBipAppilcationId": "5285F0C5B69C6BE6329E28388ABC47B7",
"InfoBipMessageId": "79A55D0C9D2B603193792064435F2F3D",
"InfoBipFrom": "TRIUMF",
"LandingPageUrl": "https://www.triumphindia-preprod.bajajauto.com",
"WebengageEventName": "TH Booking Status",
"WebEngageLicenseCode": "~71680635",
"WebEngageAuthToken": "3b5e4004-cef4-4bde-86c6-c8a9944cd846",
"WebengageApiHost": "https://api.webengage.com/v1/accounts/",
"ClientId": "ee12e3d9cb9a4dc6af3599934cc4152b",
"ClientSecret": "92a2bede7b414cb19861efa3cc3a8c0d",
"Key": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
"Audience": "https://www.triumphindia-preprod.bajajauto.com",
"Issuer": "https://booking-dev.bajajauto.com/",
"Role": "Admin",
"ExpireMinutes": "30"
"WebengageEventName": "TR Booking Dealer Status"
},
"HusqvarnaCfg": {
"Buid": 4,
"BuCode": "PB",
"DefaultDealerCode": "Bajaj",
"CCAvenueAccessCode": "AVTU05KL38AN93UTNA",
"CCAvenueMerchantCode": "350479",
"CCAvenueWorkingKey": "E6DA6A3D50EC6B5FF1B98E1A6B309A6A",
"WebengageEventName": "Husq Booking Dealer Status"
},
"Logging": {
"LogLevel": {
@ -121,14 +64,16 @@
},
"AllowedHosts": "*",
"IncludeErrorInResponse": true,
"ConnectionStrings": {
"ConnectionStrings": {
"AZURE_LOGGING": "InstrumentationKey=2fead737-737a-4241-9e66-dfc5391583ba;IngestionEndpoint=https://centralindia-0.in.applicationinsights.azure.com/;LiveEndpoint=https://centralindia.livediagnostics.monitor.azure.com/"
},
"Jwt": {
"ExpireMinutes": "30",
"Key": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
"Issuer": "https://booking-dev.bajajauto.com/",
"Audience": "https://ktm-preprod.bajajauto.com/,https://bajaj-preprod.bajajauto.com/,https://www.triumphindia-preprod.bajajauto.com/"
"ClientId": "017dd38ae36840efab28579d22b3ee1a",
"ClientSecret": "c520c4481fa240bb8bb4890a64b7c1e4",
"Key": "25282d1a0281491a9ab83895c1446aac",
"Audience": "https://apiqa.bajajauto.com",
"Issuer": "https://dealerselection-preprod.bajajauto.com",
"Role": "Admin",
"ExpireMinutes": "30"
}
}

112
Source/DealerSelection.WebApi/appsettings-Prod.json

@ -1,122 +1,60 @@
{
"BrowseSwagger": false,
"CCAvenuePayUrl": "https://secure.ccavenue.com",
"ValidateAudience": true,
"CCAvenueApiPayUrl": "https://api.ccavenue.com",
"WebsiteDomain": "https://www.ktmindia.com",
"aZureWorkspaceId": "ce325602-2461-42bd-8d00-8cbabdef6115",
"aZureSharedKey": "sHmJvWK++IruJAnJV7kaRN9MaIFmg6u8MLoeFnU5IS2jmrxnFQUdPqtZitOq9wctisHy2wrX5yxCcGvRCe2AHQ==",
"aZureLogType": "ASP_CL",
"aZureApiVersion": "2016-04-01",
"pdfBaseUrl": "https://booking.bajajauto.com/",
"masterSchemaId": "609ea70c-2e28-472e-bad4-bd5fab0ed5c3",
"masterDealerDetailSchemaId": "419620e3-e716-488e-ac07-12b3bbcc6032",
"muleSoftAPIClientID": "bf659e9b99db4f468d2c525ac9fd60ab",
"muleSoftAIPClientSecret": "Aa6362a22f544161BbD2322d3f1aDDdF",
"muleSoftStateWisePricemasterSchemaId": "24349d3f-aa51-45a1-b322-9171250c4266",
"muleSoftBrandWiseModelmasterSchemaId": "f87246d2-a5e1-4b3c-912d-6925034da347",
"muleSoftStateMasterSchemaId": "dfb36d56-7640-4b8b-a4a6-3849716140b4",
"muleSoftCityMasterSchemaId": "dfb36d56-7640-4b8b-a4a6-3849716140b4",
"muleSoftModelMasterSchemaItemId": "f87246d2-a5e1-4b3c-912d-6925034da347",
"muleSoftGenerateTokenURL": "https://api.bajajauto.com/oauth-app/api/v1",
"muleSoftAPIDomain": "https://api.bajajauto.com/aggregator/dealer/api/v1/cdms/nearest-dealers",
"muleSoftDealerDetail": "https://api.bajajauto.com/aggregator/dealer/api/v1/cdms/dealer-by-branch-code",
"muleSoftBookingAPILeadSquareDomain": "https://api.bajajauto.com/web/booking/api/v1/lsq/create",
"muleSoftAPILeadSquareDomain": "https://apiqa.bajajauto.com/web/lead/api/v1",
"muleSoftStateWisePrice": "https://api.bajajauto.com/aggregator/pricing/api/v1/cdms/model-price-by-state",
"muleSoftBrandWiseModel": "https://api.bajajauto.com/aggregator/product/api/v1/cdms/models-by-brand",
"muleSoftStateMasterSchemaApi": "https://api.bajajauto.com/aggregator/product/api/v1/cdms/get-active-states",
"muleSoftCityMasterSchemaApi": "https://api.bajajauto.com/aggregator/product/api/v1/cdms/get-active-cities",
"muleSoftModelMasterSchemaItemApi": "https://api.bajajauto.com/aggregator/product/api/v1/cdms/model-details-by-item-code",
"MuleSoftCacheGetDealers": "30",
"MuleSoftCacheGetDealersDetail": "30",
"MuleSoftCacheGetPriceOnState": "30",
"MuleSoftCacheGetModelOnBrand": "30",
"MuleSoftCacheMulesoftBookingApi": "30",
"MuleSoftCacheGetActiveState": "30",
"MuleSoftCacheGetActiveCity": "30",
"MuleSoftCacheModelDetails": "30",
"WebEngageLicenseCode": "~99198ab8",
"WebEngageAuthToken": "bc44d779-3920-4dfd-a12b-5a9c63550e2e",
"WebengageApiHost": "https://api.webengage.com/v1/accounts/",
"KtmCfg": {
"Buid": 1,
"BuCode": "PB",
"ValidateDuplicate": "true",
"ValidateDuplicateHr": 1,
"DefaultDealerCode": "Bajaj",
"CCAvenueAccessCode": "AVBO09KI17AB45OBBA",
"CCAvenueMerchantCode": "350479",
"CCAvenueBaseUrl": "https://www.ktmindia.com/booking-payment-confirmation",
"BookingPrice": "4499",
"CCAvenueWorkingKey": "E35D39B2330BC9CB33C382EDE60FB9CE",
"InfoBipAppilcationId": "60F6C124CF5046E4C3ABCBD6FBB1ADDF",
"InfoBipMessageId": "124F63476054C62171E6A7967C11140E",
"InfoBipFrom": "KTMIND",
"LandingPageUrl": "https://www.ktmindia.com/booking",
"WebengageEventName": "KTM Booking Status",
"WebEngageLicenseCode": "~99198ab8",
"WebEngageAuthToken": "bc44d779-3920-4dfd-a12b-5a9c63550e2e",
"WebengageApiHost": "https://api.webengage.com/v1/accounts/",
"ClientId": "18aa3b842faa445caacc0a8e14c4f15b",
"ClientSecret": "a2e74e3a828248eca26146e14427666e",
"Key": "e8b16571598147329f71bba4a6b09639",
"Issuer": "https://booking.bajajauto.com/",
"Audience": "https://www.ktmindia.com/",
"Role": "Admin",
"ExpireMinutes": "30"
"WebengageEventName": "KTM Booking Status"
},
"BajajCfg": {
"Buid": 2,
"BuCode": "MC",
"ValidateDuplicate": "true",
"ValidateDuplicateHr": 1,
"DefaultDealerCode": "Bajaj",
"CCAvenueAccessCode": "AVCY04IC46AW64YCWA",
"CCAvenueMerchantCode": "350479",
"CCAvenueBaseUrl": "https://www.bajajauto.com/booking-payment-confirmation",
"BookingPrice": "4499",
"CCAvenueWorkingKey": "A9E1939F1456D3A29B2A076A350F19A2",
"InfoBipAppilcationId": "A9947BEB79BC4E081D2D75F69D32E180",
"InfoBipMessageId": "71589CC8ABEB0F5B17CCF7D32E970A0A",
"InfoBipFrom": "BAJAUT",
"LandingPageUrl": "https://www.bajajauto.com/booking",
"WebengageEventName": "BAJAJ Booking Status",
"WebEngageLicenseCode": "~99198ab8",
"WebEngageAuthToken": "bc44d779-3920-4dfd-a12b-5a9c63550e2e",
"WebengageApiHost": "https://api.webengage.com/v1/accounts/",
"ClientId": "18aa3b842faa445caacc0a8e14c4f15b",
"ClientSecret": "a2e74e3a828248eca26146e14427666e",
"Key": "e8b16571598147329f71bba4a6b09639",
"Issuer": "https://booking.bajajauto.com/",
"Audience": "https://www.ktmindia.com/",
"Role": "Admin",
"ExpireMinutes": "30"
"WebengageEventName": "BAJAJ Booking Status"
},
"TriumphCfg": {
"Buid": 3,
"BuCode": "TRM",
"ValidateDuplicate": "true",
"ValidateDuplicateHr": 1,
"DefaultDealerCode": "Bajaj",
"CCAvenueAccessCode": "AVEB04KE93CJ71BEJC",
"CCAvenueMerchantCode": "284786",
//"CCAvenueBaseUrl": "https://www.triumphindia-preprod.bajajauto.com",
"CCAvenueBaseUrl": "https://www.ktm-uat2.bajajauto.com/booking-payment-confirmation",
"BookingPrice": "10000",
"CCAvenueWorkingKey": "C3673417B0712B2A4FE9618F7723C850",
"InfoBipAppilcationId": "5285F0C5B69C6BE6329E28388ABC47B7",
"InfoBipMessageId": "79A55D0C9D2B603193792064435F2F3D",
"InfoBipFrom": "TRIUMF",
"LandingPageUrl": "https://www.triumphindia-preprod.bajajauto.com",
"WebengageEventName": "TH Booking Status",
"WebEngageLicenseCode": "~99198ab8",
"WebEngageAuthToken": "bc44d779-3920-4dfd-a12b-5a9c63550e2e",
"WebengageApiHost": "https://api.webengage.com/v1/accounts/",
"ClientId": "18aa3b842faa445caacc0a8e14c4f15b",
"ClientSecret": "a2e74e3a828248eca26146e14427666e",
"Key": "e8b16571598147329f71bba4a6b09639",
"Issuer": "https://booking.bajajauto.com/",
"Audience": "https://www.ktmindia.com/",
"Role": "Admin",
"ExpireMinutes": "30"
"WebengageEventName": "TH Booking Status"
},
"HusqvarnaCfg": {
"Buid": 4,
"BuCode": "PB",
"DefaultDealerCode": "Bajaj",
"CCAvenueAccessCode": "AVLG50LA77BN67GLNB",
"CCAvenueMerchantCode": "350479",
"CCAvenueWorkingKey": "6528CFD311E21B2BAE06F4639C65943B",
"WebengageEventName": "Husq Booking Dealer Status"
},
"Logging": {
"LogLevel": {
@ -130,10 +68,12 @@
"AZURE_LOGGING": "InstrumentationKey=65f520ac-20e4-4db7-bdf6-aa8cc225c7ce;IngestionEndpoint=https://centralindia-0.in.applicationinsights.azure.com/;LiveEndpoint=https://centralindia.livediagnostics.monitor.azure.com/"
},
"Jwt": {
"ExpireMinutes": "30",
"Key": "e8b16571598147329f71bba4a6b09639",
"Issuer": "https://booking.bajajauto.com/",
"Audience": "https://www.ktmindia.com/"
"ClientId": "c8aee1cd6eaf463dadf800890eb1df82",
"ClientSecret": "a0b956e7d1344679a784120178265ab1",
"Key": "1625e36b165e4a9e9eb0130bb6492eda",
"Audience": "https://api.bajajauto.com",
"Issuer": "https://dealerselection.bajajauto.com",
"Role": "Admin",
"ExpireMinutes": "30"
}
}

25
Source/DealerSelection.WebApi/appsettings.json

@ -2,7 +2,6 @@
"BrowseSwagger": true,
"ValidateAudience": true,
"CCAvenueApiPayUrl": "https://apitest.ccavenue.com",
"WebsiteDomain": "https://www.ktm-uat2.bajajauto.com",
"aZureWorkspaceId": "4247310d-8a93-4d54-8da5-505aa28817f1",
"aZureSharedKey": "Rzbo3gQ6Y/ltNuWITVkhQKnlNolNxKzXSQLWYy9BNjFvClTXOByXqxyNmoGVp2QWXZlf9eWBiew1VnNj1jb3Eg==",
"aZureLogType": "ASP_CL",
@ -14,26 +13,10 @@
"muleSoftGenerateTokenURL": "https://apiqa.bajajauto.com/oauth-app-qa/api/v1",
"muleSoftAPIDomain": "https://apiqa.bajajauto.com/aggregator/dealer/api/v1/cdms/nearest-dealers",
"muleSoftDealerDetail": "https://apiqa.bajajauto.com/aggregator/dealer/api/v1/cdms/dealer-by-branch-code",
"muleSoftBookingAPILeadSquareDomain": "https://apiqa.bajajauto.com/web/booking/api/v1/lsq/create",
"muleSoftAPILeadSquareDomain": "https://apiqa.bajajauto.com/web/lead/api/v1",
"muleSoftStateWisePrice": "https://apiqa.bajajauto.com/aggregator/pricing/api/v1/cdms/model-price-by-state",
"muleSoftStateWisePricemasterSchemaId": "24349d3f-aa51-45a1-b322-9171250c4266",
"muleSoftBrandWiseModel": "https://apiqa.bajajauto.com/aggregator/product/api/v1/cdms/models-by-brand",
"muleSoftBrandWiseModelmasterSchemaId": "f87246d2-a5e1-4b3c-912d-6925034da347",
"muleSoftStateMasterSchemaId": "dfb36d56-7640-4b8b-a4a6-3849716140b4",
"muleSoftStateMasterSchemaApi": "https://apiqa.bajajauto.com/aggregator-xapi-qa/api/v1/cdms/get-active-states",
"muleSoftCityMasterSchemaId": "dfb36d56-7640-4b8b-a4a6-3849716140b4",
"muleSoftCityMasterSchemaApi": "https://apiqa.bajajauto.com/aggregator-xapi-qa/api/v1/cdms/get-active-cities",
"muleSoftModelMasterSchemaItemId": "f87246d2-a5e1-4b3c-912d-6925034da347",
"muleSoftModelMasterSchemaItemApi": "https://apiqa.bajajauto.com/aggregator/product/api/v1/cdms/model-details-by-item-code",
"muleSoftBookingAPILeadSquareDomain": "https://apiqa.bajajauto.com/web/booking/api/v1/lsq/create",
"MuleSoftCacheGetDealers": "30",
"MuleSoftCacheGetDealersDetail": "30",
"MuleSoftCacheGetPriceOnState": "30",
"MuleSoftCacheGetModelOnBrand": "30",
"MuleSoftCacheGetDealersDetail": "30",
"MuleSoftCacheMulesoftBookingApi": "30",
"MuleSoftCacheGetActiveState": "30",
"MuleSoftCacheGetActiveCity": "30",
"MuleSoftCacheModelDetails": "30",
"WebEngageLicenseCode": "~71680635",
"WebEngageAuthToken": "3b5e4004-cef4-4bde-86c6-c8a9944cd846",
"WebengageApiHost": "https://api.webengage.com/v1/accounts/",
@ -53,7 +36,7 @@
"CCAvenueAccessCode": "AVNL05KI17AO76LNOA",
"CCAvenueMerchantCode": "350479",
"CCAvenueWorkingKey": "6FD791AC3A7177E9139215B32278AFDB",
"WebengageEventName": ""
"WebengageEventName": "Bajaj Booking Dealer Status"
},
"TriumphCfg": {
"Buid": 3,
@ -71,7 +54,7 @@
"CCAvenueAccessCode": "AVRE05KK36CL99ERLC",
"CCAvenueMerchantCode": "350479",
"CCAvenueWorkingKey": "BA1433F7A2D39F01CA9EE95ED5218A72",
"WebengageEventName": ""
"WebengageEventName": "Husq Booking Dealer Status"
},
"Logging": {
"LogLevel": {

6
Source/DealerSelection.WebApi/connectionString-Prod.json

@ -1,9 +1,9 @@
{
"ConnectionStrings": {
"BAJAJ": "user id=sqlAdmin;password=bFLW43%p40^;Data Source=mc-5f2bf602-449a-48b2-ae5a-5901-sql.database.windows.net,1433;Database=bajaj;",
"BOOKING": "user id=sqlAdmin;password=xAw01%M%t2R;Data Source=mc-a85c8764-3d51-42b1-8600-7409-sql.database.windows.net,1433;Database=Booking;"
"BAJAJ": "user id=sqlAdmin;password=bFLW43%p40^;Data Source=mc-5f2bf602-449a-48b2-ae5a-5901-sql.database.windows.net,1433;Database=bajaj;",
"BOOKING": "user id=sqlAdmin;password=xAw01%M%t2R;Data Source=mc-a85c8764-3d51-42b1-8600-7409-sql.database.windows.net,1433;Database=Booking;",
"AZURE_LOGGING": "InstrumentationKey=65f520ac-20e4-4db7-bdf6-aa8cc225c7ce;IngestionEndpoint=https://centralindia-0.in.applicationinsights.azure.com/;LiveEndpoint=https://centralindia.livediagnostics.monitor.azure.com/"
}
}
Loading…
Cancel
Save