Skip to content
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

Workflow to send HL7 messages to RS staging #1274

Merged
merged 39 commits into from
Sep 6, 2024

Conversation

basiliskus
Copy link
Contributor

@basiliskus basiliskus commented Aug 26, 2024

Workflow to send HL7 messages to RS staging

The workflow sets up a cron job that runs every day at Midnight UTC, grabs HL7 files downloaded from an Azure storage account where the files are stored, and sends them to RS staging using curl.

Still pending for this job to work:

  • Merge PR creating storage account
  • Add HL7 files to /examples/Test/Automated/
  • Apply sender and receiver settings in RS staging
    • Authorize automated-staging-test-sender sender in RS

Issue

#1255

@basiliskus basiliskus marked this pull request as ready for review August 26, 2024 22:41
@basiliskus basiliskus marked this pull request as draft August 26, 2024 22:42
@basiliskus basiliskus marked this pull request as ready for review August 27, 2024 21:27
Copy link

sonarqubecloud bot commented Sep 6, 2024

@basiliskus basiliskus merged commit 01e27b0 into main Sep 6, 2024
16 checks passed
@basiliskus basiliskus deleted the story/1255/add-gh-workflow branch September 6, 2024 19:44
tjohnson7021 pushed a commit that referenced this pull request Oct 17, 2024
* Added inital workflow to send hl7 files to staging

* Added option for manual testing

* Added trigger to test

* Fixed installation

* Fixed path

* Fixed hurl command call and added test sample files

* Testing workflow

* Testing workflow

* Added env variable

* Seems like the jwt cli has a limitation that requires the private key to be read from a file

* Added required pem extension

* Fixed path to hurl script

* Changed sender name for testing

* Testing getting token from RS

* Fixed variable name

* Added request to waters api

* Cleaned up and reverted to correct sender name

* Remved temp files and updated file path

* Clean up

* Removed pr trigger

* Changed to use Azure storage blob instead of repository to store files

* Added back pr trigger for testing purposes

* Added required permissions

* Changed source for az command and formatted

* Changed back to use repository-stored files instead of Azure container

* Renamed workflow

* Testing uploading to azure storage container

* Testing uploading to azure storage container (cont.)

* Testing uploading to azure storage container (cont.)

* Reverted steps used for testing

* Removed pull_request trigger used for testing

* Added test order based on AL sample file

* Added pull_request trigger for testing

* Small change to trigger gh action

* Changed public/private keypair for RS sender

* Removed pull_request trigger used for testing

* Changed schedule to run from Tuesday to Saturday, after changes in the repositories are expected to happen

* Added ORU sample file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants