File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public void ConfigureServices(IServiceCollection services)
7979 var settings = sp . GetRequiredService < IOptions < BasketSettings > > ( ) . Value ;
8080 var logger = sp . GetRequiredService < ILogger < DefaultServiceBusPersisterConnection > > ( ) ;
8181
82- var serviceBusConnection = new ServiceBusConnectionStringBuilder ( settings . ServiceBusConnectionString ) ;
82+ var serviceBusConnection = new ServiceBusConnectionStringBuilder ( settings . EventBusConnection ) ;
8383
8484 return new DefaultServiceBusPersisterConnection ( serviceBusConnection , logger ) ;
8585 } ) ;
Original file line number Diff line number Diff line change 99 },
1010 "IdentityUrl" : " http://localhost:5105" ,
1111 "ConnectionString" : " 127.0.0.1" ,
12- "AzureServiceBusEnabled" : " true " ,
12+ "AzureServiceBusEnabled" : false ,
1313 "SubscriptionClientName" : " Basket"
1414}
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ public void ConfigureServices(IServiceCollection services)
118118 var settings = sp . GetRequiredService < IOptions < CatalogSettings > > ( ) . Value ;
119119 var logger = sp . GetRequiredService < ILogger < DefaultServiceBusPersisterConnection > > ( ) ;
120120
121- var serviceBusConnection = new ServiceBusConnectionStringBuilder ( settings . ServiceBusConnectionString ) ;
121+ var serviceBusConnection = new ServiceBusConnectionStringBuilder ( settings . EventBusConnection ) ;
122122
123123 return new DefaultServiceBusPersisterConnection ( serviceBusConnection , logger ) ;
124124 } ) ;
Original file line number Diff line number Diff line change 99 "Microsoft" : " Information"
1010 }
1111 },
12- "AzureServiceBusEnabled" : " true " ,
12+ "AzureServiceBusEnabled" : false ,
1313 "SubscriptionClientName" : " Catalog"
1414}
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ public IServiceProvider ConfigureServices(IServiceCollection services)
121121 {
122122 var logger = sp . GetRequiredService < ILogger < DefaultServiceBusPersisterConnection > > ( ) ;
123123
124- var serviceBusConnectionString = Configuration [ "ServiceBusConnectionString " ] ;
124+ var serviceBusConnectionString = Configuration [ "EventBusConnection " ] ;
125125 var serviceBusConnection = new ServiceBusConnectionStringBuilder ( serviceBusConnectionString ) ;
126126
127127 return new DefaultServiceBusPersisterConnection ( serviceBusConnection , logger ) ;
Original file line number Diff line number Diff line change 99 "Microsoft" : " Information"
1010 }
1111 },
12- "AzureServiceBusEnabled" : " true " ,
12+ "AzureServiceBusEnabled" : false ,
1313 "SubscriptionClientName" : " Ordering"
1414}
You can’t perform that action at this time.
0 commit comments