From dee9297b321a48ab76817a99c8cb18066384f176 Mon Sep 17 00:00:00 2001
From: Sara Bertocco <sara.bertocco@inaf.it>
Date: Mon, 15 Feb 2021 10:03:34 +0100
Subject: [PATCH] New name NodeProperties.getNodePropertyByURI becomes
 NodeProperties.getNodePropertiesListByURI

---
 src/main/java/it/inaf/oats/vospace/UriService.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/it/inaf/oats/vospace/UriService.java b/src/main/java/it/inaf/oats/vospace/UriService.java
index 0041ba2..0bcbf2b 100644
--- a/src/main/java/it/inaf/oats/vospace/UriService.java
+++ b/src/main/java/it/inaf/oats/vospace/UriService.java
@@ -73,7 +73,7 @@ public class UriService {
         // TODO add token for authenticated access
         String endpoint = fileServiceUrl + relativePath + "?jobId=" + job.getJobId();
 
-        if (!"true".equals(NodeProperties.getNodePropertyByURI(node, NodeProperties.PUBLIC_READ_URI))) {
+        if (!"true".equals(NodeProperties.getNodePropertiesListByURI(node, NodeProperties.PUBLIC_READ_URI))) {
             endpoint += "&token=" + getEndpointToken(fileServiceUrl + relativePath);
         }
 
-- 
GitLab