From ee6cb3a796b79a1206dd1374b1a1da44d19e614a Mon Sep 17 00:00:00 2001 From: Rucha Deshpande <deshruch@amazon.com> Date: Mon, 16 Nov 2020 17:08:01 -0600 Subject: [PATCH] Remove debug stmts --- .../org/opengroup/osdu/notification/api/PubsubEndpoint.java | 4 ---- .../provider/aws/impl/ServiceAccountJwtAwsClientImpl.java | 1 - 2 files changed, 5 deletions(-) diff --git a/notification-core/src/main/java/org/opengroup/osdu/notification/api/PubsubEndpoint.java b/notification-core/src/main/java/org/opengroup/osdu/notification/api/PubsubEndpoint.java index bfe12ea15..edbce0c44 100644 --- a/notification-core/src/main/java/org/opengroup/osdu/notification/api/PubsubEndpoint.java +++ b/notification-core/src/main/java/org/opengroup/osdu/notification/api/PubsubEndpoint.java @@ -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); diff --git a/provider/notification-aws/src/main/java/org/opengroup/osdu/notification/provider/aws/impl/ServiceAccountJwtAwsClientImpl.java b/provider/notification-aws/src/main/java/org/opengroup/osdu/notification/provider/aws/impl/ServiceAccountJwtAwsClientImpl.java index 2ef26c3f5..6f9dfbc2c 100644 --- a/provider/notification-aws/src/main/java/org/opengroup/osdu/notification/provider/aws/impl/ServiceAccountJwtAwsClientImpl.java +++ b/provider/notification-aws/src/main/java/org/opengroup/osdu/notification/provider/aws/impl/ServiceAccountJwtAwsClientImpl.java @@ -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(); -- GitLab