This component handles the functionality related to sending SMS through Altinn Notifications.
The host layer responsible for bootstrapping the service and exposing HTTP endpoints.
Relevant implementations:
- Program.cs
- Delivery report controller
- Instant message controller
The domain and application layer that implements the business logic of the system.
Relevant implementations:
- Interfaces for external dependencies implemented by infrastructure layer
- Domain models
- Services for handling sending of SMS
The infrastructure layer that implements the interfaces defined in Altinn.Notifications.Sms.Core for integrations towards 3rd-party libraries and systems.
Relevant implementations:
- Client for external SMS delivery service (Link Mobility)
- ASB message publishers and handlers (Wolverine)
Build:
dotnet build Altinn.Notifications.Sms.slnxRun:
cd src/Altinn.Notifications.Sms
dotnet runTest:
dotnet test Altinn.Notifications.Sms.slnxTo build the SMS Service container (from the repo root):
Podman (Preferred):
podman build -t notifications-sms -f components/sms-service/Dockerfile .Docker:
docker build -t notifications-sms -f components/sms-service/Dockerfile .For full setup instructions including database configuration and user secrets, see getting-started.md.