generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 7
Err/app 311/resolve rtr incorrect lab rpt last update by #677
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
Merged
eliSkylight
merged 13 commits into
main
from
err/APP-311/resolve-rtr-incorrect-lab_rpt_last_update_by
Mar 2, 2026
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
3b43130
moving to a new branch
eliSkylight 6a90250
Merge branch 'main' of github.com:CDCgov/NEDSS-DataReporting
eliSkylight 1d16709
instructions for running observation service on the host machine
eliSkylight 20784f3
instructions for host machine deployment of post processing service a…
eliSkylight b6d81d5
adding result_observation_uid to obsCache; new unit test added for te…
eliSkylight a349a25
additional assertion added to make sure idCache does not get the resu…
eliSkylight 11b3e32
Change build command to run tests instead of clean build
eliSkylight 1566c6e
Revert
eliSkylight 6677cc0
Reorder Gradle commands in CI workflow
eliSkylight d381114
unit test not paramaterized anymore; readmes updated for local machin…
eliSkylight 1f9e5b5
Merge branch 'err/APP-311/resolve-rtr-incorrect-lab_rpt_last_update_b…
eliSkylight 0e1d19e
Merge branch 'main' of github.com:CDCgov/NEDSS-DataReporting
eliSkylight 8b0a6b0
Merge branch 'main' into err/APP-311/resolve-rtr-incorrect-lab_rpt_la…
eliSkylight File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| ## Observation Service | ||
|
|
||
| ### Run on Your Host Machine | ||
| The following instructions require that the Kafka and Database containers are running at a minimum. Also note that `application-local.yaml` is included in `.gitignore` so keep this file stored somewhere for reuse. | ||
|
|
||
| 1. Create the properties file `src/main/resources/application-local.yaml` and populate with the following content: | ||
| ```yaml | ||
| spring: | ||
| kafka: | ||
| bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER:localhost:9092} | ||
| group-id: ${KAFKA_CONSUMER_APP:observation-reporting-consumer-app} | ||
| datasource: | ||
| password: ${DB_PASSWORD:PizzaIsGood33!} | ||
| username: ${DB_USERNAME:sa} | ||
| url: ${DB_HOST:jdbc:sqlserver://localhost:3433;databaseName=NBS_ODSE;encrypt=true;trustServerCertificate=true;} | ||
| ``` | ||
| 2. Ensure the `kafka` and `rtr-mssql` containers running. <em>You likely want all your RTR containers running for complete testing!</em> | ||
| ```shell | ||
| docker ps -a -f "name=kafka$" -f "name=rtr-mssql$" | ||
| ``` | ||
| 3. In the root of this repository execute the following command so the service uses `application-local.yaml`. | ||
| ```shell | ||
| ./gradlew :observation-service:bootRun --args='--spring.profiles.active=local' | ||
| ``` | ||
| 4. (Optional) Run the service in debug mode. | ||
| ```shell | ||
| ./gradlew :observation-service:bootRun --args='--spring.profiles.active=local' --debug-jvm | ||
| ``` | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| ## Post Processing Service | ||
|
|
||
| ### Run on Your Host Machine | ||
| The following instructions require that the Kafka and Database containers are running at a minimum. Also note that `application-local.yaml` is included in `.gitignore` so keep this file stored somewhere for reuse. | ||
|
|
||
| 1. Create the properties file `src/main/resources/application-local.yaml` and populate with the following content: | ||
| ```yaml | ||
| spring: | ||
| kafka: | ||
| group-id: ${KAFKA_CONSUMER_APP:post-processing-reporting-consumer-app} | ||
| bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER:localhost:9092} | ||
| datasource: | ||
| password: ${DB_PASSWORD:PizzaIsGood33!} | ||
| username: ${DB_USERNAME:sa} | ||
| url: ${DB_HOST:jdbc:sqlserver://localhost:3433;databaseName=RDB_MODERN;encrypt=true;trustServerCertificate=true;} | ||
| ``` | ||
| 2. Ensure the `kafka` and `rtr-mssql` containers running. <em>You likely want all your RTR containers running for complete testing!</em> | ||
| ```shell | ||
| docker ps -a -f "name=kafka$" -f "name=rtr-mssql$" | ||
| ``` | ||
| 3. In the root of this repository execute the following command (this service is configured to run in debug mode on port 17070 in `build.gradle` by previous dev team). | ||
| ```shell | ||
| ./gradlew :post-processing-service:bootRun --args='--spring.profiles.active=local' | ||
| ``` |
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.