diff --git a/src/test/java/org/gcube/application/UCD_Tests.java b/src/test/java/org/gcube/application/UCD_Tests.java index 83bb2ba..eaa31b0 100644 --- a/src/test/java/org/gcube/application/UCD_Tests.java +++ b/src/test/java/org/gcube/application/UCD_Tests.java @@ -8,6 +8,7 @@ import org.gcube.application.geoportalcommon.ConvertToDataValueObjectModel; import org.gcube.application.geoportalcommon.geoportal.GeoportalClientCaller; import org.gcube.application.geoportalcommon.geoportal.UseCaseDescriptorCaller; import org.gcube.application.geoportalcommon.shared.geoportal.GEOPORTAL_DATA_HANDLER; +import org.gcube.application.geoportalcommon.shared.geoportal.UseCaseDescriptorDV; import org.gcube.common.authorization.library.provider.SecurityTokenProvider; import org.gcube.common.scope.api.ScopeProvider; import org.junit.Before; @@ -21,7 +22,7 @@ public class UCD_Tests { // private static String TOKEN = ""; //preVRE private static String CONTEXT = "/gcube/devsec/devVRE"; - private static String TOKEN = "8e74a17c-92f1-405a-b591-3a6090066248-98187548"; // devVRE + private static String TOKEN = ""; // devVRE private static String PROFILE_ID = "profiledConcessioni"; @@ -76,7 +77,8 @@ public class UCD_Tests { int i = 0; for (UseCaseDescriptor useCaseDescriptor : listOfUCD) { System.out.println(++i + ") " + useCaseDescriptor); - ConvertToDataValueObjectModel.toUseCaseDescriptorDV(useCaseDescriptor, null); + UseCaseDescriptorDV ucdDV = ConvertToDataValueObjectModel.toUseCaseDescriptorDV(useCaseDescriptor, null); + System.out.println("returned "+ucdDV); } }