Fixing log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133669 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
dc2e16777e
commit
3db2e67582
|
@ -160,7 +160,7 @@ public class SchemaManagementImpl implements SchemaManagement {
|
|||
|
||||
OrientGraphNoTx orientGraphNoTx = null;
|
||||
try {
|
||||
logger.info("Trying to register {} {}", baseType, jsonSchema);
|
||||
logger.info("Trying to register {} {}", baseType.getSimpleName(), jsonSchema);
|
||||
|
||||
ObjectMapper mapper = new ObjectMapper();
|
||||
TypeDefinition typeDefinition = mapper.readValue(jsonSchema,
|
||||
|
@ -234,7 +234,7 @@ public class SchemaManagementImpl implements SchemaManagement {
|
|||
|
||||
OClass oClass = getTypeSchema(typeDefinition.getName(), null);
|
||||
String ret = serializeOClass(oClass);
|
||||
logger.info("{} type registered successfully: {}", baseType, jsonSchema);
|
||||
logger.info("{} type registered successfully: {}", baseType.getSimpleName(), jsonSchema);
|
||||
return ret;
|
||||
|
||||
} catch (Exception e) {
|
||||
|
|
Loading…
Reference in New Issue