Uploaded image for project: 'SAFe Program'
  1. SAFe Program
  2. SP-4160

New API in ESAP back end that returns a list of data-product types.

Change Owns to Parent OfsSet start and due date...
    XporterXMLWordPrintable

Details

    • Feature
    • Could have
    • PI22
    • None
    • SRCnet
    • Hide

      When querying for data in the Science Gateway, the users will expect to be able to search only for the data-product types they are interested in (i.e. images, cubes, spectra, etc). By adding an additional API that returns a list of data-product types for a given simple-cone search (RA, dec, radius) we will allow the front end to separate the query results onto different tabbed pages, and also provide a data-product-type filter in the search filter box.

      Show
      When querying for data in the Science Gateway, the users will expect to be able to search only for the data-product types they are interested in (i.e. images, cubes, spectra, etc). By adding an additional API that returns a list of data-product types for a given simple-cone search (RA, dec, radius) we will allow the front end to separate the query results onto different tabbed pages, and also provide a data-product-type filter in the search filter box.
    • Hide

      AC1: A new API is added to the ESAP back end that queries the DaCHS TAP service by RA, dec, and radius, and returns a list of data-product types that are found within the search results.

      AC2: The existing API in the ESAP back end that implements the DaCHS TAP service query has been amended to allow data-product type to be supplied as a query parameter.

      Show
      AC1: A new API is added to the ESAP back end that queries the DaCHS TAP service by RA, dec, and radius, and returns a list of data-product types that are found within the search results. AC2: The existing API in the ESAP back end that implements the DaCHS TAP service query has been amended to allow data-product type to be supplied as a query parameter.
    • 0.5
    • 0.5
    • 0
    • Team_TANGERINE
    • Sprint 1
    • Hide

      AC1: The new FastAPI backend (SP-4159) has been deployed to https://esap.srcdev.skao.int/tannet-api/v1/www/docs/oper, and includes the new endpoint /data/get_product_types (see screenshot attached).

      The new end point accepts ra, dec, and radius, and returns a list of data-product types from the DaCHS TAP service.

      AC2: The ESAP back end did not require any modification to accept the data-product type as a query parameter - this functionality was already there. The front end has been modified to add the data-product type to the query parameters when querying the DaCHS Tap service (see screenshot attached).

      Show
      AC1: The new FastAPI backend ( SP-4159 ) has been deployed to https://esap.srcdev.skao.int/tannet-api/v1/www/docs/oper , and includes the new endpoint /data/get_product_types (see screenshot attached). The new end point accepts ra, dec, and radius, and returns a list of data-product types from the DaCHS TAP service. AC2: The ESAP back end did not require any modification to accept the data-product type as a query parameter - this functionality was already there. The front end has been modified to add the data-product type to the query parameters when querying the DaCHS Tap service (see screenshot attached).
    • 22.4
    • Stories Completed, Integrated, Outcomes Reviewed, Satisfies Acceptance Criteria, Accepted by FO
    • PI23 - UNCOVERED

    • science-gateway

    Description

      When a DaCHS TAP service query is run in the ESAP back end the Science Gateway should separate the results by data-product type (i.e. image, cube, spectra, etc), with a tab for each product type. But the front end cannot generate these tabs after running the query because only one page of data is returned each time the API is called.

      We need an additional API in the ESAP back end that returns a list of data-product types for a given simple-cone search (RA, dec, radius). The front end can use this list to generate tabs in HTML, and then each data-product type can be queried separately in the DaCHS TAP service.

      Attachments

        Issue Links

          Structure

            Activity

              People

                R.Barnsley Barnsley, Rob
                C.Skipper Skipper, Chris
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Feature Progress

                  Story Point Burn-up: (100.00%)

                  Feature Estimate: 0.5

                  IssuesStory Points
                  To Do00.0
                  In Progress   00.0
                  Complete10.5
                  Total10.5

                  Dates

                    Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel