-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add Golden Copy Tests #1674
base: main
Are you sure you want to change the base?
Add Golden Copy Tests #1674
Conversation
Co-Authored-By: Sylvie <[email protected]> Co-Authored-By: Samuel Aquino <[email protected]>
Co-Authored-By: Samuel Aquino <[email protected]> Co-Authored-By: Bella L. Quintero <[email protected]>
Co-Authored-By: Samuel Aquino <[email protected]> Co-Authored-By: Bella L. Quintero <[email protected]>
Co-Authored-By: Samuel Aquino <[email protected]> Co-Authored-By: Bella L. Quintero <[email protected]>
Co-Authored-By: Samuel Aquino <[email protected]> Co-Authored-By: Bella L. Quintero <[email protected]>
Co-Authored-By: Samuel Aquino <[email protected]> Co-Authored-By: Bella L. Quintero <[email protected]>
Co-authored-by: saquino0827 <[email protected]>
Co-authored-by: saquino0827 <[email protected]>
Co-authored-by: saquino0827 <[email protected]>
Co-authored-by: saquino0827 <[email protected]>
Co-authored-by: saquino0827 <[email protected]>
Co-authored-by: saquino0827 <[email protected]>
Co-authored-by: saquino0827 <[email protected]>
Co-authored-by: saquino0827 <[email protected]>
Co-authored-by: saquino0827 <[email protected]> Co-authored-by: Sylvie <[email protected]> Co-authored-by: jcrichlake <[email protected]>
Co-authored-by: jcrichlake <[email protected]>
…structure Co-authored-by: jcrichlake <[email protected]>
Co-authored-by: jcrichlake <[email protected]>
Co-authored-by: jcrichlake <[email protected]>
Co-authored-by: jcrichlake <[email protected]> Co-authored-by: James Herr <[email protected]>
Co-authored-by: James Herr <[email protected]> Co-authored-by: jcrichlake <[email protected]>
Co-authored-by: James Herr <[email protected]>
Co-authored-by: James Herr <[email protected]>
Co-authored-by: James Herr <[email protected]>
rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/AzureBlobFileFetcher.java
Outdated
Show resolved
Hide resolved
Co-Authored-By: Bella L. Quintero <[email protected]> Co-Authored-By: Jeremy Rosenfeld <[email protected]>
Co-Authored-By: Bella L. Quintero <[email protected]> Co-Authored-By: Jeremy Rosenfeld <[email protected]> Co-Authored-By: Basilio Bogado <[email protected]>
Co-Authored-By: Bella L. Quintero <[email protected]> Co-Authored-By: Jeremy Rosenfeld <[email protected]> Co-Authored-By: Basilio Bogado <[email protected]>
Co-Authored-By: Bella L. Quintero <[email protected]> Co-Authored-By: Jeremy Rosenfeld <[email protected]> Co-Authored-By: Basilio Bogado <[email protected]>
Co-Authored-By: Bella L. Quintero <[email protected]> Co-Authored-By: Luis Pabon <[email protected]> Co-Authored-By: Jeremy Rosenfeld <[email protected]> Co-Authored-By: Basilio Bogado <[email protected]>
Co-Authored-By: Sylvie <[email protected]> Co-Authored-By: James Gilmore <[email protected]>
Co-Authored-By: Sylvie <[email protected]> Co-Authored-By: James Gilmore <[email protected]>
rs-e2e/src/test/groovy/gov/hhs/cdc/trustedintermediary/rse2e/GoldenCopyTest.groovy
Outdated
Show resolved
Hide resolved
...src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/azure/AzureBlobFileFetcher.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Sylvie <[email protected]>
Co-authored-by: Sylvie <[email protected]> Co-authored-by: saquino0827 <[email protected]> Co-authored-by: GilmoreA6 <[email protected]>
Co-authored-by: Sylvie <[email protected]> Co-authored-by: saquino0827 <[email protected]> Co-authored-by: GilmoreA6 <[email protected]> Co-authored-by: basiliskus <[email protected]>
Co-authored-by: saquino0827 <[email protected]> Co-authored-by: basiliskus <[email protected]> Co-authored-by: halprin <[email protected]>
name: Golden Copy Staging Test - Run integration tests | ||
|
||
on: | ||
pull_request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once the PR is approved, I will remove pull_request
. It is only included because a workflow has to be merged into main to be called/updated.
Quality Gate passedIssues Measures |
@@ -51,10 +51,22 @@ public static FileFetcher getInstance() { | |||
|
|||
@Override | |||
public List<HL7FileStream> fetchFiles() { | |||
String rse2ELocalInputFilePath = System.getenv("RSE2E_LOCAL_INPUT_FILE_PATH"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think the azure blob fetcher implementation should care about the file fetcher implementation details (like the value for RSE2E_LOCAL_INPUT_FILE_PATH). Also, figuring out if we're using the golden copy or RS integration test with the RSE2E_LOCAL_INPUT_FILE_PATH value won't work because we need to run both but have only one possible value for that envvar. Instead, you could pass a parameter to fetchFiles
(for both local and azure implementation), which will determine if we're fetching files/blobs for the golden copy test or the RS integration test
Description
Added golden copy test to RS-E2E tests. It currently is located in the same test class as the automated staging integration test. One submit workflow is responsible for sending all files including assertion and golden copy input. Then, it will fetch the output from Azure and compare them to the expected files based on the run workflow chosen.
TLDR - this utilizes the existing automated staging test submit workflow to send all files and adds a new run workflow specific to golden copy test.
Issue
#1600
Checklist
Note: You may remove items that are not applicable