Closed LocalNewsTV closed 1 month ago
Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
17.7% Duplication on New Code (required ≤ 3%)
B Reliability Rating on New Code (required ≥ A)
See analysis details on SonarCloud
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
Overview
This PR includes the following proposed change(s):
New API endpoint
/v2/activities/bbox
:sanitizeActivityFilterObject()
andgetActivitiesSQLv2()
functionality, reducing maintenance and providing same level of security.Testing
Copied Filter payloads from recordset network requests and used them against this new endpoint, Rendered the response objects in an external tool. Results came out as expected, given how bounding boxes function
Example Details
Payload example (Every record made by me):
API Response:
Response displayed using a MapViewer: