-
Notifications
You must be signed in to change notification settings - Fork 72
fix(infra): added term server URL to Lambdas #4104
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
Conversation
metriport/metriport-internal#1040 Signed-off-by: Keshav Saharia <keshav@metriport.com>
WalkthroughAn optional configuration property, Changes
Sequence Diagram(s)sequenceDiagram
participant Config as Configuration
participant Stack as SurescriptsNestedStack
participant Lambda as LambdaFunction
Config->>Stack: Instantiate with commonConfig (may include termServerUrl)
Stack->>Lambda: setupLambda/setupLambdaAndQueue (pass termServerUrl if present)
alt termServerUrl provided
Stack->>Lambda: Set TERM_SERVER_URL env variable
end
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
npm error code ERR_SSL_WRONG_VERSION_NUMBER 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (2)`**/*`: Use eslint to enforce code style Use prettier to format code Max column ...
📄 Source: CodeRabbit Inference Engine (.cursorrules) List of files the instruction was applied to:
`**/*.ts`: - Use the Onion Pattern to organize a package's code in layers - Try ...
⚙️ Source: CodeRabbit Configuration File List of files the instruction was applied to:
🧠 Learnings (2)📓 Common learnings
packages/infra/lib/surescripts/surescripts-stack.ts (12)
🧬 Code Graph Analysis (1)packages/infra/lib/surescripts/surescripts-stack.ts (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (3)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
metriport/metriport-internal#2995
Issues:
Dependencies
Description
Adds the missing
TERM_SERVER_URL
which ensures that the Surescripts bundle conversion process is able to hydrate NDC-coded medications in the generated bundle with RxNorm codes.Testing
Validated to work correctly in staging environment when the TERM_SERVER_URL is set manually, will verify that the correct URL is being set on staging upon patching.
Release Plan
Summary by CodeRabbit