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 bfe12ea15cd875a091ea47f00c6d885d2f3aee91..edbce0c44ab6f27f5a949bd58240db67ca2ef2e0 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 2ef26c3f5254c4ac270f9f8c59ce168b45659095..6f9dfbc2c6d121cabca3d720e79a5046e7d487a9 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();