From 5f9681048f3aa022af5e9617d687829d72beb0a3 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Mon, 24 Jan 2022 18:27:56 +0100 Subject: [PATCH 1/3] ref 22700: DataMiner - Check max computations limit Updated max computations parameter check. --- CHANGELOG.md | 7 ++++ pom.xml | 2 +- .../AbstractEcologicalEngineMapper.java | 35 ++++++++++++------- 3 files changed, 31 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae17042..cf6ac08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm # Changelog for "dataminer" +## [v1.8.0-SNAPSHOT] - 2022-01-24 + +### Fixes + +- Fixed max computations support [#22700] + + ## [v1.7.1] - 2021-05-24 ### Fixes diff --git a/pom.xml b/pom.xml index e96f8d7..af68f4a 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ org.gcube.dataanalysis dataminer - 1.7.1 + 1.8.0-SNAPSHOT dataminer An e-Infrastructure service providing state-of-the art DataMining algorithms and ecological modelling approaches under the Web Processing Service (WPS) standard. diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/AbstractEcologicalEngineMapper.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/AbstractEcologicalEngineMapper.java index 0652b3c..f8b08ac 100644 --- a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/AbstractEcologicalEngineMapper.java +++ b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/AbstractEcologicalEngineMapper.java @@ -50,6 +50,8 @@ import org.slf4j.LoggerFactory; public class AbstractEcologicalEngineMapper extends AbstractAnnotatedAlgorithm implements Observable, Cancellable { + private static final int COMPUTATION_WAIT_FOR_RUN_REQUEST = 20000; + /** * Deploying procedure: 1 - modify configuration files 2 - modify resource * file: resources/templates/setup.cfg 3 - generate classes with @@ -85,30 +87,41 @@ public class AbstractEcologicalEngineMapper extends AbstractAnnotatedAlgorithm i this.wpsExternalID = wpsExternalID; } - public static synchronized void addComputation(String session, String user) { + private static synchronized void addComputation(String session, String user) { runningcomputations.put(session, user); } - public static synchronized void removeComputation(String session) { + private static synchronized void removeComputation(String session) { runningcomputations.remove(session); } - public static synchronized int getRuningComputations() { + private static synchronized int getRuningComputations() { return runningcomputations.size(); } - public static synchronized String displayRunningComputations() { + private static synchronized String displayRunningComputations() { return runningcomputations.toString(); } - public void waitForResources() throws Exception { - while (getRuningComputations() > ConfigurationManager.getMaxComputations()) { - Thread.sleep(20000); + private void waitForResources(String computationSession, String username, String scope) throws Exception { + while (waitCondition(computationSession, username, scope)) { + Thread.sleep(COMPUTATION_WAIT_FOR_RUN_REQUEST); LOGGER.debug("Waiting for resources to be available: " + displayRunningComputations()); } } + private static synchronized boolean waitCondition(String computationSession, String username, String scope) { + if (getRuningComputations() >= ConfigurationManager.getMaxComputations()) { + return true; + } else { + // add the computation to the global list of computations + LOGGER.debug("Add computation to run: {}", computationSession); + addComputation(computationSession, username + ":" + scope); + return false; + } + } + // inner objects public AlgorithmConfiguration config; public InfrastructureDialoguer infrastructureDialoguer; @@ -366,11 +379,9 @@ public class AbstractEcologicalEngineMapper extends AbstractAnnotatedAlgorithm i config = configManager.getConfig(); LOGGER.info("Configured algorithm with session " + computationSession); time("Configuration"); - waitForResources(); + waitForResources(computationSession, configManager.getUsername(), configManager.getScope()); LOGGER.info("Running algorithm with session " + computationSession); time("Waiting time for resources to be free"); - // add the computation to the global list of computations - addComputation(computationSession, configManager.getUsername() + ":" + configManager.getScope()); String scope = configManager.getScope(); String username = configManager.getUsername(); @@ -502,8 +513,8 @@ public class AbstractEcologicalEngineMapper extends AbstractAnnotatedAlgorithm i throw e; } finally { LOGGER.debug("accounting algorithm"); - if(operationResult==null){ - operationResult=OperationResult.FAILED; + if (operationResult == null) { + operationResult = OperationResult.FAILED; } accountAlgorithmExecution(startTimeLong, System.currentTimeMillis(), operationResult); LOGGER.debug("Deleting Input Tables"); -- 2.17.1 From 71361eb4357e30c35dadbecf12031b8928c5e00b Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Thu, 27 Jan 2022 18:33:07 +0100 Subject: [PATCH 2/3] Updated gcube-bom to 2.1.0-SNAPSHOT for storagehub 2.0.0 --- pom.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index af68f4a..b30fbec 100644 --- a/pom.xml +++ b/pom.xml @@ -55,7 +55,7 @@ org.gcube.distribution gcube-bom - 2.0.1 + 2.1.0-SNAPSHOT pom import @@ -162,12 +162,10 @@ org.gcube.common storagehub-client-library - [1.0.0, 2.0.0-SNAPSHOT) org.gcube.common storagehub-model - [1.0.0, 2.0.0-SNAPSHOT) -- 2.17.1 From 6ecfcc9a136c838dfabecdd566097cc418f5e9a3 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Tue, 15 Mar 2022 11:04:40 +0100 Subject: [PATCH 3/3] Updated for release --- .classpath | 0 .gitignore | 0 .project | 0 .settings/org.eclipse.core.resources.prefs | 0 .settings/org.eclipse.jdt.core.prefs | 94 +++++++++++++++++++ .settings/org.eclipse.m2e.core.prefs | 0 .settings/org.eclipse.wst.common.component | 0 ....eclipse.wst.common.project.facet.core.xml | 0 .settings/org.eclipse.wst.validation.prefs | 0 CHANGELOG.md | 0 FUNDING.md | 0 LICENSE.md | 0 README.md | 0 descriptor.xml | 0 pom.xml | 2 +- profile.xml | 0 .../bindings/CsvFileDataBinding.java | 0 .../bindings/CsvFileGenerator.java | 0 .../bindings/D4ScienceDataInputBinding.java | 0 .../bindings/D4ScienceFileDataBinding.java | 0 .../bindings/D4ScienceFileGenerator.java | 0 .../bindings/D4ScienceFileParser.java | 0 .../bindings/GifFileDataBinding.java | 0 .../bindings/GifFileGenerator.java | 0 .../bindings/GisLinkDataBinding.java | 0 .../bindings/GisLinkDataInputBinding.java | 0 .../bindings/GisLinkGenerator.java | 0 .../synchserver/bindings/GisLinkParser.java | 0 .../bindings/PngFileDataBinding.java | 0 .../bindings/PngFileGenerator.java | 0 .../infrastructure/DatabaseInfo.java | 0 .../InfrastructureDialoguer.java | 0 .../infrastructure/TableCoherenceChecker.java | 0 .../synchserver/mappedclasses/IClusterer.java | 0 .../synchserver/mappedclasses/IEvaluator.java | 0 .../synchserver/mappedclasses/IGenerator.java | 0 .../synchserver/mappedclasses/IModeller.java | 0 .../mappedclasses/ITransducer.java | 0 .../AbstractEcologicalEngineMapper.java | 0 .../mapping/ConfigurationManager.java | 0 .../mapping/EnvironmentVariableManager.java | 0 .../synchserver/mapping/IOWPSInformation.java | 0 .../synchserver/mapping/InputsManager.java | 0 .../synchserver/mapping/OutputsManager.java | 0 .../mapping/StatisticalTypeToWPSType.java | 0 .../mapping/TableTemplatesMapper.java | 0 .../synchserver/mapping/TokenManager.java | 0 .../synchserver/mapping/WorkspaceManager.java | 0 .../mapping/dataspace/ComputationData.java | 0 .../mapping/dataspace/DataProvenance.java | 0 .../mapping/dataspace/DataspaceManager.java | 0 .../mapping/dataspace/ProvOGenerator.java | 0 .../mapping/dataspace/StoredData.java | 0 .../synchserver/utils/Cancellable.java | 0 .../synchserver/utils/FileManager.java | 0 .../synchserver/utils/GML2CSV.java | 0 .../synchserver/utils/Observable.java | 0 .../synchserver/utils/Observer.java | 0 .../templates/classtemplate.properties | 0 src/main/resources/templates/setup.cfg | 0 .../templates/wpsCapabilitiesSkeleton.xml | 0 .../synchserver/test/AlgorithmTest.java | 0 .../test/CreateTestTableFromFile.java | 0 .../synchserver/test/DumpTestTables.java | 0 .../synchserver/test/MultiThreadingCalls.java | 0 .../synchserver/test/RegressionTests.java | 0 .../test/TestMappedClusterers.java | 0 .../test/TestMappedEvaluators.java | 0 .../test/TestMappedGenerators.java | 0 .../synchserver/test/TestMappedModellers.java | 0 .../test/TestMappedTransducerers.java | 0 src/test/resources/AlgorithmTestURIs.txt | 0 72 files changed, 95 insertions(+), 1 deletion(-) mode change 100644 => 100755 .classpath mode change 100644 => 100755 .gitignore mode change 100644 => 100755 .project mode change 100644 => 100755 .settings/org.eclipse.core.resources.prefs mode change 100644 => 100755 .settings/org.eclipse.jdt.core.prefs mode change 100644 => 100755 .settings/org.eclipse.m2e.core.prefs mode change 100644 => 100755 .settings/org.eclipse.wst.common.component mode change 100644 => 100755 .settings/org.eclipse.wst.common.project.facet.core.xml mode change 100644 => 100755 .settings/org.eclipse.wst.validation.prefs mode change 100644 => 100755 CHANGELOG.md mode change 100644 => 100755 FUNDING.md mode change 100644 => 100755 LICENSE.md mode change 100644 => 100755 README.md mode change 100644 => 100755 descriptor.xml mode change 100644 => 100755 pom.xml mode change 100644 => 100755 profile.xml mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/CsvFileDataBinding.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/CsvFileGenerator.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/D4ScienceDataInputBinding.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/D4ScienceFileDataBinding.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/D4ScienceFileGenerator.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/D4ScienceFileParser.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GifFileDataBinding.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GifFileGenerator.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GisLinkDataBinding.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GisLinkDataInputBinding.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GisLinkGenerator.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GisLinkParser.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/PngFileDataBinding.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/PngFileGenerator.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/infrastructure/DatabaseInfo.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/infrastructure/InfrastructureDialoguer.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/infrastructure/TableCoherenceChecker.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/IClusterer.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/IEvaluator.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/IGenerator.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/IModeller.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/ITransducer.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/AbstractEcologicalEngineMapper.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/ConfigurationManager.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/EnvironmentVariableManager.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/IOWPSInformation.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/InputsManager.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/OutputsManager.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/StatisticalTypeToWPSType.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/TableTemplatesMapper.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/TokenManager.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/WorkspaceManager.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/ComputationData.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/DataProvenance.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/DataspaceManager.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/ProvOGenerator.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/StoredData.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/Cancellable.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/FileManager.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/GML2CSV.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/Observable.java mode change 100644 => 100755 src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/Observer.java mode change 100644 => 100755 src/main/resources/templates/classtemplate.properties mode change 100644 => 100755 src/main/resources/templates/setup.cfg mode change 100644 => 100755 src/main/resources/templates/wpsCapabilitiesSkeleton.xml mode change 100644 => 100755 src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/AlgorithmTest.java mode change 100644 => 100755 src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/CreateTestTableFromFile.java mode change 100644 => 100755 src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/DumpTestTables.java mode change 100644 => 100755 src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/MultiThreadingCalls.java mode change 100644 => 100755 src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/RegressionTests.java mode change 100644 => 100755 src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedClusterers.java mode change 100644 => 100755 src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedEvaluators.java mode change 100644 => 100755 src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedGenerators.java mode change 100644 => 100755 src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedModellers.java mode change 100644 => 100755 src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedTransducerers.java mode change 100644 => 100755 src/test/resources/AlgorithmTestURIs.txt diff --git a/.classpath b/.classpath old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.project b/.project old mode 100644 new mode 100755 diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs old mode 100644 new mode 100755 diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs old mode 100644 new mode 100755 index 9de2ed6..b408c6a --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -1,15 +1,109 @@ eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnull.secondary= +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary= +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullable.secondary= +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore +org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables=warning +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore +org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs old mode 100644 new mode 100755 diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component old mode 100644 new mode 100755 diff --git a/.settings/org.eclipse.wst.common.project.facet.core.xml b/.settings/org.eclipse.wst.common.project.facet.core.xml old mode 100644 new mode 100755 diff --git a/.settings/org.eclipse.wst.validation.prefs b/.settings/org.eclipse.wst.validation.prefs old mode 100644 new mode 100755 diff --git a/CHANGELOG.md b/CHANGELOG.md old mode 100644 new mode 100755 diff --git a/FUNDING.md b/FUNDING.md old mode 100644 new mode 100755 diff --git a/LICENSE.md b/LICENSE.md old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/descriptor.xml b/descriptor.xml old mode 100644 new mode 100755 diff --git a/pom.xml b/pom.xml old mode 100644 new mode 100755 index b30fbec..615931d --- a/pom.xml +++ b/pom.xml @@ -55,7 +55,7 @@ org.gcube.distribution gcube-bom - 2.1.0-SNAPSHOT + 2.0.2-SNAPSHOT pom import diff --git a/profile.xml b/profile.xml old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/CsvFileDataBinding.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/CsvFileDataBinding.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/CsvFileGenerator.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/CsvFileGenerator.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/D4ScienceDataInputBinding.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/D4ScienceDataInputBinding.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/D4ScienceFileDataBinding.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/D4ScienceFileDataBinding.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/D4ScienceFileGenerator.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/D4ScienceFileGenerator.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/D4ScienceFileParser.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/D4ScienceFileParser.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GifFileDataBinding.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GifFileDataBinding.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GifFileGenerator.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GifFileGenerator.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GisLinkDataBinding.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GisLinkDataBinding.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GisLinkDataInputBinding.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GisLinkDataInputBinding.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GisLinkGenerator.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GisLinkGenerator.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GisLinkParser.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/GisLinkParser.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/PngFileDataBinding.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/PngFileDataBinding.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/PngFileGenerator.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/bindings/PngFileGenerator.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/infrastructure/DatabaseInfo.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/infrastructure/DatabaseInfo.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/infrastructure/InfrastructureDialoguer.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/infrastructure/InfrastructureDialoguer.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/infrastructure/TableCoherenceChecker.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/infrastructure/TableCoherenceChecker.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/IClusterer.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/IClusterer.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/IEvaluator.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/IEvaluator.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/IGenerator.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/IGenerator.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/IModeller.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/IModeller.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/ITransducer.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mappedclasses/ITransducer.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/AbstractEcologicalEngineMapper.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/AbstractEcologicalEngineMapper.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/ConfigurationManager.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/ConfigurationManager.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/EnvironmentVariableManager.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/EnvironmentVariableManager.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/IOWPSInformation.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/IOWPSInformation.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/InputsManager.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/InputsManager.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/OutputsManager.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/OutputsManager.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/StatisticalTypeToWPSType.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/StatisticalTypeToWPSType.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/TableTemplatesMapper.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/TableTemplatesMapper.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/TokenManager.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/TokenManager.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/WorkspaceManager.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/WorkspaceManager.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/ComputationData.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/ComputationData.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/DataProvenance.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/DataProvenance.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/DataspaceManager.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/DataspaceManager.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/ProvOGenerator.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/ProvOGenerator.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/StoredData.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/StoredData.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/Cancellable.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/Cancellable.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/FileManager.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/FileManager.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/GML2CSV.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/GML2CSV.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/Observable.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/Observable.java old mode 100644 new mode 100755 diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/Observer.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/utils/Observer.java old mode 100644 new mode 100755 diff --git a/src/main/resources/templates/classtemplate.properties b/src/main/resources/templates/classtemplate.properties old mode 100644 new mode 100755 diff --git a/src/main/resources/templates/setup.cfg b/src/main/resources/templates/setup.cfg old mode 100644 new mode 100755 diff --git a/src/main/resources/templates/wpsCapabilitiesSkeleton.xml b/src/main/resources/templates/wpsCapabilitiesSkeleton.xml old mode 100644 new mode 100755 diff --git a/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/AlgorithmTest.java b/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/AlgorithmTest.java old mode 100644 new mode 100755 diff --git a/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/CreateTestTableFromFile.java b/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/CreateTestTableFromFile.java old mode 100644 new mode 100755 diff --git a/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/DumpTestTables.java b/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/DumpTestTables.java old mode 100644 new mode 100755 diff --git a/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/MultiThreadingCalls.java b/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/MultiThreadingCalls.java old mode 100644 new mode 100755 diff --git a/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/RegressionTests.java b/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/RegressionTests.java old mode 100644 new mode 100755 diff --git a/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedClusterers.java b/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedClusterers.java old mode 100644 new mode 100755 diff --git a/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedEvaluators.java b/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedEvaluators.java old mode 100644 new mode 100755 diff --git a/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedGenerators.java b/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedGenerators.java old mode 100644 new mode 100755 diff --git a/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedModellers.java b/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedModellers.java old mode 100644 new mode 100755 diff --git a/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedTransducerers.java b/src/test/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/test/TestMappedTransducerers.java old mode 100644 new mode 100755 diff --git a/src/test/resources/AlgorithmTestURIs.txt b/src/test/resources/AlgorithmTestURIs.txt old mode 100644 new mode 100755 -- 2.17.1