Skip to content

Commit

Permalink
move folders around
Browse files Browse the repository at this point in the history
Co-authored-by: James Herr <[email protected]>
Co-authored-by: basiliskus <[email protected]>
  • Loading branch information
3 people committed Dec 23, 2024
1 parent 0fba3fb commit a9cf564
Show file tree
Hide file tree
Showing 25 changed files with 12 additions and 17 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/automated-staging-test-submit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,16 @@ jobs:
--silent \
"$host/api/token" | jq -r ".access_token")
sendFiles () {
folder_path=$1
for file in "$(pwd)/examples/Test/$folder_path"; do
echo "Sending $file"
curl \
--header "Content-Type: application/hl7-v2" \
--header "Client: $client_id.$client_sender" \
--header "Authorization: Bearer $token" \
--data-binary "@$file" \
--silent \
"$host/api/waters"
done
}
sendFiles "'Automated/*.hl7'"
sendFiles "'GoldenCopy/Input/*.hl7'"
for file in $(pwd)/examples/Test/Automated/**/*.hl7; do
echo "Sending $file"
curl \
--header "Content-Type: application/hl7-v2" \
--header "Client: $client_id.$client_sender" \
--header "Authorization: Bearer $token" \
--data-binary "@$file" \
--silent \
"$host/api/waters"
done
- name: Clean up private key
if: always()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This folder contains the HL7 sample files that are used in the automated ReportStream
integration tests. The [automated-staging-test-submit.yml](/.github/workflows/staging-test-submit.yml)
integration tests. The [automated-staging-test-submit.yml](/.github/workflows/automated-staging-test-submit.yml)
Github workflow that runs daily will grab these files and send them to ReportStream in staging.
The files are expected to go through the whole flow and to be delivered to an Azure blob
container that will later be used by the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This folder contains the HL7 sample files that are used in the Golden Copy ReportStream
integration tests. The [golden-copy-staging-test-submit.yml](/.github/workflows/staging-test-submit.yml)
integration tests. The [golden-copy-staging-test-submit.yml](/.github/workflows/automated-staging-test-submit.yml)
Github workflow that runs daily will grab these files and send them to ReportStream in staging.
The files are expected to go through the whole flow and to be delivered to an Azure blob
container that will later be used by the
Expand Down

0 comments on commit a9cf564

Please sign in to comment.