From 5510780cf40072ef59229707ebadbd08d0d90350 Mon Sep 17 00:00:00 2001 From: bjorgastrid Date: Thu, 17 Oct 2024 14:24:30 +0200 Subject: [PATCH] followed the steps --- 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..d6bee92 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/bjorgastridOrderQueue"; // Format of https://.* + private readonly string _topicArn = "arn:aws:sns:eu-north-1:637423341661:bjorgastridOrderCreatedTopic"; // Format of arn:aws.* public OrderController() {