aligned with the new method 'addResourceToDataset(ResourceBean
resourceBean, String organizationName, String username)'
This commit is contained in:
parent
27e356be52
commit
277aedb975
|
@ -524,7 +524,7 @@ public class CKANPublisherServicesImpl extends RemoteServiceServlet implements C
|
|||
// get the scope in which we should discover the ckan instance given the organization name in which the dataset was created
|
||||
String scope = getScopeFromOrgName(resource.getOrganizationNameDatasetParent());
|
||||
DataCatalogue catalogue = getCatalogue(scope);
|
||||
String resourceId = catalogue.addResourceToDataset(resourceBean);
|
||||
String resourceId = catalogue.addResourceToDataset(resourceBean, resource.getOrganizationNameDatasetParent(), username);
|
||||
|
||||
if(resourceId != null){
|
||||
logger.info("Resource " + resource.getName() + " is now available");
|
||||
|
|
Loading…
Reference in New Issue