Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

feat!: merge in changes from mainline #364

Merged
merged 90 commits into from
Jun 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
b1b4040
feat: Update dependencies to support SearchFilters better (#197)
rsmayda Jan 29, 2021
bcec152
Merge b1b4040ee8b3893798d7454fc2abbfeee78c4a92 into mainline
nguyen102 Jan 29, 2021
3cd6d51
fix: Update persistence and interface dependencies (#201)
nguyen102 Feb 9, 2021
554edd3
Merge 3cd6d513ae0d214bd2df1695c29fad3dd7382394 into mainline
nguyen102 Feb 9, 2021
b62fcd0
fix(search): bump search version to pick up bug fixes (#202)
carvantes Feb 9, 2021
cf9ea7f
Merge b62fcd097d7ec00bcdbbf34d6215979aa4878d5d into mainline
nguyen102 Feb 9, 2021
57c3b38
chore: add PR size labeler (#198)
Bingjiling Feb 10, 2021
051b9b9
Merge 57c3b3802d39ff411b5bd60ed2889746facc028d into mainline
nguyen102 Feb 10, 2021
68ad61d
feat: bump routing and interface version to use validators (#208)
nguyen102 Feb 11, 2021
f9556c7
Merge 68ad61daf0f25a5535bb47f46101ee94261d58be into mainline
nguyen102 Feb 11, 2021
fc9ce48
docs: Update docs, Third party file & diagram (#207)
rsmayda Feb 12, 2021
72f4fa2
Merge fc9ce4862d398c2bca11f14288b8efbbf6370795 into mainline
nguyen102 Feb 12, 2021
dc9d0be
Fixes a link in DEVELOPMENT.md (#215)
joekendal Feb 20, 2021
1d613ed
docs: add a troubleshooting case for windows (#220)
rsmayda Feb 23, 2021
0de86e3
chore: change log retention and add DDB tables as output (#222)
rsmayda Feb 24, 2021
308cab9
Merge 0de86e30ed931c2722e169440a73c3ee5884f0f8 into mainline
nguyen102 Feb 24, 2021
78db6f6
test: Add tests for RBAC Auth (#229)
nguyen102 Mar 4, 2021
356c1b4
test: update cognito usernames (#230)
nguyen102 Mar 4, 2021
9ff33d4
test: Default fhirClient should use the role of practitioner (#231)
nguyen102 Mar 4, 2021
3e8f1bc
Merge 9ff33d426e9f8f6b311b95d72423cf969f89814a into mainline
nguyen102 Mar 4, 2021
c04a461
chore: dependency update (#232)
Bingjiling Mar 4, 2021
2f55011
Merge c04a4612e1e447b113cb5cad98148a28523c189b into mainline
nguyen102 Mar 5, 2021
13fd627
chore: Update serverless dependencies and use serverless-bundle to op…
nguyen102 Mar 11, 2021
329d0c6
fix: http-errors from routing dependency (#243)
nguyen102 Mar 11, 2021
62026f7
Merge 329d0c69a8077dd5bb70345d22f1b680d27b3a20 into mainline
nguyen102 Mar 11, 2021
9ff8821
chore: update deploy script for working with local packages (#245)
nguyen102 Mar 12, 2021
e19e605
Merge 9ff8821c15c8b74c3e0a04ff0a516976e572bc54 into mainline
nguyen102 Mar 12, 2021
f24ffe7
chore: update log settings (#252)
carvantes Mar 17, 2021
4167d6a
Merge f24ffe72306b37c5ce36ac99d9ed0941469d3e33 into mainline
nguyen102 Mar 17, 2021
d27c114
chore: add encryption, https-only, access logging to all buckets (#253)
carvantes Mar 18, 2021
d22397a
Merge d27c11435b7a9b48b6ef8ca100df813bf86d9933 into mainline
nguyen102 Mar 18, 2021
8c54a49
chore: Update routing dependency. Pass in user agent value (#263)
nguyen102 Mar 26, 2021
895bf33
Merge 8c54a49020a9083dd532428086c77e762491edf3 into mainline
nguyen102 Mar 26, 2021
24b0f97
chore: fix gh merge workflow to do ff-only (#264)
carvantes Mar 26, 2021
6527191
chore: use our own script instead of merge action (#265)
carvantes Mar 26, 2021
52c5075
chore: fix yaml syntax
carvantes Mar 26, 2021
ab28fae
chore: fix merge script
carvantes Mar 26, 2021
1e2f3f9
chore: use merge token in merge script
carvantes Mar 27, 2021
a7c47bc
ci: add workaround for merge with branch protection
carvantes Mar 27, 2021
393846b
feat: support Implementation Guides (#266)
carvantes Mar 29, 2021
a8817de
ci: use HAPI validator on integ tests (#269)
carvantes Mar 29, 2021
9daa3d8
chore: Update routing package dependency. Update custom agent env var…
nguyen102 Mar 29, 2021
826c770
docs: removing team email from feedback (#275)
SanketD92 Mar 31, 2021
398ca1c
fix: fix unable to locate compiledImplementationGuides/* glob (#277)
carvantes Apr 1, 2021
12ea6bf
fix: exit from installation script if serverless deployment fails (#280)
awsbakha Apr 5, 2021
5450b62
docs: Clarify IG documentation (#279)
awsbakha Apr 5, 2021
3dfa22e
docs: Updated FHIR Works readme (#283)
shyogesh-sw Apr 7, 2021
531db70
feat: enhance date and token search. Add integ tests (#284)
carvantes Apr 9, 2021
6059322
test: add token search integ tests (#285)
carvantes Apr 9, 2021
4114ffe
chore(release): 2.6.0 (#286)
carvantes Apr 9, 2021
a03bdc6
docs: Update CUSTOM_USER_AGENT (#287)
rsmayda Apr 12, 2021
2a836a4
fix: update persistence dependency; to fix meta bug (#288)
rsmayda Apr 14, 2021
e950aca
feat: enhance numeric and quantity search (#291)
carvantes Apr 20, 2021
462e146
fix: Suppress deprecation warning when writing to Info_Output.yml dur…
nguyen102 Apr 21, 2021
eb7f51c
feat: add DLQ for ddbToEs sync failures (#295)
rsmayda Apr 22, 2021
8b63bcc
chore: lock down versions of external deployment dependencies (#298)
nguyen102 Apr 23, 2021
3b0ed26
fix: increment persistence package (#300)
rsmayda Apr 26, 2021
c6c1db1
feat: Add post search and integ tests (#296)
Bingjiling Apr 27, 2021
0fe3c4c
chore: add security scanning (#302)
rsmayda Apr 28, 2021
8132dd6
feat(search): support Period type fields for date params (#299)
carvantes Apr 28, 2021
e55a737
test: add search tests for exact token matching (#306)
carvantes Apr 29, 2021
f6946e2
chore(release): 2.7.0 (#307)
carvantes Apr 30, 2021
cf541b0
chore: add cfn-nag to all yaml changes (#308)
rsmayda May 3, 2021
23c5433
chore: dependency updates (#321)
SanketD92 May 11, 2021
103fe9c
chore: upgrade dependencies (#322)
SanketD92 May 12, 2021
de4c14b
chore: bump dependency version (#328)
Bingjiling May 14, 2021
2b3456b
chore: adding GitHub issue templates (#325)
SanketD92 May 24, 2021
9b32e36
chore: update README for another Auth url
rb2010 May 24, 2021
ccdae86
feat: add logging framework (#310)
Bingjiling May 24, 2021
396355d
chore: workflow only run if yaml/yml is updated (#333)
rsmayda May 24, 2021
a1d49fa
feat: add $docref implementation (#332)
carvantes May 24, 2021
1f47e0d
chore(deps): bump browserslist from 4.16.3 to 4.16.6 (#335)
dependabot[bot] May 26, 2021
eee4f89
chore(deps): bump browserslist from 4.16.3 to 4.16.6 in /auditLogMove…
dependabot[bot] May 26, 2021
e887478
chore: dependency fix (#339)
Bingjiling May 27, 2021
376fd68
chore: release 2.8.0 (#338)
Bingjiling May 27, 2021
8b98da9
fix: Allow running sls offline with Hapi Validator (#343)
nguyen102 Jun 3, 2021
83489a6
fix: typo for passing in custom log level (#345)
Bingjiling Jun 7, 2021
531ec0e
chore: script for add alias to existing index (#346)
Bingjiling Jun 10, 2021
e0e9364
feat: remove unneeded scope checks in authorizer (#347)
carvantes Jun 14, 2021
d103ad0
Revert "feat: remove unneeded scope checks in authorizer (#347)"
carvantes Jun 14, 2021
0f512c2
feat!: Use alias for all ES operations (#349)
Bingjiling Jun 14, 2021
36858e5
chore(release): 3.0.0 (#353)
Bingjiling Jun 15, 2021
ceeb76d
chore: remove routing package from bundle.externals (#354)
carvantes Jun 15, 2021
dc945d9
chore(deps): bump ssri from 6.0.1 to 6.0.2 in /auditLogMover (#351)
dependabot[bot] Jun 15, 2021
41c5545
chore(deps): bump lodash from 4.17.20 to 4.17.21 in /auditLogMover (#…
dependabot[bot] Jun 15, 2021
fcad778
chore(deps): bump ssri from 6.0.1 to 6.0.2 (#352)
dependabot[bot] Jun 15, 2021
5de3175
chore(deps-dev): bump lodash from 4.17.20 to 4.17.21 (#355)
dependabot[bot] Jun 15, 2021
c4441a6
chore: update dependencies (#356)
carvantes Jun 16, 2021
3578140
feat: merge in mainline changes here
rsmayda Jun 25, 2021
2250632
fix: type definition issues
rsmayda Jun 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
about: Create a bug report to help us improve
title: "[Bug] insert summary"
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Versions (please complete the following information):**
- Release Version installed or commit hash [e.g. v1.0.3, 1edf4]

<!--- To get the version look at `package.json` -->

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[Feature Request] insert summary"
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/miscellaneous.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Miscellaneous
about: Ask a question or share something interesting
title: "[Misc] insert summary"
labels: customer-inquiry
assignees: ''

---

**What's on your mind?**
Try to be descriptive about your questions/comments/suggestions. The magic is in the details.

**Versions (please complete the following information):**
- Release Version installed [e.g. v1.0.3]
48 changes: 48 additions & 0 deletions .github/workflows/cfn-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
#

name: CloudFormation Scanning

on:
pull_request:
branches:
- develop
- smart-develop
paths:
- '**.yaml'
- '**.yml'

jobs:
cfn-analyze:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install npm dependencies
run: yarn install
- name: Install serverless
run: npm install -g serverless
- name: Package main sls into cfn for analysis
run: |
serverless package --stage dev --region us-west-2 --useHapiValidator true --conceal
- name: cfn_nag on main serverless
uses: stelligent/cfn_nag@master
with:
input_path: .serverless/cloudformation-template-update-stack.json
extra_args: -o json
- name: Package auditLogMover sls into cfn for analysis
run: |
cd auditLogMover
yarn install
serverless package --stage dev --region us-west-2 --conceal
- name: cfn_nag on auditLog serverless
uses: stelligent/cfn_nag@master
with:
input_path: auditLogMover/.serverless/cloudformation-template-update-stack.json
extra_args: -o json
38 changes: 38 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
#

name: Security Code Scanning

on:
pull_request:
branches:
- develop
- smart-develop
paths-ignore:
- '**/*.md'
- '**/*.txt'
push:
branches:
- develop
- smart-develop
schedule:
- cron: '0 0 * * *'

jobs:
CodeQL-Analyze:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: javascript

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
21 changes: 21 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: labeler

on: [pull_request]

jobs:
labeler:
runs-on: ubuntu-latest
name: Label the PR size
steps:
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_max_size: '10'
s_max_size: '100'
m_max_size: '500'
l_max_size: '1000'
fail_if_xl: 'false'
message_if_xl: >
'This PR exceeds the recommended size of 1000 lines.
Please make sure you are NOT addressing multiple issues with one PR.
Note this PR might be rejected due to its size.’
50 changes: 25 additions & 25 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [1.1.0-smart](https://github.com/awslabs/fhir-works-on-aws-deployment/compare/v1.0.0-smart...v1.1.0-smart) (2021-02-12)

### Features

- Add support for Implementation Guides(IGs) ([#266](https://github.com/awslabs/fhir-works-on-aws-deployment/issues/266))

IG packages can now be included as part of the deployment. This enables search parameters and validation rules from profiles
included in the IG. The capability statement is also updated to reflect those changes.

Check out our [IGs documentation](USING_IMPLEMENTATION_GUIDES.md) for more details.

## [1.0.0-smart](https://github.com/awslabs/fhir-works-on-aws-deployment/compare/v2.4.0...v1.0.0-smart) (2021-02-12)

- Major version bump! :rocket:

### Features

- Add OAuth2 support for SMART on FHIR ([#125](https://github.com/awslabs/fhir-works-on-aws-deployment/issues/125)) ([be54305](https://github.com/awslabs/fhir-works-on-aws-deployment/commit/be54305908ebbed1a7d84dc78ba015d93c7b78d7))
- Merge in updates from mainline & update SMART ([#193](https://github.com/awslabs/fhir-works-on-aws-deployment/issues/193)) ([43f4834](https://github.com/awslabs/fhir-works-on-aws-deployment/commit/43f48342e5b4d1843a29248d7dc0217be36b4866))
- Smart well known config ([#157](https://github.com/awslabs/fhir-works-on-aws-deployment/issues/157)) ([b1a1382](https://github.com/awslabs/fhir-works-on-aws-deployment/commit/b1a13829f1a753ae592dee84d8a7b8c6a3a2e36f))
- Update dependencies and remove needless table ([#204](https://github.com/awslabs/fhir-works-on-aws-deployment/issues/204)) ([c80a29b](https://github.com/awslabs/fhir-works-on-aws-deployment/commit/c80a29ba3a485e35ce39304b405bf67e35b415a8))
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [1.1.0-smart](https://github.com/awslabs/fhir-works-on-aws-deployment/compare/v1.0.0-smart...v1.1.0-smart) (2021-02-12)
### Features
- Add support for Implementation Guides(IGs) ([#266](https://github.com/awslabs/fhir-works-on-aws-deployment/issues/266))
IG packages can now be included as part of the deployment. This enables search parameters and validation rules from profiles
included in the IG. The capability statement is also updated to reflect those changes.
Check out our [IGs documentation](USING_IMPLEMENTATION_GUIDES.md) for more details.
## [1.0.0-smart](https://github.com/awslabs/fhir-works-on-aws-deployment/compare/v2.4.0...v1.0.0-smart) (2021-02-12)
- Major version bump! :rocket:
### Features
- Add OAuth2 support for SMART on FHIR ([#125](https://github.com/awslabs/fhir-works-on-aws-deployment/issues/125)) ([be54305](https://github.com/awslabs/fhir-works-on-aws-deployment/commit/be54305908ebbed1a7d84dc78ba015d93c7b78d7))
- Merge in updates from mainline & update SMART ([#193](https://github.com/awslabs/fhir-works-on-aws-deployment/issues/193)) ([43f4834](https://github.com/awslabs/fhir-works-on-aws-deployment/commit/43f48342e5b4d1843a29248d7dc0217be36b4866))
- Smart well known config ([#157](https://github.com/awslabs/fhir-works-on-aws-deployment/issues/157)) ([b1a1382](https://github.com/awslabs/fhir-works-on-aws-deployment/commit/b1a13829f1a753ae592dee84d8a7b8c6a3a2e36f))
- Update dependencies and remove needless table ([#204](https://github.com/awslabs/fhir-works-on-aws-deployment/issues/204)) ([c80a29b](https://github.com/awslabs/fhir-works-on-aws-deployment/commit/c80a29ba3a485e35ce39304b405bf67e35b415a8))
1 change: 0 additions & 1 deletion CUSTOMIZE.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ You will also need to specify how the access_tokens your authorization server mi

The FHIR Works on AWS deployment can be customized to provide CORS support for browser-based applications. The following configuration steps are required:


- Supply a [CorsOptions](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/cors/index.d.ts) configuration when building the [serverless router](src/index.ts). For example
```ts
const corsOptions: CorsOptions = {...};
Expand Down
13 changes: 12 additions & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,18 @@ Once the script has finished running, you can run `yarn watch` in the directory

`AWS_ACCESS_KEY_ID=<Access-Key> AWS_SECRET_ACCESS_KEY=<Secret-Key> OFFLINE_BINARY_BUCKET=<FHIRBinaryBucket> OFFLINE_ELASTICSEARCH_DOMAIN_ENDPOINT=<ElasticSearchDomainEndpoint> serverless offline start`

If you don't know the `OFFLINE_BINARY_BUCKET` and `OFFLINE_ELASTICSEARCH_DOMAIN_ENDPOINT` value, you can run `serverless info --verbose` in the deployment package directory.
### Local Development with Implementation Guides

If you're using [Implementation Guides](./USING_IMPLEMENTATION_GUIDES.md), then follow these steps to run FHIR Works with IG locally. You'll need to provide the `OFFLINE_LAMBDA_VALIDATOR_ALIAS`.

Run this command in the `deployment` package directory to start your local environment:

`AWS_ACCESS_KEY_ID=<Access-Key> AWS_SECRET_ACCESS_KEY=<Secret-Key> OFFLINE_BINARY_BUCKET=<FHIRBinaryBucket> OFFLINE_ELASTICSEARCH_DOMAIN_ENDPOINT=<ElasticSearchDomainEndpoint> OFFLINE_VALIDATOR_LAMBDA_ALIAS=<ValidatorLambdaAlias> serverless offline start`

The command above runs the local FHIR server with the appropriate environment variables.

If you don't know the value for `OFFLINE_BINARY_BUCKET`,`OFFLINE_ELASTICSEARCH_DOMAIN_ENDPOINT`, and `OFFLINE_VALIDATOR_LAMBDA_ALIAS` value, run the following command in the deployment package directory: `serverless info --verbose`


## Deploy Local Packages to AWS

Expand Down
Loading