Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Notification
Commits
7521bae2
Commit
7521bae2
authored
Jan 14, 2021
by
Komal Makkar
Browse files
minor changes
parent
225a2eeb
Pipeline
#21628
failed with stages
in 3 minutes and 49 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
provider/notification-azure/src/test/java/org/opengroup/osdu/notification/provider/azure/pubsub/EventGridRequestBodyExtractorTest.java
View file @
7521bae2
...
@@ -50,7 +50,7 @@ public class EventGridRequestBodyExtractorTest {
...
@@ -50,7 +50,7 @@ public class EventGridRequestBodyExtractorTest {
public
void
should_returnTrue_isHandshakeRequest
()
throws
IOException
{
public
void
should_returnTrue_isHandshakeRequest
()
throws
IOException
{
// Set up
// Set up
String
validHandshakeRequestRoot
=
String
validHandshakeRequestRoot
=
"[{\"id\":\"2d1781af-3a4c-4d7c-bd0c-e34b19da4e66\",\"topic\":\"/subscriptions
/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
\",\"subject\":\"\",\"data\":{\"validationCode\":\"sample\",\"validationUrl\":\"https://rp-eastus2.eventgrid.azure.net:553/eventsubscriptions/estest/validate?id=sample&t=2018-04-26T20:30:54.4538837Z&apiVersion=2018-05-01-preview&token=1A1A1A1A\"},\"eventType\":\"Microsoft.EventGrid.SubscriptionValidationEvent\",\"eventTime\":\"2018-01-25T22:12:19.4556811Z\",\"metadataVersion\":\"1\",\"dataVersion\":\"1\"}]"
;
"[{\"id\":\"2d1781af-3a4c-4d7c-bd0c-e34b19da4e66\",\"topic\":\"/subscriptions\",\"subject\":\"\",\"data\":{\"validationCode\":\"sample\",\"validationUrl\":\"https://rp-eastus2.eventgrid.azure.net:553/eventsubscriptions/estest/validate?id=sample&t=2018-04-26T20:30:54.4538837Z&apiVersion=2018-05-01-preview&token=1A1A1A1A\"},\"eventType\":\"Microsoft.EventGrid.SubscriptionValidationEvent\",\"eventTime\":\"2018-01-25T22:12:19.4556811Z\",\"metadataVersion\":\"1\",\"dataVersion\":\"1\"}]"
;
setServletRequest
(
validHandshakeRequestRoot
);
setServletRequest
(
validHandshakeRequestRoot
);
// Act
// Act
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment