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:
parent
80f090086d
commit
04e0d90e09
|
@ -72,7 +72,7 @@ public class CkanCatalogueConfigurationsReader {
|
||||||
//It returns the string "catalogue"
|
//It returns the string "catalogue"
|
||||||
String prefixToPublicCtlg = getRelativeURLToCatalogue();
|
String prefixToPublicCtlg = getRelativeURLToCatalogue();
|
||||||
//Replacing for example "ckan-bb" with "catalogue-bb"
|
//Replacing for example "ckan-bb" with "catalogue-bb"
|
||||||
String publicCatalogueName = extractCatalogueName(privatePortletURL, prefixToPublicCtlg);
|
String publicCatalogueName = extractCatalogueName(catalogueImpl.getCatalogueUrl(), prefixToPublicCtlg);
|
||||||
links.setPublicPortletURL(publicURL+"/"+publicCatalogueName);
|
links.setPublicPortletURL(publicURL+"/"+publicCatalogueName);
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
logger.warn("Erron on generating public catalogue URL from private URL: "+privatePortletURL, e);
|
logger.warn("Erron on generating public catalogue URL from private URL: "+privatePortletURL, e);
|
||||||
|
|
|
@ -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;
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue