diff --git a/src/main/java/org/gcube/gcat/profile/ResourceRegistryProfile.java b/src/main/java/org/gcube/gcat/profile/ResourceRegistryProfile.java index 6ae9826..297397e 100644 --- a/src/main/java/org/gcube/gcat/profile/ResourceRegistryProfile.java +++ b/src/main/java/org/gcube/gcat/profile/ResourceRegistryProfile.java @@ -102,11 +102,13 @@ public class ResourceRegistryProfile { protected Configuration instantiateConfiguration(String name, String xml) throws Exception { Configuration configuration = new ConfigurationImpl(); + /* IdentifierFacet identifierFacet = new IdentifierFacetImpl(); identifierFacet.setValue(name); identifierFacet.setType(IdentificationType.STRING); IsIdentifiedBy isIdentifiedBy = new IsIdentifiedByImpl(configuration, identifierFacet); configuration.addFacet(isIdentifiedBy); + */ SimpleFacet profile = new SimpleFacetImpl(); profile.setAdditionalProperty(PROFILE, xml); @@ -116,10 +118,12 @@ public class ResourceRegistryProfile { schemaFacet.setName("gCube Item Profile"); schemaFacet.setDescription("gCube Metadata Profile defines a Metadata schema XML-based for adding custom metadata fields."); + /* ValueSchema valueSchema = new ValueSchemaImpl(); valueSchema.setSchema(SCHEMA_URL.toURI()); valueSchema.setValue(DataCalogueMetadataFormatReader.getProfileSchemaString()); schemaFacet.setSchema(valueSchema); + */ configuration.addFacet(schemaFacet);