Notification Module configuration
Communication channels
The active channels, the sender contacts and additional details can be configured in a json file used by the Notification Manager service. This is the automatically generated file:
{
"userFields": {},
"activeChannels": [
"email",
"sms",
"whatsapp",
"voice",
"push"
],
"sender": {
"email": "{{EMAIL_SENDER}}",
"sms": "{{SMS_SENDER}}",
"voice": "{{VOICE_SENDER}}",
"whatsappPhoneNumberId": "{{WHATSAPP_SENDER}}"
},
"voice": {
"retryCount": 0,
"speechSpeed": "medium",
"speechLanguage": "it-IT"
},
"push": {
"provider": "firebase"
}
}
Different external communication providers can be configured setting the corresponding environment variables. For more details please refer to the documentation of these microservices:
Custom event handlers
Custom events can be defined adding custom handlers to the Notification Manager service. See the microservice documentation about custom handlers for additional info.
Client-side field level encryption
Client-Side Field Level Encryption (CSFLE) is a feature that enables you to encrypt data in your application before you send it over the network to MongoDB. With CSFLE enabled, no MongoDB product has access to your data in an unencrypted form.
The CRUD Service can use CSFLE as explained in the microservice [documentation][mia-crud-service-csfle].
Patient Monitoring Portal
The Notification Module capabilities can be tested with the exposed HTTP REST API interface or using the Doctors and Patients Monitoring Portal, which is a GUI client currently under development. Please contact the Mia-Care team to have access to this portal.
Proxies
Define one cross-project
proxy to the USER_MANAGER_MODULE_NAMESPACE
with this specifications:
- host:
user-manager-service
; - port:
80
.
Endpoints
No additional endpoints are required.
Add the messages view
There is a bug in the views generated from the applications, so we are adding the nm_nm_notification_messages
view manually.
Create manually the nm_nm_notification_messages
view:
- Starting collection:
nm_nm_notification
- Import the data: messages_schema
- Add the pipeline: messages_pipeline
Microservices documentation
For additional details about the Notification Module configuration, please refer to the documentation of its microservices building blocks:
[mia-crud-service-csfle]: [/runtime_suite/crud-service/encryption_configuration]