From f2ba354915bbe666517aaa6b4321d40784ea83b4 Mon Sep 17 00:00:00 2001 From: Fabio Sinibaldi Date: Wed, 10 Nov 2021 14:35:41 +0100 Subject: [PATCH] Item Corrections --- .../dm/DMAlgorithmsInfoCollector.java | 7 +-- .../collectors/dm/model/ckan/GCatModel.java | 5 +- .../collectors/dm/TranslationTest.java | 4 +- .../catalogues/gCat/full-algorithm.json | 50 +++++++++---------- 4 files changed, 33 insertions(+), 33 deletions(-) diff --git a/DataMinerAlgorithmsCrawler/src/main/java/org/gcube/data/publishing/gCatFeeder/collectors/dm/DMAlgorithmsInfoCollector.java b/DataMinerAlgorithmsCrawler/src/main/java/org/gcube/data/publishing/gCatFeeder/collectors/dm/DMAlgorithmsInfoCollector.java index 3bd92a4..1003173 100644 --- a/DataMinerAlgorithmsCrawler/src/main/java/org/gcube/data/publishing/gCatFeeder/collectors/dm/DMAlgorithmsInfoCollector.java +++ b/DataMinerAlgorithmsCrawler/src/main/java/org/gcube/data/publishing/gCatFeeder/collectors/dm/DMAlgorithmsInfoCollector.java @@ -1,6 +1,7 @@ package org.gcube.data.publishing.gCatFeeder.collectors.dm; import java.time.LocalDateTime; +import java.time.Month; import java.time.ZoneId; import java.time.chrono.IsoChronology; import java.time.format.DateTimeFormatter; @@ -143,8 +144,8 @@ public class DMAlgorithmsInfoCollector implements DataCollector\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", "profileID": "Method", "resources": [ + { + "description": "Link to the GUI designed to operate with DataMiner", + "format": "https", + "name": "Gateway Link", + "url": "https://next.d4science.org/group/devvre/dataminer?OperatorId=org.gcube.dataanalysis.wps.statisticalmanager.synchserver.mappedclasses.clusterers.XMEANS" + }, { "description": "WPS Link to the Method", "format": "WPS", "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" + "url": "https://dataminer1.dev.d4science.org:443/wps/WebProcessingService?Request=DescribeProcess&Version=1.0.0&Service=WPS&Identifier=org.gcube.dataanalysis.wps.statisticalmanager.synchserver.mappedclasses.clusterers.XMEANS" } ] } \ No newline at end of file