Project

General

Profile

Actions

Support #17934

closed

Provide a GRSF enviroment on preproduction to test the publishing of GRSF records by grsf-services

Added by Francesco Mangiacrapa over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Start date:
Nov 06, 2019
Due date:
% Done:

100%

Estimated time:
VREName:

Description

The GRSF-PRE catalogue provided for testing is https://ckan-grsf.pre.d4science.org (accessible only to a list of public IP, the public access is denied). The catalogue is reachable by preproduction gateway at https://pre.d4science.org/group/dorne/data-catalogue (the VRE is /pred4s/preprod/Dorne).

We have already generated a user (the grsf.publisher) and a token (ddfda8a9-8594-4344-MASKED-TOKEN) that have to be used for testing by grsf-services of preproduction available at http://smart-grsf-d-d4s.d4science.org.

The FORTH (by @marketak@ics.forth.gr) has notified the following error:

2019-11-06 10:24:39 DEBUG GrsfPublisher:84 - publishing URL: https://smart-grsf-d-d4s.d4science.org/grsf-publisher-ws/rest/firms/stock/publish-product?gcube-token=MASKED-TOKEN
2019-11-06 10:24:39 DEBUG GrsfPublisher:88 - publishing content: {"stock_name":"Mackerel icefish - South Georgia","license_id":"CC-BY-SA-4.0","version":1.0,"d...."}
2019-11-06 10:24:39 ERROR GrsfPublisher:99 - Method failed: HTTP/1.1 500 Internal Server Error; Response body: {"id":null,"knowledge_base_id":null,"product_url":null,"error":"Error while performing GET. Request url was: https://ckan-grsf.pre.d4science.org//api/3/action/organization_show?id=firms&include_datasets=false&include_users=true  CkanResponse{error=Ckan error of type: Not Found Error  message:Not found  Other fields:{}, success=false, help=https://ckan-grsf.pre.d4science.org/api/3/action/help_show?name=organization_show}  CkanClient{catalogURL=https://ckan-grsf.pre.d4science.org, ckanToken=*****MASKED_TOKEN*******}"}
2019-11-06 10:24:39 ERROR GrsfPublisher:111 - Fatal transport error:
java.lang.Exception: Method failed: HTTP/1.1 500 Internal Server Error; Response body: {"id":null,"knowledge_base_id":null,"product_url":null,"error":"Error while performing GET. Request url was: https://ckan-grsf.pre.d4science.org//api/3/action/organization_show?id=firms&include_datasets=false&include_users=true  CkanResponse{error=Ckan error of type: Not Found Error  message:Not found  Other fields:{}, success=false, help=https://ckan-grsf.pre.d4science.org/api/3/action/help_show?name=organization_show}  CkanClient{catalogURL=https://ckan-grsf.pre.d4science.org, ckanToken=*****MASKED_TOKEN*******}"}

The reported issue is on the CKAN-side. I believe that is due to the missing organizations (at the moment) on the GRSF-PRE catalogue, the forth is trying to publish into FIRMS organization (that does not exist).
I'm going to create the list of GRSF organizations needed for publishing (like the GRF-ADMIN organizations, see at http://ckan-grsf-admin.d4science.org/api/action/organization_list)


Files

DorneVRE-capture.jpg (84.7 KB) DorneVRE-capture.jpg Yannis Marketakis, Nov 08, 2019 10:30 AM
grsf-publish.log (3.13 KB) grsf-publish.log Yannis Marketakis, Feb 26, 2020 10:58 AM
000a9211-ebcf-3b3e-a72b-11c0f3ce887a.json (1.48 KB) 000a9211-ebcf-3b3e-a72b-11c0f3ce887a.json Yannis Marketakis, Feb 26, 2020 04:05 PM
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)