Skip to content

test(population-density-data): add GEOHASHLIST support and rework time/error model#128

Open
albertoramosmonagas wants to merge 4 commits into
camaraproject:mainfrom
albertoramosmonagas:atp_population-density-data
Open

test(population-density-data): add GEOHASHLIST support and rework time/error model#128
albertoramosmonagas wants to merge 4 commits into
camaraproject:mainfrom
albertoramosmonagas:atp_population-density-data

Conversation

@albertoramosmonagas

@albertoramosmonagas albertoramosmonagas commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

Add one of the following kinds:

  • tests

What this PR does / why we need it:

This PR updates the ATP test feature file for retrievePopulationDensity to align with the next meta-release's schema and operational model. Scenario count grows from 22 to 41.

Key changes: fields renamed from startDate/endDate to startTime/endTime throughout; added full test coverage for a new GEOHASHLIST area type (alongside the existing POLYGON), including its specific success and error scenarios; reworked the async flow (sinkCredentials → sinkCredential, new operationId tracking, new failure-callback scenario) and split error codes between 400 (request validation) and 422 (semantic/processing errors); added missing 403 and 429 error scenarios; and added several generic-validation error cases (malformed body, unexpected properties, invalid x-correlator).

Scenario tags were restructured to group errors by HTTP status (400.01, 401.01, 422.01, etc.) instead of a flat sequential index, and a handful of longstanding typos were fixed (boundry→boundary, recieved→received).

Net effect: moves from a polygon-only, date-based, single-error-tier model to a dual-area-type, date-time-based model with status-segmented error handling and a fully specified async failure path.

Which issue(s) this PR fixes:

Fixes #109

Special notes for reviewers:

Changelog input

release-note
Rename startDate/endDate to startTime/endTime, add GEOHASHLIST area type scenarios, split error codes between 400 (validation) and 422 (semantic), add async failure path and operationId tracking, and add missing 403/429 error scenarios.

Additional documentation

This section can be blank.

docs

@albertoramosmonagas

Copy link
Copy Markdown
Contributor Author

Hi @camaraproject/population-density-data_codeowners,

with this PR and the current #123, I think we've everything we need to create the snapshot for issue #125. If there are any further points, please let me know. Please review and approve the merge if everything is OK to proceed to the next steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scope for Sync26 release (in preparation)

1 participant