triumph refund api changes #1

Open
rparihar wants to merge 3 commits from feature/triumphrefundApiIntegration into master
  1. 2
      Source/DealerSelection.Api/CommonUtil/CustomConfig.cs
  2. 10
      Source/DealerSelection.WebApi/appsettings-PreProd.json
  3. 8
      Source/DealerSelection.WebApi/appsettings-Prod.json
  4. 34
      Source/DealerSelection.WebApi/appsettings.json

2
Source/DealerSelection.Api/CommonUtil/CustomConfig.cs

@ -60,7 +60,7 @@ namespace DealerSelection.Api.CommonUtil
cfg.DeafaultDealerCode = ConfigurationHelper.GetSetting<string>("BajajCfg:DefaultDealerCode", true); cfg.DeafaultDealerCode = ConfigurationHelper.GetSetting<string>("BajajCfg:DefaultDealerCode", true);
break; break;
case 3:
case 8:
cfg.BuCode = ConfigurationHelper.GetSetting<string>("TriumphCfg:BuCode", true); cfg.BuCode = ConfigurationHelper.GetSetting<string>("TriumphCfg:BuCode", true);
cfg.CCAvenueAccessCode = ConfigurationHelper.GetSetting<string>("TriumphCfg:CCAvenueAccessCode", true); cfg.CCAvenueAccessCode = ConfigurationHelper.GetSetting<string>("TriumphCfg:CCAvenueAccessCode", true);
cfg.CCAvenueMerchantCode = ConfigurationHelper.GetSetting<string>("TriumphCfg:CCAvenueMerchantCode", true); cfg.CCAvenueMerchantCode = ConfigurationHelper.GetSetting<string>("TriumphCfg:CCAvenueMerchantCode", true);

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

