Removed common-client dependency which was not needed

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@146588 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-04-05 15:18:53 +00:00
parent 000fc10247
commit 838a258753
2 changed files with 14 additions and 31 deletions

16
pom.xml
View File

@ -45,20 +45,6 @@
<dependencies>
<dependency>
<groupId>org.gcube.core</groupId>
<artifactId>common-generic-clients</artifactId>
</dependency>
<dependency>
<groupId>org.gcube.core</groupId>
<artifactId>common-gcube-calls</artifactId>
</dependency>
<dependency>
<groupId>org.gcube.core</groupId>
<artifactId>common-fw-clients</artifactId>
</dependency>
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>authorization-client</artifactId>
@ -68,13 +54,11 @@
<artifactId>common-authorization</artifactId>
</dependency>
<dependency>
<groupId>org.gcube.core</groupId>
<artifactId>common-encryption</artifactId>
</dependency>
<dependency>
<groupId>org.gcube.information-system</groupId>
<artifactId>information-system-model</artifactId>

View File

@ -7,7 +7,6 @@ import java.util.UUID;
import org.gcube.common.authorization.client.Constants;
import org.gcube.common.authorization.library.AuthorizationEntry;
import org.gcube.common.authorization.library.provider.SecurityTokenProvider;
import org.gcube.common.clients.exceptions.ServiceException;
import org.gcube.common.scope.api.ScopeProvider;
import org.gcube.informationsystem.impl.utils.ISMapper;
import org.gcube.informationsystem.model.entity.Context;
@ -91,7 +90,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
throw e;
} catch (Exception e) {
logger.error("Error Creating {}", facet, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}
@ -121,7 +120,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
throw e;
} catch (Exception e) {
logger.error("Error Updating {}", facet, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}
@ -150,7 +149,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
throw e;
} catch (Exception e) {
logger.error("Error Removing {}", facet, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}
@ -183,7 +182,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
} catch (Exception e) {
logger.error("Error Creating {}", resource, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}
@ -214,7 +213,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
throw e;
} catch (Exception e) {
logger.error("Error Creating {}", resource, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}
@ -243,7 +242,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
throw e;
} catch (Exception e) {
logger.error("Error Removing {}", resource, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}
@ -285,7 +284,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
throw e;
} catch (Exception e) {
logger.error("Error Creating {}", consistsOf, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}
@ -321,7 +320,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
throw e;
} catch (Exception e) {
logger.error("Error Removing {} with UUID {}", ConsistsOf.NAME, uuid, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}
@ -364,7 +363,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
throw e;
} catch (Exception e) {
logger.error("Error Creating {}", isRelatedTo, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}
@ -399,7 +398,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
throw e;
} catch (Exception e) {
logger.error("Error Removing {} with UUID {}", IsRelatedTo.NAME, uuid, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}
@ -440,7 +439,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
} catch (Exception e) {
logger.error("Error Adding {} with UUID {} to current {} : {}",
Resource.NAME, uuid, Context.NAME, context, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}
@ -486,7 +485,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
} catch (Exception e) {
logger.error("Error Adding {} with UUID {} to current {} : {}",
Facet.NAME, uuid, Context.NAME, context, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}
@ -534,7 +533,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
} catch (Exception e) {
logger.error("Error Adding {} with UUID {} to current {} : {}",
Resource.NAME, uuid, Context.NAME, context, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}
@ -583,7 +582,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
} catch (Exception e) {
logger.error("Error Adding {} with UUID {} to current {} : {}",
Facet.NAME, uuid, Context.NAME, context, e);
throw new ServiceException(e);
throw new RuntimeException(e);
}
}