Test and integrate case notification APIs
Use this page to validate ingress, PHIMNS property configuration, and supporting dependencies for case notification services.
On this page
Ingress setup
- Each notification service uses the same Data Ingestion ingress. Reuse the existing setup as needed.
PHIMNS properties
-
For services to be fully functional, STLT partners must provide CDC their PHIMS properties. This ensures data in the
TransportQ_Outtable is updated correctly when processed by CDC Case Notification. These values can be pulled from the existing NND Rhapsody route Variable Manager at the STLT level.- Required
nbs_certificate_url: STLTs commonly keep this value hardcoded in the Rhapsody Variable Manager.
- Optional: Some STLTs may have or need these:
phin_encryptionphin_routephin_signaturephin_public_key_addressphin_public_key_base_dnphin_public_key_dnphin_recipientphin_priority
- Required
-
Once STLT values are provided, CDC should update the existing configuration in the case notification config table:
- Table Name:
NBS_Case_Notification_Config - Update record where config name is:
NON_STD_CASE_NOTIFICATION -
Update value: Match STLT-provided values to the corresponding columns in the config table.
-
Update Script - DB:
NBS_MSGOUTEUPDATE NBS_Case_Notification_Config SET nbs_certificate_url = 'REPLACE WITH VALUE, REMOVE IF NON IS PROVIDED', phin_encryption = 'REPLACE WITH VALUE, REMOVE IF NON IS PROVIDED', phin_route = 'REPLACE WITH VALUE, REMOVE IF NON IS PROVIDED', phin_signature = 'REPLACE WITH VALUE, REMOVE IF NON IS PROVIDED', phin_public_key_address= 'REPLACE WITH VALUE, REMOVE IF NON IS PROVIDED', phin_public_key_base_dn= 'REPLACE WITH VALUE, REMOVE IF NON IS PROVIDED', phin_public_key_dn = 'REPLACE WITH VALUE, REMOVE IF NON IS PROVIDED', phin_recipient = 'REPLACE WITH VALUE, REMOVE IF NON IS PROVIDED', phin_priority = 'REPLACE WITH VALUE, REMOVE IF NON IS PROVIDED' WHERE config_name = 'NON_STD_CASE_NOTIFICATION'
- Table Name:
Additional notes and troubleshooting
Case notification environment variables
- Case-Notification-Service
- Data-Extraction-Service
Case notification Liquibase
- Case Notification includes a built-in Liquibase integration that automatically applies database changes during deployment.
- DB changes detail can be reviewed here:
- NEDSS-NNDSS-Case-Notifications/case-notification-service/src/main/resources/db at main · CDCgov/NEDSS-NNDSS-Case-Notifications
- See Deploy Data Ingestion using Helm for Data Ingestion deployment guidance.
Liquibase DB change verification
- To verify database changes were applied, first ensure the case notification container is stable and running. Because the container manages Liquibase, it will not start if Liquibase fails.
- If Liquibase fails, the DI pod will be unstable, and specific errors can be found in container logs.
Kafka
-
Use either one of the two Kafka broker endpoints (
Private endpoints - Plaintext) in the Helm values file. -
Deploy the required Debezium Source Connector on
NBS_ODSE..CN_TranportQ_Outbefore deploying the services.