Loading src/main/java/it/inaf/oats/vospace/UriService.java +1 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ public class UriService { endpoint += "?jobId=" + job.getJobId(); if (!"true".equals(NodeProperties.getNodePropertyAsListByURI(node, NodeProperties.PUBLIC_READ_URI))) { if (!"true".equals(NodeProperties.getNodePropertyByURI(node, NodeProperties.PUBLIC_READ_URI))) { endpoint += "&token=" + getEndpointToken(fileServiceUrl + relativePath); } Loading src/test/java/it/inaf/oats/vospace/ListNodeControllerTest.java +0 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.http.HttpHeaders; import org.springframework.http.MediaType; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.TestPropertySource; Loading src/test/java/it/inaf/oats/vospace/UriServiceTest.java +2 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ package it.inaf.oats.vospace; import it.inaf.ia2.aa.ServletRapClient; import it.inaf.ia2.aa.data.User; import it.inaf.oats.vospace.datamodel.NodeProperties; import it.inaf.oats.vospace.persistence.LocationDAO; import it.inaf.oats.vospace.persistence.NodeDAO; import it.inaf.oats.vospace.persistence.model.Location; Loading Loading @@ -76,7 +77,7 @@ public class UriServiceTest { Node node = new DataNode(); Property property = new Property(); property.setUri("ivo://ivoa.net/vospace/core#publicread"); property.setUri(NodeProperties.PUBLIC_READ_URI); property.setValue("true"); node.getProperties().add(property); Loading Loading
src/main/java/it/inaf/oats/vospace/UriService.java +1 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ public class UriService { endpoint += "?jobId=" + job.getJobId(); if (!"true".equals(NodeProperties.getNodePropertyAsListByURI(node, NodeProperties.PUBLIC_READ_URI))) { if (!"true".equals(NodeProperties.getNodePropertyByURI(node, NodeProperties.PUBLIC_READ_URI))) { endpoint += "&token=" + getEndpointToken(fileServiceUrl + relativePath); } Loading
src/test/java/it/inaf/oats/vospace/ListNodeControllerTest.java +0 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.http.HttpHeaders; import org.springframework.http.MediaType; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.TestPropertySource; Loading
src/test/java/it/inaf/oats/vospace/UriServiceTest.java +2 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ package it.inaf.oats.vospace; import it.inaf.ia2.aa.ServletRapClient; import it.inaf.ia2.aa.data.User; import it.inaf.oats.vospace.datamodel.NodeProperties; import it.inaf.oats.vospace.persistence.LocationDAO; import it.inaf.oats.vospace.persistence.NodeDAO; import it.inaf.oats.vospace.persistence.model.Location; Loading Loading @@ -76,7 +77,7 @@ public class UriServiceTest { Node node = new DataNode(); Property property = new Property(); property.setUri("ivo://ivoa.net/vospace/core#publicread"); property.setUri(NodeProperties.PUBLIC_READ_URI); property.setValue("true"); node.getProperties().add(property); Loading