Project

General

Profile

Actions

Task #11464

closed

Update stock endpoint for GRSF-Publication-Service

Added by Yannis Marketakis about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
High
Target version:
-
Start date:
Mar 16, 2018
Due date:
% Done:

100%

Estimated time:

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

Blocked by D4Science Infrastructure - Support #11500: Error updating GRSF service with ansibleClosed_InfraScience Systems EngineerMar 21, 2018

Actions
Actions #1

Updated by Pasquale Pagano about 7 years ago

  • Priority changed from Normal to High
Actions #2

Updated by Luca Frosini about 7 years ago

  • Assignee changed from Luca Frosini to Francesco Mangiacrapa
Actions #3

Updated by Luca Frosini about 7 years ago

  • Status changed from New to In Progress
  • Assignee changed from Francesco Mangiacrapa to Luca Frosini
Actions #4

Updated by Luca Frosini about 7 years ago

  • % Done changed from 0 to 40
Actions #5

Updated by Luca Frosini about 7 years ago

  • Blocked by Support #11500: Error updating GRSF service with ansible added
Actions #6

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.

Actions #7

Updated by Luca Frosini about 7 years ago

@marketak@ics.forth.gr you can start to test it. Sorry for the delay

Actions #8

Updated by Luca Frosini about 7 years ago

  • Status changed from In Progress to Feedback
Actions #9

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

Actions #10

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 ?

Actions #11

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.

Actions #12

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

Actions #13

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

Actions #14

Updated by Luca Frosini about 7 years ago

I'm going to investigate it

Actions #15

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"
Actions #17

Updated by Luca Frosini about 7 years ago

Can you please provide the raw json you submit?

Actions #18

Updated by Yannis Marketakis about 7 years ago

Of course. You find it in the attached json file.

Actions #19

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.

Actions #20

Updated by Luca Frosini about 7 years ago

  • % Done changed from 90 to 100

The issue is fixed as you can check from:

https://next.d4science.org/group/nextnext/data-catalogue?path=/dataset/e3271be7-280b-45c8-ae84-5b2faaece5df

Please close the ticket if is ok for you

Actions #21

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 ?

Actions #22

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.

Actions #24

Updated by Luca Frosini almost 7 years ago

It seems working. Do you think I can close the ticket?

Actions #25

Updated by Yannis Marketakis almost 7 years ago

Yes I think so

Actions #26

Updated by Luca Frosini almost 7 years ago

  • Status changed from Feedback to Closed
Actions #27

Updated by Luca Frosini almost 7 years ago

  • Project changed from 8 to StocksAndFisheriesKB
  • Category deleted (Default)
  • Target version deleted (WP05)
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)