Skip to content
Snippets Groups Projects

Hazard service updates

Merged Powers, Peter M. requested to merge (removed):hazard-service-updates into master
  • Updated Hazard controller and service to only support required arguments as slash-delimited and optional arguments via query, e.g. .../hazard/longitude/latitude/vs30?truncate=true&maxdir=true
  • Updated .../hazard/usage to just be the context path for the service .../hazard and refer to it's response in docs and Swagger as service metadata.
  • Switched to relying on Swagger/micronaut for basic URI validation (e.g. required parameters present). This simplified and reduced annotations and code required. Parameter metadata in the controller only applies to the Swagger index page so global and/or model validation of parameter values is still needed.
  • Added handling for truncate and maxdir query arguments; service now adjusts the returned curves as requested.

Resolves #450 (closed) Resolves #453 (closed) Resolves #454

Edited by Powers, Peter M.

Merge request reports

Merged by avatar (Mar 17, 2025 7:53pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading