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:
parent
000fc10247
commit
838a258753
16
pom.xml
16
pom.xml
|
@ -45,20 +45,6 @@
|
||||||
|
|
||||||
<dependencies>
|
<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>
|
<dependency>
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>authorization-client</artifactId>
|
<artifactId>authorization-client</artifactId>
|
||||||
|
@ -68,13 +54,11 @@
|
||||||
<artifactId>common-authorization</artifactId>
|
<artifactId>common-authorization</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.core</groupId>
|
<groupId>org.gcube.core</groupId>
|
||||||
<artifactId>common-encryption</artifactId>
|
<artifactId>common-encryption</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.information-system</groupId>
|
<groupId>org.gcube.information-system</groupId>
|
||||||
<artifactId>information-system-model</artifactId>
|
<artifactId>information-system-model</artifactId>
|
||||||
|
|
|
@ -7,7 +7,6 @@ import java.util.UUID;
|
||||||
import org.gcube.common.authorization.client.Constants;
|
import org.gcube.common.authorization.client.Constants;
|
||||||
import org.gcube.common.authorization.library.AuthorizationEntry;
|
import org.gcube.common.authorization.library.AuthorizationEntry;
|
||||||
import org.gcube.common.authorization.library.provider.SecurityTokenProvider;
|
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.common.scope.api.ScopeProvider;
|
||||||
import org.gcube.informationsystem.impl.utils.ISMapper;
|
import org.gcube.informationsystem.impl.utils.ISMapper;
|
||||||
import org.gcube.informationsystem.model.entity.Context;
|
import org.gcube.informationsystem.model.entity.Context;
|
||||||
|
@ -91,7 +90,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
|
||||||
throw e;
|
throw e;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Creating {}", facet, 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;
|
throw e;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Updating {}", facet, 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;
|
throw e;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Removing {}", facet, 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) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Creating {}", resource, 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;
|
throw e;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Creating {}", resource, 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;
|
throw e;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Removing {}", resource, 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;
|
throw e;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Creating {}", consistsOf, 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;
|
throw e;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Removing {} with UUID {}", ConsistsOf.NAME, uuid, 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;
|
throw e;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Creating {}", isRelatedTo, 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;
|
throw e;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Removing {} with UUID {}", IsRelatedTo.NAME, uuid, 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) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Adding {} with UUID {} to current {} : {}",
|
logger.error("Error Adding {} with UUID {} to current {} : {}",
|
||||||
Resource.NAME, uuid, Context.NAME, context, e);
|
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) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Adding {} with UUID {} to current {} : {}",
|
logger.error("Error Adding {} with UUID {} to current {} : {}",
|
||||||
Facet.NAME, uuid, Context.NAME, context, e);
|
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) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Adding {} with UUID {} to current {} : {}",
|
logger.error("Error Adding {} with UUID {} to current {} : {}",
|
||||||
Resource.NAME, uuid, Context.NAME, context, e);
|
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) {
|
} catch (Exception e) {
|
||||||
logger.error("Error Adding {} with UUID {} to current {} : {}",
|
logger.error("Error Adding {} with UUID {} to current {} : {}",
|
||||||
Facet.NAME, uuid, Context.NAME, context, e);
|
Facet.NAME, uuid, Context.NAME, context, e);
|
||||||
throw new ServiceException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue