Secure message frontend is a microservice to allow other services to integrate with secure messages inbox & retrieve the message partials.
- Digital Contact Runbook
- Digital Contact Confluence home page
- Digital Contact Slack channel - #team-digital-contact
| Path | Supported Methods | Description |
|---|---|---|
/:clientService/messages |
GET | returns HTML partial with list of messages. |
/:clientService/messages/:id |
GET | returns HTML partial with list of messages for a given conversation id. |
/:clientService/messages/result |
GET | returns HTML partial with list of messages in the conversation. |
/messages/count |
GET | returns JSON containing the message count. |
| Path | Supported Methods | Description |
|---|---|---|
/messages |
GET | returns HTML partial with list of messages for current authenticated user. |
/messages/bta |
GET | returns HTML partial with list of messages for current authenticated user for BTA. |
/messages/:encryptedUrl |
GET | returns HTML Partial containing the formatted message |
/messages/inbox-link |
GET | returns HTML Partial containing the formatted message count |
/messages/count |
GET | returns JSON containing the message count |
sm2 --start DC_SECURE_MESSAGE_FRONTEND_IT
sbt it / test
sm2 --stop DC_SECURE_MESSAGE_FRONTEND_IT
sbt "run 9055 -Dplay.http.router=testOnlyDoNotUseInAppConf.Routes"
# Format the code
sbt fmt
# Clean, build test and integration test
sbt clean test it/test
# Run a coverage report
sbt clean coverage test coverageReportThis code is open source software licensed under the Apache 2.0 License.