Task #11464
closedUpdate stock endpoint for GRSF-Publication-Service
100%
Description
A new type of timeseries is required for stocks. The new type is called biomass and should be added in the endpoint used for publishing stocks (https://wiki.gcube-system.org/index.php?title=GCube_Data_Catalogue_for_GRSF#Stock_Metadata).
biomass should be added as a json object with structure similar to the other timeseries for stocks (i.e. abundance_level, fishing_pressure).
@luca.frosini@isti.cnr.it I'm assigning this to you, but feel free to re-assign it if someone else should carry this out.
Files
Related issues
Updated by Pasquale Pagano about 7 years ago
- Priority changed from Normal to High
Updated by Luca Frosini about 7 years ago
- Assignee changed from Luca Frosini to Francesco Mangiacrapa
Updated by Luca Frosini about 7 years ago
- Status changed from New to In Progress
- Assignee changed from Francesco Mangiacrapa to Luca Frosini
Updated by Luca Frosini about 7 years ago
- Blocked by Support #11500: Error updating GRSF service with ansible added
Updated by Luca Frosini about 7 years ago
- % Done changed from 40 to 100
I added the field. I'm waiting the right to update the service in dev machine see #11500.
I'll let you knwo as soon as the service is upgraded.
Updated by Luca Frosini about 7 years ago
@marketak@ics.forth.gr you can start to test it. Sorry for the delay
Updated by Luca Frosini about 7 years ago
- Status changed from In Progress to Feedback
Updated by Yannis Marketakis about 7 years ago
- Assignee changed from Luca Frosini to Yannis Marketakis
Thanks for the update Luca.
I'll test ASAP
Updated by Yannis Marketakis about 7 years ago
- % Done changed from 100 to 90
It seems that the records have been published in NextNext VRE (No errors occurred while publishing).
However I cannot find them in the corresponding catalog. Shouldn't they be visible at https://next.d4science.org/group/nextnext/data-catalogue ?
Updated by Luca Frosini about 7 years ago
@marketak@ics.forth.gr you can see the items from here:
https://ckan-d-d4s.d4science.org/organization/grsf
The view from portlet was filtered only for NextNext items only @francesco.mangiacrapa@isti.cnr.it is going to restore the portlet general view.
Updated by Francesco Mangiacrapa about 7 years ago
I just removed the view per VRE for the authority NextNext.
Now you can see the general view at: https://next.d4science.org/group/nextnext/data-catalogue
Moreover, you can point directly to the grsf organization using the link: https://next.d4science.org/group/nextnext/data-catalogue?path=organization/grsf
Updated by Yannis Marketakis about 7 years ago
Thank you both for the update. I confirm that I can see the published records now.
I noticed that the records with the new Biomass entry have added, however, Biomass values have not been added as timeseries (similarly to Abundance Level or Fishing Pressure). I see that they are added as a field under additional info.
Check this record for example: http://data-d.d4science.org/ctlg/NextNext/a59fe482-8875-328b-b689-3d12fc4683c3
Updated by Luca Frosini about 7 years ago
@marketak@ics.forth.gr can you retry by using
"key":"stock_data:Biomass"
instead of
"key" : "biomass"
Updated by Yannis Marketakis about 7 years ago
Just tried but it's still the same (http://data-d.d4science.org/ctlg/NextNext/2d7a1b14-e62d-3a2a-95a0-7b5da2663ad0)
Updated by Luca Frosini about 7 years ago
Can you please provide the raw json you submit?
Updated by Yannis Marketakis about 7 years ago
Of course. You find it in the attached json file.
Updated by Luca Frosini about 7 years ago
@marketak@ics.forth.gr I just realized that 'stock_data:' before Biomass is not needed because it is implicit. I'm going to investigate the timeseries issue.
Updated by Luca Frosini about 7 years ago
- % Done changed from 90 to 100
The issue is fixed as you can check from:
Please close the ticket if is ok for you
Updated by Yannis Marketakis about 7 years ago
Thanks for this Luca. Just a quick confirmation: we are not using the 'stock_data' prefix, correct ?
Updated by Luca Frosini about 7 years ago
Yannis Marketakis wrote:
Thanks for this Luca. Just a quick confirmation: we are not using the 'stock_data' prefix, correct ?
Right, you don't need to use 'stock_data' prefix.
Updated by Luca Frosini almost 7 years ago
It seems working. Do you think I can close the ticket?
Updated by Luca Frosini almost 7 years ago
- Status changed from Feedback to Closed
Updated by Luca Frosini almost 7 years ago
- Project changed from 8 to StocksAndFisheriesKB
- Category deleted (
Default) - Target version deleted (
WP05)