Commit 0029c62d authored by Alok Joshi's avatar Alok Joshi
Browse files

extract notificationId as it is

parent 42e9f45d
Pipeline #60350 failed with stages
in 25 minutes and 22 seconds
......@@ -114,7 +114,7 @@ public class EventGridRequestBodyExtractor implements IPubsubRequestBodyExtracto
throw new AppException(HttpStatus.BAD_REQUEST.value(), "Invalid Event Grid Message", "Subscription ID not found");
}
return subscriptionId.toLowerCase();
return subscriptionId;
}
/**
......
......@@ -190,7 +190,7 @@ public class EventGridRequestBodyExtractorTest {
String observed = sut.extractNotificationIdFromRequestBody();
// Assert
Assert.assertEquals("notificationid", observed);
Assert.assertEquals("NotificationId", observed);
// Set Up
when(this.httpServletRequest.getHeader("Aeg-Subscription-Name")).thenReturn(null);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment