diff --git a/.gitignore b/.gitignore index 80acb9b..9342ea5 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,6 @@ _site/ vendor/ .DS_Store node_modules/ + +# IntelliJ +.idea/ \ No newline at end of file diff --git a/docs/5_keycloak/1_keycloak_installation.md b/docs/5_keycloak/1_keycloak_installation.md index b486ac6..978eb7a 100644 --- a/docs/5_keycloak/1_keycloak_installation.md +++ b/docs/5_keycloak/1_keycloak_installation.md @@ -161,12 +161,3 @@ The imported configuration seeds a random client secret for each service client. 1. Select `srte-data-keycloak-client` and open the **Credentials** tab. 1. Click the eye icon to reveal the secret and copy it. 1. Store the secret (for example, in AWS Secrets Manager at `keycloak/client/secret/srte`). - -### XML-HL7 parser client - -1. In the **NBS Realm**, open **Realm settings**, click the **Action** dropdown, and select **Partial Import**. -1. Upload `/charts/keycloak/extra/10-nbs-users-xml-hl7-parser-service.json` and click **Create**. -1. Navigate to the **NBS Realm** in the left menu and click **Clients**. -1. Select `xml-hl7-parser-keycloak-client` and open the **Credentials** tab. -1. Click the eye icon to reveal the secret and copy it. -1. Store the secret (for example, in AWS Secrets Manager at `keycloak/client/secret/xml-hl7-parser`). diff --git a/docs/6_microservices_deployment/9_case_notification.md b/docs/6_microservices_deployment/9_case_notification.md index 9c10d93..c582e25 100644 --- a/docs/6_microservices_deployment/9_case_notification.md +++ b/docs/6_microservices_deployment/9_case_notification.md @@ -20,7 +20,6 @@ nav_enabled: true - If STLT choose modernize, then we can proceed with the following steps - If choose NOT to deploy Case Notification Service, these following services should not be turned on in Kubernetes - Debezium Case Notification - - XML HL7 Parser Service - Data Extraction Service - Case Notification Service @@ -37,6 +36,5 @@ This guide sets out the detailed steps to installing NBS 7 Case Notification, en - Case Notification consist of 4 services and should be deployed in this top down order - Debezium Case Notification - - XML HL7 Parser Service - Data Extraction Service - Notification Service diff --git a/docs/6_microservices_deployment/9b_keycloak_configuration.md b/docs/6_microservices_deployment/9b_keycloak_configuration.md index 56c0361..3cc1247 100644 --- a/docs/6_microservices_deployment/9b_keycloak_configuration.md +++ b/docs/6_microservices_deployment/9b_keycloak_configuration.md @@ -24,4 +24,3 @@ nav_enabled: true 2. The 3 Case notification service except for Debezium will also need keycloak profile [NEDSS-Helm/charts/keycloak/extra at main · CDCgov/NEDSS-Helm](https://github.com/CDCgov/NEDSS-Helm/tree/main/charts/keycloak/extra) -3. Note: in Case-Notification-Service, it require XML-HL7-Parser-service keycloak id and secret to be definied in the environment variable diff --git a/docs/6_microservices_deployment/9c_xml_hl7_parser.md b/docs/6_microservices_deployment/9c_xml_hl7_parser.md deleted file mode 100644 index d0e2c80..0000000 --- a/docs/6_microservices_deployment/9c_xml_hl7_parser.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: Xml Hl7 Parser -layout: page -parent: Case Notification -grand_parent: Microservices Deployment -nav_order: 3 -nav_enabled: true ---- - -## On this page -{: .no_toc .text-delta } - -1. TOC -{:toc} - -## Xml Hl7 Parser Service - -1. Helm chart can be found under chart/xml-hl7-parser-service -2. Validate the image tag - - ```yaml - image: - repository: "quay.io/us-cdcgov/cdc-nbs-modernization/nnd-case-notification-service/xml-hl7-parser-service" - pullPolicy: IfNotPresent - tag: e.g v1.0.1 - ``` - -3. Update the jdbc configurations - - ```yaml - ingressHost: "data.EXAMPLE_DOMAIN" - - jdbc: - dbserver: "EXAMPLE_DB_ENDPOINT" - username: "EXAMPLE_ODSE_DB_USER" - password: "EXAMPLE_ODSE_DB_USER_PASSWORD" - - authUri: "http://keycloak.default.svc.cluster.local/auth/realms/NBS" - ``` - -4. Install Pod - - ```bash - helm install xml-hl7-parser-service -f ./xml-hl7-parser-service/values.yaml xml-hl7-parser-service - ``` - -5. Verify Pod - - ```bash - kubectl get pods - ``` - -6. Validate the service - - ```text - https:///hl7-parser/actuator/info - https:///hl7-parser/actuator/health - ``` diff --git a/docs/6_microservices_deployment/9e_case_notification.md b/docs/6_microservices_deployment/9e_case_notification.md index a692558..01c6934 100644 --- a/docs/6_microservices_deployment/9e_case_notification.md +++ b/docs/6_microservices_deployment/9e_case_notification.md @@ -40,11 +40,6 @@ nav_enabled: true kafka: cluster: "EXAMPLE_MSK_KAFKA_ENDPOINT" - - api: - host: "https:///hl7-parser" - clientId: "EXAMPLE_XML-HL7-Parser_CLIENT_ID" - secret: "EXAMPLE_XML-HL7-Parser_CLIENT_SECRET" ``` 4. Install Pod diff --git a/docs/6_microservices_deployment/9f_testing.md b/docs/6_microservices_deployment/9f_testing.md index 0bec89a..071f4ac 100644 --- a/docs/6_microservices_deployment/9f_testing.md +++ b/docs/6_microservices_deployment/9f_testing.md @@ -74,10 +74,6 @@ nav_enabled: true - a. [NEDSS-NNDSS-Case-Notifications/README.md at main · CDCgov/NEDSS-NNDSS-Case-Notifications](https://github.com/CDCgov/NEDSS-NNDSS-Case-Notifications/blob/main/README.md) - b. [NEDSS-Helm/charts/data-extraction-service/templates/deployment.yaml at main · CDCgov/NEDSS-Helm](https://github.com/CDCgov/NEDSS-Helm/blob/main/charts/data-extraction-service/templates/deployment.yaml) -3. **Xml-Hl7-Parser-Service** - - a. [NEDSS-NNDSS-Case-Notifications/README.md at main · CDCgov/NEDSS-NNDSS-Case-Notifications](https://github.com/CDCgov/NEDSS-NNDSS-Case-Notifications/blob/main/README.md) - - b. [NEDSS-Helm/charts/xml-hl7-parser-service/templates/deployment.yaml at main · CDCgov/NEDSS-Helm](https://github.com/CDCgov/NEDSS-Helm/blob/main/charts/xml-hl7-parser-service/templates/deployment.yaml) - --- #### Case Notification Liquibase