loadCatalogueEndPoints fixing

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@174817 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-12-12 14:43:39 +00:00
parent 80f090086d
commit 04e0d90e09
2 changed files with 1 additions and 32 deletions

View File

@ -72,7 +72,7 @@ public class CkanCatalogueConfigurationsReader {
//It returns the string "catalogue"
String prefixToPublicCtlg = getRelativeURLToCatalogue();
//Replacing for example "ckan-bb" with "catalogue-bb"
String publicCatalogueName = extractCatalogueName(privatePortletURL, prefixToPublicCtlg);
String publicCatalogueName = extractCatalogueName(catalogueImpl.getCatalogueUrl(), prefixToPublicCtlg);
links.setPublicPortletURL(publicURL+"/"+publicCatalogueName);
}catch(Exception e){
logger.warn("Erron on generating public catalogue URL from private URL: "+privatePortletURL, e);

View File

@ -1,31 +0,0 @@
/**
*
*/
package org.gcube.datatransfer.resolver.dataminer;
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
/**
*
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
* Nov 26, 2018
*/
@AllArgsConstructor
@Getter
@Setter
@NoArgsConstructor
@ToString
public class DataMinerRequest {
//private String scope;
private String operatorId;
private Map<String,String> parameters;
}