From a54082e68baa910f84b66158ac8c116dbeab530d Mon Sep 17 00:00:00 2001 From: DanielMjosRoli Date: Thu, 17 Oct 2024 13:55:14 +0200 Subject: [PATCH] Done with SQS and SNS --- WorkshopBackend/OrderService/Controllers/OrderController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WorkshopBackend/OrderService/Controllers/OrderController.cs b/WorkshopBackend/OrderService/Controllers/OrderController.cs index e49adda..f0fd0cc 100644 --- a/WorkshopBackend/OrderService/Controllers/OrderController.cs +++ b/WorkshopBackend/OrderService/Controllers/OrderController.cs @@ -15,8 +15,8 @@ public class OrderController : ControllerBase private readonly IAmazonSQS _sqs; private readonly IAmazonSimpleNotificationService _sns; private readonly IAmazonEventBridge _eventBridge; - private readonly string _queueUrl = ""; // Format of https://.* - private readonly string _topicArn = ""; // Format of arn:aws.* + private readonly string _queueUrl = "https://sqs.eu-north-1.amazonaws.com/637423341661/danielmjosroliOrderQueue"; // Format of https://.* + private readonly string _topicArn = "arn:aws:sns:eu-north-1:637423341661:danielmjosroliOrderCreatedTopic"; // Format of arn:aws.* public OrderController() {