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
ee6cb3a7
Commit
ee6cb3a7
authored
Nov 16, 2020
by
Rucha Deshpande
Browse files
Remove debug stmts
parent
4ad50766
Changes
2
Hide whitespace changes
Inline
Side-by-side
notification-core/src/main/java/org/opengroup/osdu/notification/api/PubsubEndpoint.java
View file @
ee6cb3a7
...
...
@@ -154,10 +154,6 @@ public class PubsubEndpoint {
}
private
String
querySubscriptionAndUpdateCache
(
String
notificationId
)
throws
Exception
{
Map
<
String
,
String
>
hmap
=
headers
.
getHeaders
();
String
auth_header
=
hmap
.
get
(
"authorization"
);
System
.
out
.
println
(
"Notification token before creating subscription service= "
+
auth_header
);
ISubscriptionService
service
=
subscriptionFactory
.
create
(
headers
);
List
<
Subscription
>
subscriptionList
=
service
.
query
(
notificationId
);
...
...
provider/notification-aws/src/main/java/org/opengroup/osdu/notification/provider/aws/impl/ServiceAccountJwtAwsClientImpl.java
View file @
ee6cb3a7
...
...
@@ -129,7 +129,6 @@ public class ServiceAccountJwtAwsClientImpl implements IServiceAccountJwtClient
headers
.
put
(
"Content-Type"
,
"application/x-www-form-urlencoded"
);
IHttpClient
httpClient
=
new
HttpClient
();
String
url
=
tokenUrl
+
"?grant_type=client_credentials&client_id="
+
client_credentials_clientid
+
"&scope="
+
awsOauthCustomScope
;
System
.
out
.
println
(
"Token url="
+
url
);
HttpRequest
rq
=
HttpRequest
.
post
().
url
(
url
).
headers
(
headers
).
build
();
...
...
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