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 @@ <dependency> <groupId>org.opengroup.osdu</groupId> <artifactId>core-lib-gcp</artifactId> - <version>0.16.0</version> + <version>0.17.0</version> </dependency> <dependency> <groupId>org.opengroup.osdu</groupId> <artifactId>notification-core</artifactId> <version>0.18.0-SNAPSHOT</version> + <exclusions> + <exclusion> + <groupId>com.google.apis</groupId> + <artifactId>google-api-services-iam</artifactId> + </exclusion> + <exclusion> + <groupId>com.google.oauth-client</groupId> + <artifactId>google-oauth-client</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> 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(); } }