Skip to content
GitLab
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
f58062dd
Commit
f58062dd
authored
Oct 13, 2021
by
Rucha Deshpande
Browse files
fix x-user-id
parent
00cc8611
Changes
1
Hide whitespace changes
Inline
Side-by-side
provider/notification-aws/src/main/java/org/opengroup/osdu/notification/provider/aws/impl/AwsPubsubRequestBodyExtractor.java
View file @
f58062dd
...
...
@@ -112,7 +112,9 @@ public class AwsPubsubRequestBodyExtractor implements IPubsubRequestBodyExtracto
throw
new
AppException
(
HttpStatus
.
BAD_REQUEST
.
value
(),
INVALID_PUBSUB_MESSAGE
,
"No tenant information from pubsub message."
);
}
lowerCase
.
put
(
"x-user-id"
,
attributes
.
get
(
"x-user-id"
));
String
x_user_id
=
request
.
getHeader
(
"x-user-id"
);
System
.
out
.
println
(
"*******x_user_id from original request****=="
+
x_user_id
);
lowerCase
.
put
(
"x-user-id"
,
x_user_id
);
content
.
setAttributes
(
lowerCase
);
String
decoded
=
new
String
(
Base64
.
getDecoder
().
decode
(
data
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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