|
|
|
@ -12,12 +12,10 @@ import org.gcube.common.resources.gcore.ServiceEndpoint.Runtime;
|
|
|
|
|
import org.gcube.common.resources.gcore.common.Platform;
|
|
|
|
|
import org.gcube.common.resources.gcore.utils.Group;
|
|
|
|
|
import org.gcube.informationsystem.model.impl.embedded.HeaderImpl;
|
|
|
|
|
import org.gcube.informationsystem.model.impl.embedded.ValueSchemaImpl;
|
|
|
|
|
import org.gcube.informationsystem.model.impl.relation.ConsistsOfImpl;
|
|
|
|
|
import org.gcube.informationsystem.model.impl.relation.IsIdentifiedByImpl;
|
|
|
|
|
import org.gcube.informationsystem.model.impl.utils.ISMapper;
|
|
|
|
|
import org.gcube.informationsystem.model.reference.embedded.Header;
|
|
|
|
|
import org.gcube.informationsystem.model.reference.embedded.ValueSchema;
|
|
|
|
|
import org.gcube.informationsystem.model.reference.entity.Facet;
|
|
|
|
|
import org.gcube.informationsystem.model.reference.entity.Resource;
|
|
|
|
|
import org.gcube.informationsystem.model.reference.relation.ConsistsOf;
|
|
|
|
@ -28,11 +26,13 @@ import org.gcube.resourcemanagement.model.impl.entity.facet.AccessPointFacetImpl
|
|
|
|
|
import org.gcube.resourcemanagement.model.impl.entity.facet.NetworkingFacetImpl;
|
|
|
|
|
import org.gcube.resourcemanagement.model.impl.entity.facet.ServiceStateFacetImpl;
|
|
|
|
|
import org.gcube.resourcemanagement.model.impl.entity.facet.SoftwareFacetImpl;
|
|
|
|
|
import org.gcube.resourcemanagement.model.impl.entity.properties.ValueSchemaImpl;
|
|
|
|
|
import org.gcube.resourcemanagement.model.impl.entity.resource.EServiceImpl;
|
|
|
|
|
import org.gcube.resourcemanagement.model.reference.entity.facet.AccessPointFacet;
|
|
|
|
|
import org.gcube.resourcemanagement.model.reference.entity.facet.NetworkingFacet;
|
|
|
|
|
import org.gcube.resourcemanagement.model.reference.entity.facet.ServiceStateFacet;
|
|
|
|
|
import org.gcube.resourcemanagement.model.reference.entity.facet.SoftwareFacet;
|
|
|
|
|
import org.gcube.resourcemanagement.model.reference.entity.properties.ValueSchema;
|
|
|
|
|
import org.gcube.resourcemanagement.model.reference.entity.resource.EService;
|
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
@ -269,7 +269,7 @@ public class ServiceEndpointExporter extends GCoreResourceMapper<ServiceEndpoint
|
|
|
|
|
|
|
|
|
|
if(value.compareTo("")!=0){
|
|
|
|
|
authorization.setValue(value);
|
|
|
|
|
authorization.setSchema(URI.create(schema));
|
|
|
|
|
authorization.setType(URI.create(schema));
|
|
|
|
|
|
|
|
|
|
accessPointFacets[i].setAuthorization(authorization);
|
|
|
|
|
}
|
|
|
|
|