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
238aacc6
Commit
238aacc6
authored
Nov 22, 2020
by
Komal Makkar
Browse files
undoing stray changes
parent
eb8eedb4
Pipeline
#16823
failed with stages
in 17 minutes and 39 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
notification-core/src/main/java/org/opengroup/osdu/notification/api/PubsubEndpoint.java
View file @
238aacc6
...
...
@@ -127,7 +127,6 @@ public class PubsubEndpoint {
requestHeader
.
put
(
DpsHeaders
.
CONTENT_TYPE
,
"application/json"
);
requestHeader
.
put
(
DpsHeaders
.
CORRELATION_ID
,
headerAttributes
.
get
(
DpsHeaders
.
CORRELATION_ID
));
requestHeader
.
put
(
DpsHeaders
.
DATA_PARTITION_ID
,
headerAttributes
.
get
(
DpsHeaders
.
DATA_PARTITION_ID
));
this
.
log
.
info
(
"komakkar sending out notification to endpoint: "
+
headers
.
toString
());
HttpRequest
request
=
HttpRequest
.
post
().
url
(
pushUrl
).
headers
(
requestHeader
).
body
(
pubsubMessage
).
connectionTimeout
(
WAITING_TIME
).
build
();
HttpResponse
response
=
httpClient
.
send
(
request
);
...
...
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