Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
refactor(gateway): Adopt aegis-api patterns for FHIR infrastructure#2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
85920ba
feat(gateway): add Result<T> type with tests
rsalus 46fcdb9
feat(gateway): add Error and ErrorType with tests
rsalus 0c6bf86
feat(gateway): add ErrorFactory with tests
rsalus 1529ca0
feat(gateway): add FhirErrors with tests
rsalus 5eaf99b
feat(gateway): add EpicFhirOptions with tests
rsalus 7413fdb
feat(gateway): add IntelligenceOptions with tests
rsalus 24065e5
feat(gateway): add IHttpClientProvider interface
rsalus 8b1d2be
feat(gateway): add ResiliencyOptions with tests
rsalus e28e304
feat(gateway): add HttpClientProvider with token caching
rsalus 6a82622
feat(gateway): add ServiceCollectionExtensions with resilience
rsalus f19aa08
feat(gateway): add IFhirSerializer and FhirSerializer with tests
rsalus f0f83d4
refactor(gateway): update EpicFhirContext to use IFhirSerializer
rsalus 77edb22
Merge branch 'feature/008-fhir-serializer' into feature/013-service-m…
rsalus c25a0eb
chore: merge all infrastructure branches for service migration
rsalus 106431a
fix: resolve merge conflicts in configuration and serializer types
rsalus 2590112
feat(gateway): update IEpicFhirClient to return Result<T>
rsalus 45a494d
feat(gateway): update EpicFhirClient implementation for Result<T>
rsalus 040b12f
feat(gateway): update service interfaces to return Result<T>
rsalus 62190ba
feat(gateway): update endpoint handlers for Result<T>
rsalus 9430931
feat(gateway): consolidate DI registration in ServiceCollectionExtens…
rsalus 4424e8f
Merge feature/013-service-migration (gateway FHIR refactor)
rsalus 24beee1
refactor(gateway): vendor-agnostic naming and architecture cleanup
rsalus cbd1855
refactor: remove CDS/vendor-specific code and create stubs
rsalus c5d7cf2
fix(intelligence): wrap long line for ruff E501 compliance
rsalus 13e6963
fix: code style
rsalus 5be600e
chore: regenerate schemas from Intelligence OpenAPI spec
rsalus 127038f
fix: address PR review feedback
rsalus c79a93f
test(intelligence): add tests for stub implementations
rsalus 6759ccb
fix: address additional PR review feedback (round 2)
rsalus db26427
feat: add GitHub Project automation for PRs and issues
rsalus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| # =========================================================================== | ||
| # Root .dockerignore for monorepo Docker builds | ||
| # =========================================================================== | ||
| # Git | ||
| .git/ | ||
| .gitignore | ||
| # Node modules (will be installed fresh in container) | ||
| **/node_modules/ | ||
| # Python virtual environments | ||
| **/.venv/ | ||
| **/__pycache__/ | ||
| **/*.pyc | ||
| # IDE | ||
| .idea/ | ||
| .vscode/ | ||
| *.swp | ||
| *.swo | ||
| # Test artifacts | ||
| **/coverage/ | ||
| **/.vitest/ | ||
| **/.pytest_cache/ | ||
| # Build artifacts we don't need | ||
| **/*.log | ||
| **/npm-debug.log* | ||
| # OS files | ||
| .DS_Store | ||
| Thumbs.db | ||
| # Documentation (not needed in containers) | ||
| docs/ | ||
| # Orchestration (not needed in app containers) | ||
| orchestration/ | ||
| # Temp files | ||
| *.txt | ||
| *.tmp | ||
| # Keep these (explicitly) | ||
| !apps/dashboard/dist/ | ||
| !apps/dashboard/nginx.conf | ||
| !shared/types/dist/ | ||
| !shared/validation/dist/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -101,3 +101,4 @@ assets/pdf-templates/*.pdf | ||
| # Workflow state (session-specific) | ||
| docs/workflow-state/ | ||
| .worktrees/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| # =========================================================================== | ||
| # AuthScript Dashboard - Full Build Dockerfile | ||
| # For CI/CD when pre-built assets aren't available | ||
| # | ||
| # Build from monorepo root: | ||
| # docker build -f apps/dashboard/Dockerfile.build -t authscript-dashboard . | ||
| # =========================================================================== | ||
| # --------------------------------------------------------------------------- | ||
| # Stage 1: Build | ||
| # --------------------------------------------------------------------------- | ||
| FROM docker.io/library/node:22-alpine AS builder | ||
| WORKDIR /app | ||
| # Copy workspace config and lock file | ||
| COPY package.json package-lock.json ./ | ||
| # Copy shared packages | ||
| COPY shared/types ./shared/types | ||
| COPY shared/validation ./shared/validation | ||
| # Copy dashboard package.json for dependency resolution | ||
| COPY apps/dashboard/package.json ./apps/dashboard/ | ||
| # Install all workspace dependencies with cache mount | ||
| RUN --mount=type=cache,target=/root/.npm \ | ||
| npm ci --workspace=apps/dashboard --workspace=shared/types --workspace=shared/validation | ||
| # Build shared packages first | ||
| RUN npm run build -w shared/types && npm run build -w shared/validation | ||
| # Copy dashboard source | ||
| COPY apps/dashboard ./apps/dashboard | ||
| # Build dashboard | ||
| RUN npm run build -w apps/dashboard | ||
| # --------------------------------------------------------------------------- | ||
| # Stage 2: Runtime with nginx | ||
| # --------------------------------------------------------------------------- | ||
| FROM docker.io/library/nginx:1.27-alpine | ||
| # Copy built assets | ||
| COPY --from=builder /app/apps/dashboard/dist /usr/share/nginx/html | ||
| # Copy nginx configuration | ||
| COPY apps/dashboard/nginx.conf /etc/nginx/conf.d/default.conf | ||
| EXPOSE 80 | ||
| HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ | ||
| CMD wget --no-verbose --tries=1 --spider http://localhost/health || exit 1 | ||
| CMD ["nginx", "-g", "daemon off;"] |
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.