diff --git a/provider/notification-gcp/pom.xml b/provider/notification-gcp/pom.xml index d0b0461901124263a4342a2c212c573050e9a918..ae53288c000c0474b96d450f22f465f220267b8f 100644 --- a/provider/notification-gcp/pom.xml +++ b/provider/notification-gcp/pom.xml @@ -46,13 +46,23 @@ org.opengroup.osdu core-lib-gcp - 0.16.0 + 0.17.0 org.opengroup.osdu notification-core 0.18.0-SNAPSHOT + + + com.google.apis + google-api-services-iam + + + com.google.oauth-client + google-oauth-client + + diff --git a/provider/notification-gcp/src/main/java/org/opengroup/osdu/notification/provider/gcp/util/ServiceAccountJwtGcpClientImpl.java b/provider/notification-gcp/src/main/java/org/opengroup/osdu/notification/provider/gcp/util/ServiceAccountJwtGcpClientImpl.java index 194eee8cf8530970bb77ebbf6f49530f5c59e300..2c5af0c721ac74d11d331e0c946c394e959e15ed 100644 --- a/provider/notification-gcp/src/main/java/org/opengroup/osdu/notification/provider/gcp/util/ServiceAccountJwtGcpClientImpl.java +++ b/provider/notification-gcp/src/main/java/org/opengroup/osdu/notification/provider/gcp/util/ServiceAccountJwtGcpClientImpl.java @@ -31,7 +31,7 @@ public class ServiceAccountJwtGcpClientImpl implements IServiceAccountJwtClient private final TokenProvider tokenProvider; public String getIdToken(String tenantName) { - log.info("Tenant name received for auth token is: {}", tenantName); + log.debug("Tenant name received for auth token is: {}", tenantName); return "Bearer " + tokenProvider.getIdToken(); } }