Basic fixes

This commit is contained in:
Fabio Sinibaldi 2022-04-06 17:58:20 +02:00
parent 724a6bcfff
commit bb47c90c9e
3 changed files with 2 additions and 5 deletions

View File

@ -1,16 +1,13 @@
package org.gcube.application.cms.plugins.implementations.executions; package org.gcube.application.cms.plugins.implementations.executions;
import com.sun.xml.internal.ws.client.HandlerConfiguration;
import lombok.Getter; import lombok.Getter;
import lombok.NonNull; import lombok.NonNull;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.gcube.application.cms.plugins.faults.InsufficientPrivileges; import org.gcube.application.cms.plugins.faults.InsufficientPrivileges;
import org.gcube.application.cms.plugins.faults.StepException; import org.gcube.application.cms.plugins.faults.StepException;
import org.gcube.application.cms.plugins.implementations.RoleManager;
import org.gcube.application.cms.plugins.reports.DocumentHandlingReport; import org.gcube.application.cms.plugins.reports.DocumentHandlingReport;
import org.gcube.application.cms.plugins.requests.BaseExecutionRequest; import org.gcube.application.cms.plugins.requests.BaseExecutionRequest;
import org.gcube.application.geoportal.common.model.document.lifecycle.LifecycleInformation;
import org.gcube.application.geoportal.common.model.plugins.OperationDescriptor; import org.gcube.application.geoportal.common.model.plugins.OperationDescriptor;
import org.gcube.application.geoportal.common.model.rest.ConfigurationException; import org.gcube.application.geoportal.common.model.rest.ConfigurationException;
import org.gcube.application.geoportal.common.model.useCaseDescriptor.HandlerDeclaration; import org.gcube.application.geoportal.common.model.useCaseDescriptor.HandlerDeclaration;

View File

@ -14,7 +14,7 @@ public class GCubeTest {
// testContext = "/pred4s/preprod/preVRE"; // testContext = "/pred4s/preprod/preVRE";
testContext = "/gcube/devsec/devVRE"; //testContext = "/gcube/devsec/devVRE";
System.out.println("TEST CONTEXT = "+testContext); System.out.println("TEST CONTEXT = "+testContext);

View File

@ -65,7 +65,7 @@ public class JSONPathTests {
wrapper=getNavigator("profiles/basicProfile.json"); wrapper=getNavigator("profiles/basicProfile.json");
checkPutElement(wrapper,"$..[?(@."+HandlerDeclaration.ID+" == 'SDI-Default-Materializer')]."+ HandlerDeclaration.CONFIGURATION,"additional", checkPutElement(wrapper,"$..[?(@."+HandlerDeclaration.ID+" == 'DEFAULT-SINGLE-PHASE')]."+ HandlerDeclaration.CONFIGURATION,"additional",
Collections.singletonMap("myKey","myField")); Collections.singletonMap("myKey","myField"));
} }