@ -39,12 +39,12 @@
"WebengageEventName": "Bajaj Booking Dealer Status" "WebengageEventName": "Bajaj Booking Dealer Status"
}, },
"TriumphCfg": { "TriumphCfg": {
"Buid": 3,
"Buid": 8,
"BuCode": "TRM", "BuCode": "TRM",
"DefaultDealerCode": "Bajaj", "DefaultDealerCode": "Bajaj",
"CCAvenueAccessCode": "AVEB04KE93CJ71BEJC",
"CCAvenueMerchantCode": "284786",
"CCAvenueWorkingKey": "C3673417B0712B2A4FE9618F7723C850",
"CCAvenueAccessCode": "ATNR05LJ97AH65RNHA",
"CCAvenueMerchantCode": "350479",
"CCAvenueWorkingKey": "8C766942C4F9C8098904397CF8BEE7D5",
"WebengageEventName": "TR Booking Dealer Status" "WebengageEventName": "TR Booking Dealer Status"
}, },
"HusqvarnaCfg": { "HusqvarnaCfg": {
@ -65,7 +65,7 @@
"AllowedHosts": "*", "AllowedHosts": "*",
"IncludeErrorInResponse": true, "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/"
"AZURE_LOGGING": "InstrumentationKey=f20fe9dd-35e3-4f99-804f-b77e03d4f2d2;IngestionEndpoint=https://centralindia-0.in.applicationinsights.azure.com/;LiveEndpoint=https://centralindia.livediagnostics.monitor.azure.com/"
}, },
"Jwt": { "Jwt": {
"ClientId": "017dd38ae36840efab28579d22b3ee1a", "ClientId": "017dd38ae36840efab28579d22b3ee1a",

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

@ -39,12 +39,12 @@
"WebengageEventName": "BAJAJ Booking Status" "WebengageEventName": "BAJAJ Booking Status"
}, },
"TriumphCfg": { "TriumphCfg": {
"Buid": 3,
"Buid": 8,
"BuCode": "TRM", "BuCode": "TRM",
"DefaultDealerCode": "Bajaj", "DefaultDealerCode": "Bajaj",
"CCAvenueAccessCode": "AVEB04KE93CJ71BEJC",
"CCAvenueMerchantCode": "284786",
"CCAvenueWorkingKey": "C3673417B0712B2A4FE9618F7723C850",
"CCAvenueAccessCode": "AVUB19LI49BI17BUIB",
"CCAvenueMerchantCode": "350479",
"CCAvenueWorkingKey": "0337CD3FD1293D0DB1DEE56DCDB113E3",
"WebengageEventName": "TH Booking Status" "WebengageEventName": "TH Booking Status"
}, },
"HusqvarnaCfg": { "HusqvarnaCfg": {

34
Source/DealerSelection.WebApi/appsettings.json

@ -13,10 +13,26 @@
"muleSoftGenerateTokenURL": "https://apiqa.bajajauto.com/oauth-app-qa/api/v1", "muleSoftGenerateTokenURL": "https://apiqa.bajajauto.com/oauth-app-qa/api/v1",
"muleSoftAPIDomain": "https://apiqa.bajajauto.com/aggregator/dealer/api/v1/cdms/nearest-dealers", "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", "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",
"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", "MuleSoftCacheGetDealers": "30",
"MuleSoftCacheGetDealersDetail": "30",
"MuleSoftCacheGetDealersDetail": "30",
"MuleSoftCacheGetPriceOnState": "30",
"MuleSoftCacheGetModelOnBrand": "30",
"MuleSoftCacheMulesoftBookingApi": "30", "MuleSoftCacheMulesoftBookingApi": "30",
"MuleSoftCacheGetActiveState": "30",
"MuleSoftCacheGetActiveCity": "30",
"MuleSoftCacheModelDetails": "30",
"WebEngageLicenseCode": "~71680635", "WebEngageLicenseCode": "~71680635",
"WebEngageAuthToken": "3b5e4004-cef4-4bde-86c6-c8a9944cd846", "WebEngageAuthToken": "3b5e4004-cef4-4bde-86c6-c8a9944cd846",
"WebengageApiHost": "https://api.webengage.com/v1/accounts/", "WebengageApiHost": "https://api.webengage.com/v1/accounts/",
@ -36,15 +52,15 @@
"CCAvenueAccessCode": "AVNL05KI17AO76LNOA", "CCAvenueAccessCode": "AVNL05KI17AO76LNOA",
"CCAvenueMerchantCode": "350479", "CCAvenueMerchantCode": "350479",
"CCAvenueWorkingKey": "6FD791AC3A7177E9139215B32278AFDB", "CCAvenueWorkingKey": "6FD791AC3A7177E9139215B32278AFDB",
"WebengageEventName": "Bajaj Booking Dealer Status"
"WebengageEventName": "BA Booking Dealer Status"
}, },
"TriumphCfg": { "TriumphCfg": {
"Buid": 3,
"Buid": 8,
"BuCode": "TRM", "BuCode": "TRM",
"DefaultDealerCode": "Bajaj", "DefaultDealerCode": "Bajaj",
"CCAvenueAccessCode": "AVEB04KE93CJ71BEJC",
"CCAvenueMerchantCode": "284786",
"CCAvenueWorkingKey": "C3673417B0712B2A4FE9618F7723C850",
"CCAvenueAccessCode": "ATNR05LJ97AH64RNHA",
"CCAvenueMerchantCode": "350479",
"CCAvenueWorkingKey": "B5D0B914EFCF87B1A10E6F42411B3E0A",
"WebengageEventName": "" "WebengageEventName": ""
}, },
"HusqvarnaCfg": { "HusqvarnaCfg": {
@ -54,7 +70,7 @@
"CCAvenueAccessCode": "AVRE05KK36CL99ERLC", "CCAvenueAccessCode": "AVRE05KK36CL99ERLC",
"CCAvenueMerchantCode": "350479", "CCAvenueMerchantCode": "350479",
"CCAvenueWorkingKey": "BA1433F7A2D39F01CA9EE95ED5218A72", "CCAvenueWorkingKey": "BA1433F7A2D39F01CA9EE95ED5218A72",
"WebengageEventName": "Husq Booking Dealer Status"
"WebengageEventName": "HUSQ Booking Dealer Status"
}, },
"Logging": { "Logging": {
"LogLevel": { "LogLevel": {
@ -65,7 +81,7 @@
"AllowedHosts": "*", "AllowedHosts": "*",
"IncludeErrorInResponse": true, "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/"
"AZURE_LOGGING": "InstrumentationKey=f20fe9dd-35e3-4f99-804f-b77e03d4f2d2;IngestionEndpoint=https://centralindia-0.in.applicationinsights.azure.com/;LiveEndpoint=https://centralindia.livediagnostics.monitor.azure.com/"
}, },
"Jwt": { "Jwt": {
"ClientId": "5ef10013c846424cbe32aaffbdc2d408", "ClientId": "5ef10013c846424cbe32aaffbdc2d408",

Loading…
Cancel
Save