Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • E esap-general
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 60
    • Issues 60
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Jira
    • Jira
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • ASTRON SDC
  • ESCAPE WP5
  • esap-general
  • Issues
  • #2

Closed
Open
Created Jun 15, 2021 by Stelios@VoutsinasDeveloper

Develop API / Service to harvest list of Software & Workflows from the OSSR

In the IDA we currently display a list of Worfklows (Notebooks) that are stored in an SQLLite database. WP3 & the OSSR have built a Software Repository that will include workflows for ESCAPE, and this issue is to investigate & develop the mechanism in ESAP for collecting this metadata for existing software & workflows, and displaying it to the user.

The service in the API that currently collects this metadata from the database can be found here: https://git.astron.nl/astron-sdc/esap-api-gateway/-/blob/master/esap/ida/api/services/ida_controller.py

We need to extend this service so that it calls out to the REST API of the OSSR (Zenodo), collects the JSON response and formats it in a way that the GUI can read and display as a list.

For the above we need to implement a harvestor method as follows:

def get_OSSR_entries(parameters: list) -> dict:
    # GET request to the OSSR with optional parameters
    # Format results
    # Return formatted results
Edited Jun 16, 2021 by John Swinbank
Assignee
Assign to
Time tracking