This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "topic", | |
| "name": "topic-name", | |
| "subscribers": [ | |
| { | |
| "name": "topic-name-subscriber-one" | |
| }, | |
| { | |
| "name": "topic-name-subscriber-two" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "topic", | |
| "name": "topic-name", | |
| "frequencyIntervalSeconds": 10, | |
| "subscribers": [ | |
| { | |
| "name": "topic-name-subscriber-one", | |
| "url": "https://subscriberserviceone.azurewebsites.net/api/incomingMessage/topic-name" | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class LogicAppBootstrapper : IBootstrapSubscribers | |
| { | |
| private readonly SubscriberOptions _config; | |
| private readonly IAzure _azure; | |
| private readonly string _logicAppJsonTemplate; | |
| public LogicAppBootstrapper( | |
| IOptions<SubscriberOptions> config, | |
| IAzure azure, | |
| IFileReader fileReader) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ServiceBusBootstrapper : IBootstrapServiceBus | |
| { | |
| private readonly IDataProvider<Topic> _topicDataProvider; | |
| private readonly ManagementClient _serviceBusClient; | |
| public ServiceBusBootstrapper(IDataProvider<Topic> topicDataProvider, | |
| ManagementClient serviceBusClient) | |
| { | |
| _topicDataProvider = topicDataProvider; | |
| _serviceBusClient = serviceBusClient; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ServiceBusBootstrapper : IBootstrapServiceBus | |
| { | |
| private readonly IDataProvider<Topic> _topicDataProvider; | |
| private readonly ManagementClient _serviceBusClient; | |
| public ServiceBusBootstrapper(IDataProvider<Topic> topicDataProvider, | |
| ManagementClient serviceBusClient) | |
| { | |
| _topicDataProvider = topicDataProvider; | |
| _serviceBusClient = serviceBusClient; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "resources": [ | |
| { | |
| "name": "[parameters('logicAppName')]", | |
| "type": "Microsoft.Logic/workflows", | |
| "location": "[parameters('logicAppLocation')]", | |
| "tags": { | |
| "displayName": "LogicApp" | |
| }, | |
| "identity": { | |
| "type": "UserAssigned", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "Condition": { | |
| "actions": { | |
| "Complete_the_message_in_a_topic_subscription": { | |
| "runAfter": {}, | |
| "type": "ApiConnection", | |
| "inputs": { | |
| "host": { | |
| "connection": { | |
| "name": "@parameters('$connections')['servicebus']['connectionId']" | |
| } |
NewerOlder