NASA-PDS / portal-tasks

PDS Portal tasks repo used to track update requests for the website. Actual code and website are managed in separate private repo
https://pds.nasa.gov
0 stars 0 forks source link

Tool Registry no longer works with new Registry Servlet #97

Open jordanpadams opened 1 month ago

jordanpadams commented 1 month ago

Checked for duplicates

Yes - I've already checked

🐛 Describe the bug

Tool registry fails when trying to query the Registry Servlet using Ajax

🕵️ Expected behavior

I expected the query to work

📜 To Reproduce

  1. Go to Tool Registry on staging or test machine
  2. Note the following error
Screenshot 2024-08-13 at 3 48 47 PM
  1. Note the request is: https://amazonaws.com/services/search/search?product-class=Product_Service&sort=service_name%20asc&wt=json&json.wrf=jQuery361015569558942856632_1723588753303&_=1723588753304

The servlet does not support json.wrf


UPDATE

The bug noted above is fixed by allowing json.wrf as a query parameter, but now the issue is since the Solr API only allows access to 1 requesthandler, services are being pre-filtered out of the results. We need to figure out an alternative solution for the servlet to support the Tool Registry.

jordanpadams commented 1 month ago

Refs https://github.com/NASA-PDS/operations/issues/496

jordanpadams commented 1 month ago

Refs https://github.com/NASA-PDS/portal-tasks/issues/96

tloubrieu-jpl commented 2 days ago

The PR will not work on the production registry.