Task #13006

Uri Resolver: public catalogue missing for certain gateway

Added by Francesco Mangiacrapa 7 months ago. Updated about 1 month ago.

Status:ClosedStart date:Dec 07, 2018
Priority:HighDue date:
Assignee:Francesco Mangiacrapa% Done:

100%

Category:data-transfer
Sprint:Uri Resolver enhancements
Milestones:
Duration:

Description

We noticed that when a gateway (es. https://bluebridge.d4science.org/) contains (as private) more than one instance of gCube Catalogue (es. https://ckan-grsf-admin.d4science.org/, https://ckan-bb.d4science.org/, https://ckan-grsf.d4science.org/and so on) the redirect (by resolving the ITEM URLs) for their public items does not work properly because only one instance of catalogue is provided as public for gateway.

For example, the BB Gateway provides (only) the ckan-bb catalogue as public at:
https://bluebridge.d4science.org/catalogue

But as private the BB Gateway serves also the ckan-grsf (at https://bluebridge.d4science.org/group/grsf/data-catalogue)

By resolving the GRSF ITEM URL http://data.d4science.org/ctlg/GRSF/d19228d3-4fad-3a25-8ad5-263b8ecdee09

It is not found in the BB catalogue https://bluebridge.d4science.org/catalogue?path=/dataset/d19228d3-4fad-3a25-8ad5-263b8ecdee09 (because it is another catalogue)

We need to perform two actions:

  • update the URI Resolver to redirect public item at [GATEWAY_HOSTNAME]/catalogue-[CATALOGUE_NAME]/?path=[DATASET_ID]

  • deploy any private catalogue of a gateway also as a public catalogue at [GATEWAY_HOSTNAME]/catalogue-CATALOGUE_NAME

For example, the above ITEM URL:

http://data.d4science.org/ctlg/GRSF/d19228d3-4fad-3a25-8ad5-263b8ecdee09

Should be redirected at:

https://bluebridge.d4science.org/catalogue-grsf?path=/dataset/d19228d3-4fad-3a25-8ad5-263b8ecdee09


Related issues

Related to gCube - Release #16284: org.gcube.data-transfer.uri-resolver.2-1-0 Released Mar 14, 2019
Blocks StocksAndFisheriesKB - Bug #13008: GRSF Item URLs are not working properly Closed Dec 07, 2018

History

#1 Updated by Francesco Mangiacrapa 7 months ago

  • Description updated (diff)

#2 Updated by Francesco Mangiacrapa 7 months ago

  • Blocks Bug #13008: GRSF Item URLs are not working properly added

#3 Updated by Francesco Mangiacrapa 6 months ago

  • % Done changed from 0 to 100
  • Status changed from New to In Progress

The new URI-Resolver (version 2.0.0) will provide the business logic presented above in order to contact several public catalogues.

#4 Updated by Francesco Mangiacrapa 6 months ago

  • Related to Release #13031: org.gcube.data-transfer.uri-resolver.2-0-0 added

#5 Updated by Francesco Mangiacrapa 3 months ago

  • Related to deleted (Release #13031: org.gcube.data-transfer.uri-resolver.2-0-0)

#6 Updated by Francesco Mangiacrapa 3 months ago

  • Related to Release #16284: org.gcube.data-transfer.uri-resolver.2-1-0 added

#7 Updated by Francesco Mangiacrapa about 1 month ago

  • Status changed from In Progress to Closed

The new URI-Resolver has been deployed at https://data.d4science.org and seems to provide properly the business logic to resolve more than one gCube's Catalogue like a Public Catalogue.

Now, we have two Catalogues as "open" Catalogues under BlueBridge Gateway at https://bluebridge.d4science.org/

Also available in: Atom PDF