DRAFT: [ BB2-1133 ] Replace code to utilize the BB2 Node SDK#26
Closed
DRAFT: [ BB2-1133 ] Replace code to utilize the BB2 Node SDK#26
Conversation
Contributor
Author
|
This is ready for review and testing. |
Contributor
|
I am running into some issues following the test outline. my package.json did not have the line: |
Contributor
|
Cool, I was able to work through the issues with your help. This all looks good so far! |
Contributor
Author
|
This work was implemented via this PR: #33 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
JIRA Ticket:
BB2-1133
User Story or Bug Summary:
This replaces code to utilize the SDK in the sample application.
This work goes along with this PR for updating the SDK.
NOTE: This replaces this PR and continues Nick's great work.
NOTE: Keeping this PR in draft mode until it is time to publish.
What Does This PR Do?
The following is a summary of the changes in this PR
Add
cms-bluebutton-sdkdependency via .tgz file installation inserver/package.jsonAdd imports for SDK in files where needed. The following imports are used:
Add BB2 SDK configuration in
server/src/Server.tsReplace Auth related code with SDK usage in
server/src/routes/Authorize.tsAdd example of handling SDK exceptions in
server/src/routes/Authorize.tsReplace FHIR resource code with SDK usage in
server/src/routes/Data.tsRemove all code and files replaced by SDK usage.
Update Typescript configuration options in
server/tsconfig.jsonCopy
server/yarn.lockfrom docker container installation to add to PR using:PR Testing Procedure
mainSDK branch here.Use these commands in a shell from the project root directory:
This should produce a package .tgz tarball file named
cms-bluebutton-sdk-v0.1.0.tgz.Copy the .tgz package file in to this PR's branch.
Copy the
cms-bluebutton-sdk-v0.1.0.tgzfile in to the server/ directory.Verify the following line is in the server/package.json file:
Build and Run the sample application using the SDK:
What Should Reviewers Watch For?
If you're reviewing this PR, please check these things, in particular:
Are there any unhandled and/or untested edge cases you can think of?
Does this make any backwards-incompatible changes that might break end user clients?
Can you find any bugs if you run the code locally and test it manually?
Naming in general? Do the namings of variables, methods, classes, and other items make sense? Are they too verbose, or not verbose enough? Any redundancies? Are the comments descriptive enough?
Are audit logging items properly handled? Is sensitive information either not included or hashed?
What/how to review: