From 44e057797c46d89ddbf3bfb4ea0a08767d34dab2 Mon Sep 17 00:00:00 2001 From: Fabio Sinibaldi Date: Tue, 9 Nov 2021 16:01:17 +0100 Subject: [PATCH] Parameters --- .../collectors/dm/model/ckan/GCatModel.java | 8 +- .../collectors/dm/TranslationTest.java | 8 +- .../catalogues/gCat/full-algorithm.json | 110 ++++++++++++------ 3 files changed, 81 insertions(+), 45 deletions(-) diff --git a/DataMinerAlgorithmsCrawler/src/main/java/org/gcube/data/publishing/gCatFeeder/collectors/dm/model/ckan/GCatModel.java b/DataMinerAlgorithmsCrawler/src/main/java/org/gcube/data/publishing/gCatFeeder/collectors/dm/model/ckan/GCatModel.java index 95ee937..99efd07 100644 --- a/DataMinerAlgorithmsCrawler/src/main/java/org/gcube/data/publishing/gCatFeeder/collectors/dm/model/ckan/GCatModel.java +++ b/DataMinerAlgorithmsCrawler/src/main/java/org/gcube/data/publishing/gCatFeeder/collectors/dm/model/ckan/GCatModel.java @@ -76,8 +76,8 @@ public class GCatModel implements CatalogueFormatData { item.setPrivateFlag(desc.getPrivateFlag()); - /* for(Parameter param: desc.getInputParameters()) - item.getExtras().add(new CKanExtraField(profileID+":Input Parameter", + for(Parameter param: desc.getInputParameters()) + item.getExtras().add(new CKanExtraField("TechnicalDetails:input", String.format("%1$s [%2$s] %3$s : %4$s", param.getName(),param.getType(), ((param.getValue()!=null&&!param.getValue().isEmpty())?"default : "+param.getValue():""), @@ -85,12 +85,12 @@ public class GCatModel implements CatalogueFormatData { for(Parameter param: desc.getOutputParameters()) - item.getExtras().add(new CKanExtraField(profileID+":Output Parameter", + item.getExtras().add(new CKanExtraField("TechnicalDetails:output", String.format("%1$s [%2$s] %3$s : %4$s", param.getName(),param.getType(), ((param.getValue()!=null&&!param.getValue().isEmpty())?"default : "+param.getValue():""), param.getDescription()))); -*/ + item.getExtras().add(new CKanExtraField("Identity:Creator", desc.getAuthor().asStringValue())); diff --git a/DataMinerAlgorithmsCrawler/src/test/java/org/gcube/data/publishing/gCatFeeder/collectors/dm/TranslationTest.java b/DataMinerAlgorithmsCrawler/src/test/java/org/gcube/data/publishing/gCatFeeder/collectors/dm/TranslationTest.java index 9f5ff5f..82c7306 100644 --- a/DataMinerAlgorithmsCrawler/src/test/java/org/gcube/data/publishing/gCatFeeder/collectors/dm/TranslationTest.java +++ b/DataMinerAlgorithmsCrawler/src/test/java/org/gcube/data/publishing/gCatFeeder/collectors/dm/TranslationTest.java @@ -32,11 +32,7 @@ public class TranslationTest extends BaseCollectorTest{ @Test public void testTranslation() throws CollectorFault, CatalogueNotSupportedException, JsonGenerationException, JsonMappingException, IOException, InternalConversionException { - //Assume.assumeTrue(isTestInfrastructureEnabled()); - System.out.println("START HERE"); - //TokenSetter.set("/d4science.research-infrastructures.eu/D4OS/Blue-CloudLab"); - //SecurityTokenProvider.instance.set("***REMOVED***"); - TokenSetter.set("/gcube/devsec/devVRE"); + Assume.assumeTrue(isTestInfrastructureEnabled()); System.out.println("Entering Infrastructure enabled tests.."); ObjectMapper mapper = new ObjectMapper(); @@ -78,7 +74,7 @@ public class TranslationTest extends BaseCollectorTest{ @Test public void testEnvironment(){ - + Assume.assumeTrue(isTestInfrastructureEnabled()); assertNotNull(DMAlgorithmsInfoCollector.getWPSBasePath()); assertNotNull(GCatModel.getItemUrl("fake")); System.out.println(getEnvironmentConfiguration().getCurrentConfiguration()); diff --git a/gCat-Controller/src/test/resources/org/gcube/data/publishing/gCatFeeder/catalogues/gCat/full-algorithm.json b/gCat-Controller/src/test/resources/org/gcube/data/publishing/gCatFeeder/catalogues/gCat/full-algorithm.json index b4f283d..6e9bf58 100644 --- a/gCat-Controller/src/test/resources/org/gcube/data/publishing/gCatFeeder/catalogues/gCat/full-algorithm.json +++ b/gCat-Controller/src/test/resources/org/gcube/data/publishing/gCatFeeder/catalogues/gCat/full-algorithm.json @@ -1,43 +1,62 @@ { - "profileID": "Method", - "profile": "\n\t\n\t\tExternal Identifier\n\t\tfalse\n\t\tString\n\t\t*\n\t\tThis applies only to methods that have been already published. Insert here a DOI, an handle, and any other Identifier assigned when publishing the dataset alsewhere.\n\t\n\t\n\t\tCreator\n\t\ttrue\n\t\tString\n\t\t*\n\t\tThe name of the creator, with email and ORCID. The format should be: family, given[, email][, ORCID]. Example: Smith, John, js@acme.org, orcid.org/0000-0002-1825-0097\n\t\t\n\t\t\t^[a-zA-ZÀ-ÿ .'-]+, [a-zA-ZÀ-ÿ .'-]+[, ]*([a-zA-Z0-9_!#$%’*+=?`{|}~^.-]+@[a-zA-Z0-9À-ÿ.-]+)?[, ]*(orcid.org\\/0000-000(1-[5-9]|2-[0-9]|3-[0-4])\\d\\d\\d-\\d\\d\\d[\\dX])?$\n\t\t\n\t\n\t\n\t\tCreationDate\n\t\ttrue\n\t\tTime\n\t\t1\n\t\tThe date of creation of the dataset (different from the date of registration of the dataset automatically added by the system). Use ISO 8601 Date Format: YYYY-MM-DD[ HH:MM] Ex. 1998-11-10 or 2015-05-29 11:55\n\t\t\n\t\t\t^(\\d{4}\\-(0?[1-9]|1[012])\\-(0?[1-9]|[12][0-9]|3[01]))+([ ]+(\\d{2}(:?\\d{2})?)?)?$\n\t\t\n\t\n\t\n\t\tOwner\n\t\tfalse\n\t\tString\n\t\t*\n\t\tThe owner of the method (free text).\n\t\n\t\n\t\tRelatedPaper\n\t\tfalse\n\t\tString\n\t\t1\n\t\tInsert a complete reference to an associated work.\n\t\n\t\n\t\tSemantic Coverage\n\t\tfalse\n\t\tString\n\t\t*\n\t\tTagging e.g. Functional analysis, Environment analysis and visualisation, ...\n\t\n\t\n\t\tUsageMode\n\t\ttrue\n\t\tString\n\t\t1\n\t\tHow the method is expected to be exploited.\n\t\t\n\t\t\tDownload\n\t\t\tas-a-Application via Blue-Cloud Infrastructure\n\t\t\tas-a-Application via third-party Infrastructure\n\t\t\tas-a-Service via Blue-Cloud Infrastructure\n\t\t\tas-a-Service via third-party Infrastructure\n\t\t\n\t\n\t\n\t\tAvailability\n\t\tfalse\n\t\tString\n\t\t1\n\t\tHow the availability to the resource is offered. On-line means that the method can be executed through the Virtual Laboratory Gateway. On-site means that the method can only be executed by visiting the hosting provider.\n\t\t\n\t\t\tOn-Line\n\t\t\tOn-Site\n\t\t\n\t\n\t\n\t\tHosting Environment\n\t\tfalse\n\t\tString\n\t\t1\n\t\tE.g. Linux, Microsoft Azure, Amazon EC2\n\t\n\t\n\t\tProgrammingLanguage\n\t\tfalse\n\t\tString\n\t\t1\n\t\tThe primary language used to implement the method. \n\t\n\t\n\t\tDependencies on Other SW\n\t\tfalse\n\t\tString\n\t\t*\n\t\tE.g. this sowftware requires an Hadoop cluster to run\n\t\n\t\n\t\tinput\n\t\tfalse\n\t\tString\n\t\t*\n\t\tinputParametersType. See WPS specifications\n\t\n\t\n\t\toutput\n\t\tfalse\n\t\tString\n\t\t*\n\t\toutputType. See WPS specifications \n\t\n\t\n\t\tIP/Copyrights\n\t\tfalse\n\t\tString\n\t\t1\n\t\tWhether software is covered by any rights: copyright, related rights, know how, proprietary, etc.\n\t\n\t\n\t\tField/Scope of use\n\t\ttrue\n\t\tString\n\t\t1\n\t\t\n\t\t\tAny use\n\t\t\tNon-commercial only\n\t\t\tResearch only\n\t\t\tNon-commercial research only\n\t\t\tPrivate use\n\t\t\tUse for developing and providing a service\n\t\t\n\t\n\t\n\t\tBasic rights\n\t\ttrue\n\t\tString\n\t\t1\n\t\t\n\t\t\tTemporary download of a single copy only\n\t\t\tDownload\n\t\t\tCopying\n\t\t\tDistribution\n\t\t\tModification\n\t\t\tCommunication\n\t\t\tMaking available to the public\n\t\t\tOther rights\n\t\t\n\t\n\t\n\t\tRestrictions on use\n\t\tfalse\n\t\tString\n\t\t1\n\t\tAny restrictions on how where the dataset may be used \n\t\n\t\n\t\tSublicense rights\n\t\tfalse\n\t\tString\n\t\t1\n\t\tAny restrictions on how where the dataset may be used\n\t\t\n\t\t\tNo\n\t\t\tYes\n\t\t\n\t\n\t\n\t\tRequirement of non-disclosure (confidentiality mark)\n\t\tfalse\n\t\tString\n\t\t1\n\t\tRequirement of non-disclosure (confidentiality mark). Whether the dataset bears confidentiality mark/may be used and shared subject to the obligation of non-disclosure\n\t\n\t\n\t\tEmbargo period\n\t\tfalse\n\t\tTime_Interval\n\t\t1\n\t\tPeriod of time during which the resource may be used. Use ISO 8601 Date Format: YYYY-MM-DD[ HH:MM] Ex. 2016-07-31 or 2015-05-10 12:00\n\t\t\n\t\t\t^(\\d{4}\\-(0?[1-9]|1[012])\\-(0?[1-9]|[12][0-9]|3[01]))+([ ]+(\\d{2}(:?\\d{2})?)?)?$\n\t\t\n\t\n\t\n\t\tAttribution requirements\n\t\tfalse\n\t\tString\n\t\t1\n\t\tThe text to acknowledge the resource when using it\n\t\n\t\n\t\tDistribution requirements\n\t\tfalse\n\t\tString\n\t\t1\n\t\tThe text to acknowledge the resource when distributing it\n\t\n", - "item": - { - "name": "bionym_local_in_blue-cloudlab", - "title": "Bionym Local in Blue-CloudLab", - "version": null, - "license_id": "CC-BY-NC-SA-4.0", + "item": { "author": null, - "maintainer": null, - "notes": "A fast version of the algorithm implementing BiOnym, a flexible workflow approach to taxon name matching. The workflow allows to activate several taxa names matching algorithms and to get the list of possible transcriptions for a list of input raw species names with possible authorship indication.", - "tags": - [ - { - "name": "Taxa" - }, - { - "name": "Blue-CloudLab" - }, - { - "name": "WPS" - }, - { - "name": "Analytics" - } - ], - "extras": - [ + "extras": [ { "key": "system:type", "value": "Method" }, + { + "key": "TechnicalDetails:input", + "value": "YResolution [OBJECT] : Projection resolution on the Y axis" + }, + { + "key": "TechnicalDetails:input", + "value": "XResolution [OBJECT] : Projection resolution on the X axis" + }, + { + "key": "TechnicalDetails:input", + "value": "BBox_UpperRightLat [OBJECT] : Upper Right Latitute of the Bounding Box" + }, + { + "key": "TechnicalDetails:input", + "value": "BBox_LowerLeftLat [OBJECT] : Lower Left Latitute of the Bounding Box" + }, + { + "key": "TechnicalDetails:input", + "value": "BBox_UpperRightLong [OBJECT] : Upper Right Longitude of the Bounding Box" + }, + { + "key": "TechnicalDetails:input", + "value": "Z [OBJECT] : Value of Z. Default is 0, that means processing will be at surface level or at the first avaliable Z value in the layer" + }, + { + "key": "TechnicalDetails:input", + "value": "Layer [OBJECT] : Layer Title or UUID or HTTP link. E.g. the title or the UUID (preferred) of a layer indexed in the e-Infrastructure on GeoNetwork - You can retrieve it from GeoExplorer. Otherwise you can supply the direct HTTP link of the layer. The format will be guessed from the link. The default is GeoTiff. Supports several standards (NETCDF, WFS, WCS ASC, GeoTiff )" + }, + { + "key": "TechnicalDetails:input", + "value": "BBox_LowerLeftLong [OBJECT] : Lower Left Longitude of the Bounding Box" + }, + { + "key": "TechnicalDetails:input", + "value": "TimeIndex [OBJECT] : Time Index. The default is the first time indexed dataset" + }, + { + "key": "TechnicalDetails:output", + "value": "non_deterministic_output [FILE] : NonDeterministicOutput" + }, + { + "key": "TechnicalDetails:output", + "value": "Output ESRI GRID ASCII FILE [FILE] : Output ESRI GRID ASCII FILE" + }, { "key": "Identity:Creator", "value": "Coro, Gianpaolo" }, { "key": "Identity:CreationDate", - "value": "2021-11-04" + "value": "2021-11-09" }, { "key": "AccessMode:UsageMode", @@ -73,18 +92,39 @@ }, { "key": "Attribution:Attribution requirements", - "value": "Cite as: (): . <Version>. <Publisher>. <ResourceType>. <Identifier>. Retrieved from the <gateway name> (<gateway URL>) operated by D4Science.org www.d4science.org" + "value": "Cite as: Coro, Gianpaolo (2021): Esri Grid Extraction. n/a. Blue-Cloud. DataMiner Process. null. Retrieved from the null (null) operated by D4Science.org www.d4science.org" } ], - "private": false + "license_id": "CC-BY-NC-SA-4.0", + "maintainer": null, + "name": "esri_grid_extraction_in_blue-cloudlab", + "notes": "An algorithm to extract values associated to an environmental feature repository (e.g. NETCDF, ASC, GeoTiff files etc. ). A grid of points at a certain resolution is specified by the user and values are associated to the points from the environmental repository. It accepts as one geospatial repository ID (via their UUIDs in the infrastructure spatial data repository - recoverable through the Geoexplorer portlet) or a direct link to a file and the specification about time and space. The algorithm produces one ESRI GRID ASCII file containing the values associated to the selected bounding box.", + "private": false, + "tags": [ + { + "name": "Geo Processing" + }, + { + "name": "Blue-CloudLab" + }, + { + "name": "WPS" + }, + { + "name": "Analytics" + } + ], + "title": "Esri Grid Extraction in Blue-CloudLab", + "version": null }, - "resources": - [ + "profile": "<metadataformat type=\"Method\">\n\t<metadatafield categoryref=\"Identity\">\n\t\t<fieldName>External Identifier</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>*</maxOccurs>\n\t\t<note>This applies only to methods that have been already published. Insert here a DOI, an handle, and any other Identifier assigned when publishing the dataset alsewhere.</note>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Identity\">\n\t\t<fieldName>Creator</fieldName>\n\t\t<mandatory>true</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>*</maxOccurs>\n\t\t<note>The name of the creator, with email and ORCID. The format should be: family, given[, email][, ORCID]. Example: Smith, John, js@acme.org, orcid.org/0000-0002-1825-0097</note>\n\t\t<validator>\n\t\t\t<regularExpression>^[a-zA-ZÀ-ÿ .'-]+, [a-zA-ZÀ-ÿ .'-]+[, ]*([a-zA-Z0-9_!#$%’*+=?`{|}~^.-]+@[a-zA-Z0-9À-ÿ.-]+)?[, ]*(orcid.org\\/0000-000(1-[5-9]|2-[0-9]|3-[0-4])\\d\\d\\d-\\d\\d\\d[\\dX])?$</regularExpression>\n\t\t</validator>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Identity\">\n\t\t<fieldName>CreationDate</fieldName>\n\t\t<mandatory>true</mandatory>\n\t\t<dataType>Time</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<note>The date of creation of the dataset (different from the date of registration of the dataset automatically added by the system). Use ISO 8601 Date Format: YYYY-MM-DD[ HH:MM] Ex. 1998-11-10 or 2015-05-29 11:55</note>\n\t\t<validator>\n\t\t\t<regularExpression>^(\\d{4}\\-(0?[1-9]|1[012])\\-(0?[1-9]|[12][0-9]|3[01]))+([ ]+(\\d{2}(:?\\d{2})?)?)?$</regularExpression>\n\t\t</validator>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Identity\">\n\t\t<fieldName>Owner</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>*</maxOccurs>\n\t\t<note>The owner of the method (free text).</note>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Identity\">\n\t\t<fieldName>RelatedPaper</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<note>Insert a complete reference to an associated work.</note>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Coverage\">\n\t\t<fieldName>Semantic Coverage</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>*</maxOccurs>\n\t\t<note>Tagging e.g. Functional analysis, Environment analysis and visualisation, ...</note>\n\t</metadatafield>\n\t<metadatafield categoryref=\"AccessMode\">\n\t\t<fieldName>UsageMode</fieldName>\n\t\t<mandatory>true</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<note>How the method is expected to be exploited.</note>\n\t\t<vocabulary isMultiSelection=\"true\">\n\t\t\t<vocabularyField>Download</vocabularyField>\n\t\t\t<vocabularyField>as-a-Application via Blue-Cloud Infrastructure</vocabularyField>\n\t\t\t<vocabularyField>as-a-Application via third-party Infrastructure</vocabularyField>\n\t\t\t<vocabularyField>as-a-Service via Blue-Cloud Infrastructure</vocabularyField>\n\t\t\t<vocabularyField>as-a-Service via third-party Infrastructure</vocabularyField>\n\t\t</vocabulary>\n\t</metadatafield>\n\t<metadatafield categoryref=\"AccessMode\">\n\t\t<fieldName>Availability</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<note>How the availability to the resource is offered. On-line means that the method can be executed through the Virtual Laboratory Gateway. On-site means that the method can only be executed by visiting the hosting provider.</note>\n\t\t<vocabulary>\n\t\t\t<vocabularyField>On-Line</vocabularyField>\n\t\t\t<vocabularyField>On-Site</vocabularyField>\n\t\t</vocabulary>\n\t</metadatafield>\n\t<metadatafield categoryref=\"TechnicalDetails\">\n\t\t<fieldName>Hosting Environment</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<note>E.g. Linux, Microsoft Azure, Amazon EC2</note>\n\t</metadatafield>\n\t<metadatafield categoryref=\"TechnicalDetails\">\n\t\t<fieldName>ProgrammingLanguage</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<note>The primary language used to implement the method. </note>\n\t</metadatafield>\n\t<metadatafield categoryref=\"TechnicalDetails\">\n\t\t<fieldName>Dependencies on Other SW</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>*</maxOccurs>\n\t\t<note>E.g. this sowftware requires an Hadoop cluster to run</note>\n\t</metadatafield>\n\t<metadatafield categoryref=\"TechnicalDetails\">\n\t\t<fieldName>input</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>*</maxOccurs>\n\t\t<note>inputParametersType. See WPS specifications</note>\n\t</metadatafield>\n\t<metadatafield categoryref=\"TechnicalDetails\">\n\t\t<fieldName>output</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>*</maxOccurs>\n\t\t<note>outputType. See WPS specifications </note>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Rights\">\n\t\t<fieldName>IP/Copyrights</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<note>Whether software is covered by any rights: copyright, related rights, know how, proprietary, etc.</note>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Rights\">\n\t\t<fieldName>Field/Scope of use</fieldName>\n\t\t<mandatory>true</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<vocabulary isMultiSelection=\"true\">\n\t\t\t<vocabularyField>Any use</vocabularyField>\n\t\t\t<vocabularyField>Non-commercial only</vocabularyField>\n\t\t\t<vocabularyField>Research only</vocabularyField>\n\t\t\t<vocabularyField>Non-commercial research only</vocabularyField>\n\t\t\t<vocabularyField>Private use</vocabularyField>\n\t\t\t<vocabularyField>Use for developing and providing a service</vocabularyField>\n\t\t</vocabulary>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Rights\">\n\t\t<fieldName>Basic rights</fieldName>\n\t\t<mandatory>true</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<vocabulary isMultiSelection=\"true\">\n\t\t\t<vocabularyField>Temporary download of a single copy only</vocabularyField>\n\t\t\t<vocabularyField>Download</vocabularyField>\n\t\t\t<vocabularyField>Copying</vocabularyField>\n\t\t\t<vocabularyField>Distribution</vocabularyField>\n\t\t\t<vocabularyField>Modification</vocabularyField>\n\t\t\t<vocabularyField>Communication</vocabularyField>\n\t\t\t<vocabularyField>Making available to the public</vocabularyField>\n\t\t\t<vocabularyField>Other rights</vocabularyField>\n\t\t</vocabulary>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Rights\">\n\t\t<fieldName>Restrictions on use</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<note>Any restrictions on how where the dataset may be used </note>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Rights\">\n\t\t<fieldName>Sublicense rights</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<note>Any restrictions on how where the dataset may be used</note>\n\t\t<vocabulary>\n\t\t\t<vocabularyField>No</vocabularyField>\n\t\t\t<vocabularyField>Yes</vocabularyField>\n\t\t</vocabulary>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Rights\">\n\t\t<fieldName>Requirement of non-disclosure (confidentiality mark)</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<note>Requirement of non-disclosure (confidentiality mark). Whether the dataset bears confidentiality mark/may be used and shared subject to the obligation of non-disclosure</note>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Rights\">\n\t\t<fieldName>Embargo period</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>Time_Interval</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<note>Period of time during which the resource may be used. Use ISO 8601 Date Format: YYYY-MM-DD[ HH:MM] Ex. 2016-07-31 or 2015-05-10 12:00</note>\n\t\t<validator>\n\t\t\t<regularExpression>^(\\d{4}\\-(0?[1-9]|1[012])\\-(0?[1-9]|[12][0-9]|3[01]))+([ ]+(\\d{2}(:?\\d{2})?)?)?$</regularExpression>\n\t\t</validator>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Attribution\">\n\t\t<fieldName>Attribution requirements</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<note>The text to acknowledge the resource when using it</note>\n\t</metadatafield>\n\t<metadatafield categoryref=\"Attribution\">\n\t\t<fieldName>Distribution requirements</fieldName>\n\t\t<mandatory>false</mandatory>\n\t\t<dataType>String</dataType>\n\t\t<maxOccurs>1</maxOccurs>\n\t\t<note>The text to acknowledge the resource when distributing it</note>\n\t</metadatafield>\n</metadataformat>", + "profileID": "Method", + "resources": [ { - "name": "WPS Link", - "url": "https://dataminer-genericworkers-proto-1804.d4science.org:443/wps/WebProcessingService?Request=DescribeProcess&Version=1.0.0&Service=WPS&Identifier=org.gcube.dataanalysis.wps.statisticalmanager.synchserver.mappedclasses.transducerers.BIONYM_LOCAL", + "description": "WPS Link to the Method", "format": "WPS", - "description": "WPS Link to the Method" + "name": "WPS Link", + "url": "https://dataminer-prototypes-cnr-1804.d4science.org/wps/WebProcessingService?Request=DescribeProcess&Version=1.0.0&Service=WPS&Identifier=org.gcube.dataanalysis.wps.statisticalmanager.synchserver.mappedclasses.transducerers.ESRI_GRID_EXTRACTION" } ] } \ No newline at end of file