skorper opened a new pull request, #287: URL: https://github.com/apache/incubator-sdap-nexus/pull/287
Implemented the following: - Changed `"title": "The current page"` to `"title": "Get job status - the current page"` in `/job` endpoint - Added format to title for `/cdmsresults` links in `/job` endpoint - Add new `filename` param to `/match_spark` and `/job`. If propogated, filename is propagated to `/cdmsresults` - Updated openapi spec with new params Example output ```json { "status": "success", "message": "", "createdAt": "2023-11-16 21:18:02.030000", "updatedAt": "2023-11-16 21:18:38.567000", "links": [{ "href": "https://localhost:8083/job?id=d0ca300a-d957-4d41-8132-5c7653c89bb2&filename=mytestfilename", "title": "Get job status - the current page", "type": "application/json", "rel": "self" }, { "href": "https://localhost:8083/cdmsresults?id=d0ca300a-d957-4d41-8132-5c7653c89bb2&output=CSV&filename=mytestfilename", "title": "Download CSV results", "type": "text/csv", "rel": "data" }, { "href": "https://localhost:8083/cdmsresults?id=d0ca300a-d957-4d41-8132-5c7653c89bb2&output=JSON&filename=mytestfilename", "title": "Download JSON results", "type": "application/json", "rel": "data" }, { "href": "https://localhost:8083/cdmsresults?id=d0ca300a-d957-4d41-8132-5c7653c89bb2&output=NETCDF&filename=mytestfilename", "title": "Download NETCDF results", "type": "binary/octet-stream", "rel": "data" }], "params": { "primary": "ASCATB-L2-Coastal", "matchup": "MUR25-JPL-L4-GLOB-v04.2", "startTime": "2018-08-01 00:00:00+00:00", "endTime": "2018-08-02 00:00:00+00:00", "bbox": "-100,20,-90,30", "timeTolerance": 43200, "radiusTolerance": 50000, "platforms": "65", "parameter": null, "depthMin": -20, "depthMax": 10 }, "executionID": "d0ca300a-d957-4d41-8132-5c7653c89bb2", "totalPrimaryMatched": 5527, "totalSecondaryMatched": 5527, "averageSecondaryMatched": 1, "totalUniqueSecondaryMatched": 780 } ``` --- Notes: - This PR is pointed to SDAP-493. Once that is merged, I'll re-point this to the correct branch. - I'm aware my changelog entry is in the wrong place... once the 1.2.0 release is finished I'll fix that and move it to a new unreleased section -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@sdap.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org