File tree Expand file tree Collapse file tree 3 files changed +2
-11
lines changed
BervProject.WebApi.Boilerplate Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -10,29 +10,20 @@ public class AzureStorage
1010 {
1111 public StorageQueue Queue { get ; set ; }
1212 public BlobStorage Blob { get ; set ; }
13- public TableStorage Table { get ; set ; }
1413 }
1514
1615 public class BlobStorage
1716 {
18- public string ConnectionString { get ; set ; }
1917 public string ContainerName { get ; set ; }
2018 }
2119
2220 public class StorageQueue
2321 {
24- public string ConnectionString { get ; set ; }
2522 public string QueueName { get ; set ; }
2623 }
2724
28- public class TableStorage
29- {
30- public string ConnectionString { get ; set ; }
31- }
32-
3325 public class AzureServiceBus
3426 {
35- public string ConnectionString { get ; set ; }
3627 public string QueueName { get ; set ; }
3728 public string TopicName { get ; set ; }
3829 }
Original file line number Diff line number Diff line change 7272var app = builder . Build ( ) ;
7373
7474// register Consumer
75- var connectionString = azureConfig . ServiceBus . ConnectionString ;
75+ var connectionString = builder . Configuration . GetConnectionString ( "AzureServiceBus" ) ;
7676var queueName = azureConfig . ServiceBus . QueueName ;
7777var topicName = azureConfig . ServiceBus . TopicName ;
7878if ( ! string . IsNullOrWhiteSpace ( queueName ) && ! string . IsNullOrWhiteSpace ( connectionString ) )
Original file line number Diff line number Diff line change 7171 projects : ' **/*.Test.csproj'
7272 env :
7373 ConnectionStrings__BoilerplateConnectionString : $(postgresConnectionString)
74- - task : PublishCodeCoverageResults@1
74+ - task : PublishCodeCoverageResults@2
7575 displayName : ' Publish code coverage report'
7676 inputs :
7777 codeCoverageTool : ' cobertura'
You can’t perform that action at this time.
0 commit comments