Skip to content

Server v1.0.0#2535

Merged
johngrimes merged 4 commits intomainfrom
release/server/v1.0.0
Jan 21, 2026
Merged

Server v1.0.0#2535
johngrimes merged 4 commits intomainfrom
release/server/v1.0.0

Conversation

@johngrimes
Copy link
Member

No description provided.

Add opt-in support for 303 See Other redirects on completed async jobs,
following the SQL on FHIR unify-async specification. When enabled via
@AsyncSupported(redirectOnComplete = true), completed jobs return a 303
redirect to the new $job-result endpoint instead of inline results.

Changes:
- Add redirectOnComplete attribute to @AsyncSupported annotation
- Add redirectOnComplete field to Job class
- Update AsyncAspect to capture redirect flag from annotation
- Update JobProvider to return 303 with Location header when enabled
- Create new JobResultProvider for $job-result endpoint
- Enable redirect pattern on $viewdefinition-export operation

Bulk export operations continue using the legacy 200 OK inline pattern.
Adds tests for error handling, job cancellation, and edge cases in
JobProvider and JobResultProvider. Improves branch coverage from 36%
to 50% for JobProvider and from 72% to 81% for JobResultProvider.
@johngrimes johngrimes self-assigned this Jan 21, 2026
@johngrimes johngrimes added the release Pull request that represents a new release label Jan 21, 2026
@github-project-automation github-project-automation bot moved this to Backlog in Pathling Jan 21, 2026
Build native JSON first in ExportResponse, avoiding lossy
Parameters-to-JSON conversion. The manifest now always includes
output and error as arrays, with native JSON attached via userData
for direct extraction by the interceptor.

Invert default in ParametersToJsonInterceptor to return plain JSON
unless client explicitly requests application/fhir+json.
@johngrimes johngrimes merged commit 4db7bb2 into main Jan 21, 2026
2 checks passed
@johngrimes johngrimes deleted the release/server/v1.0.0 branch January 21, 2026 05:57
@github-project-automation github-project-automation bot moved this from Backlog to Done in Pathling Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Pull request that represents a new release

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant