Task #16471

New Uri-Resolver: test the new Catalogue Resolver

Added by Francesco Mangiacrapa 10 months ago. Updated 10 months ago.

Status:ClosedStart date:Apr 08, 2019
Priority:NormalDue date:
Assignee:Francesco Mangiacrapa% Done:

100%

Category:data-catalogue
Sprint:Data Catalogue
Milestones:
Duration:

Description

New URI-Resolver available in dev (at https://data1-d.d4science.org/) provides a new Catalogue Resolver (as documented at https://wiki.gcube-system.org/gcube/URI_Resolver#CATALOGUE_Resolver).

I have improved the Catalogue Resolver by performing the following changes:

1) Creating an Item URL, from the JSON fields in the request:

1.1) I have removed the value 'clear_url'. We don't need it;
1.2) I have removed the value 'product' allowable for the 'entity_context'. It was a source of error (see comment below).

2) Resolving an Item URL:

2.2) (Since 1.2) The coding 'ctlg-p' to refer to the entity 'product' will no longer be used. It was a source of error. We just need to use ctlg-d -> to refer a 'dataset' (the 'dataset' is the entity known in CKAN).

We need to reflect these changes in gCat (I kindly ask to @luca.frosini@isti.cnr.it for this one) and in the Catalogue Publisher Widget (I will update by myself this second one) for the gCube 4.14


Related issues

Related to gCube - Release #16400: ckan-util-library.2-9-0 Released Mar 28, 2019

History

#1 Updated by Francesco Mangiacrapa 10 months ago

  • Status changed from New to In Progress

#2 Updated by Francesco Mangiacrapa 10 months ago

I'm going to change the ckan-util-library.. It will be upgraded (from 2.8.2) to version 2.9.0

#3 Updated by Francesco Mangiacrapa 10 months ago

  • % Done changed from 0 to 100

I just updated the ckan-utility-library (2.9.0) and tested it in dev by publishing a catalogue ITEM and its ITEM URL has been generated correctly (see at http://data-d.d4science.org/ctlg/NextNext/test_publishing_for_generating_item_url), so it seems to work fine.

I'm going to release it for gCube 4.14.

@luca.frosini@isti.cnr.it, please, perform a test for gCat asap, thanks.

#4 Updated by Francesco Mangiacrapa 10 months ago

#5 Updated by Francesco Mangiacrapa 10 months ago

  • Status changed from In Progress to Closed

The tests performed by gCat are OK. I'm going to close this ticket

Also available in: Atom PDF