Refs #13079: Add the create/update/delete operation in Profile Collection in gCat

Task-Url: https://support.d4science.org/issues/13079

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/gcubedatacatalogue-metadata-discovery@176280 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2019-01-02 13:35:14 +00:00
parent b35a74cc3e
commit 8b8ffd1c15
2 changed files with 1 additions and 24 deletions

View File

@ -61,7 +61,7 @@ public class TestDataCatalogueMetadataFormatReader {
} }
public static String PROFILE_EXAMPLE_FILENAME = "profileExample.xml"; public static String PROFILE_EXAMPLE_FILENAME = "profileExample.xml";
@Test @Test
public void validateAgainstProfileSchema() throws Exception { public void validateAgainstProfileSchema() throws Exception {

View File

@ -4,63 +4,42 @@
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>GeoJSON</dataType> <dataType>GeoJSON</dataType>
<maxOccurs>1</maxOccurs> <maxOccurs>1</maxOccurs>
<defaultValue />
<note>Insert a geoJSON characterising the spatial coverage of the <note>Insert a geoJSON characterising the spatial coverage of the
dataset. dataset.
</note> </note>
<vocabulary />
<validator />
<tagging create="false" />
<grouping create="false" />
</metadatafield> </metadatafield>
<metadatafield> <metadatafield>
<fieldName>timeField</fieldName> <fieldName>timeField</fieldName>
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>Time</dataType> <dataType>Time</dataType>
<maxOccurs>1</maxOccurs> <maxOccurs>1</maxOccurs>
<defaultValue />
<note>Insert a time value characterising the temporal coverage of the <note>Insert a time value characterising the temporal coverage of the
dataset. dataset.
</note> </note>
<vocabulary />
<validator />
<tagging create="false" />
<grouping create="false" />
</metadatafield> </metadatafield>
<metadatafield> <metadatafield>
<fieldName>timeIntervalField</fieldName> <fieldName>timeIntervalField</fieldName>
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>Time_Interval</dataType> <dataType>Time_Interval</dataType>
<maxOccurs>1</maxOccurs> <maxOccurs>1</maxOccurs>
<defaultValue />
<note>Insert a time interval value characterising the temporal <note>Insert a time interval value characterising the temporal
coverage of the dataset. coverage of the dataset.
</note> </note>
<vocabulary />
<validator />
<tagging create="false" />
<grouping create="false" />
</metadatafield> </metadatafield>
<metadatafield> <metadatafield>
<fieldName>timeListField</fieldName> <fieldName>timeListField</fieldName>
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>Times_ListOf</dataType> <dataType>Times_ListOf</dataType>
<maxOccurs>1</maxOccurs> <maxOccurs>1</maxOccurs>
<defaultValue />
<note>Insert a time list characterising the temporal coverage of the <note>Insert a time list characterising the temporal coverage of the
dataset. dataset.
</note> </note>
<vocabulary />
<validator />
<tagging create="false" />
<grouping create="false" />
</metadatafield> </metadatafield>
<metadatafield> <metadatafield>
<fieldName>GACSTerms</fieldName> <fieldName>GACSTerms</fieldName>
<mandatory>true</mandatory> <mandatory>true</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<maxOccurs>*</maxOccurs> <maxOccurs>*</maxOccurs>
<defaultValue />
<note>Select one or more terms</note> <note>Select one or more terms</note>
<vocabulary isMultiSelection="true"> <vocabulary isMultiSelection="true">
<vocabularyField>GACS.Term1</vocabularyField> <vocabularyField>GACS.Term1</vocabularyField>
@ -73,8 +52,6 @@
<vocabularyField>GACS.Term8</vocabularyField> <vocabularyField>GACS.Term8</vocabularyField>
<vocabularyField>GACS.Term9</vocabularyField> <vocabularyField>GACS.Term9</vocabularyField>
</vocabulary> </vocabulary>
<validator />
<tagging create="true">onValue</tagging> <tagging create="true">onValue</tagging>
<grouping create="false" />
</metadatafield> </metadatafield>
</metadataformat> </metadataformat>