Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-2497

Store outgoing MessageService emails in a table

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Could
    • Resolution: Change Request Cancelled
    • Affects Version/s: None
    • Fix Version/s: Core 2.5.0
    • Component/s: None
    • Complexity:
      Low

      Description

      The MessageService and MessageServiceImpl allow you to send a notification to a user over email if the user has defined their email address in their "profile".

      Add a table to store all messages sent to users through the 'MessageService'. This functionality will give the flexibility to the admin to check the db for the sent message logs, that are sent via email.

      -Domain object name: SentMessage
      -Table name: sent_message.

      • Table Columns: sender (a user_id), recipient (a user_id), message, date_sent, type_of_message
      • You will need to create a new hibernate mapping hbm.xml file for this new object to be able to persist the messages in the archive.
      • Add methods to the API/DAO for CRUD operations for sent messages
      • Include unit tests

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                lehone Lenya Hope
                Reporter:
                gauravpaliwal Gaurav Paliwal
                Designated Committer:
                Daniel Kayiwa Daniel Kayiwa
                Votes:
                0 Vote for this issue
                Watchers:
                17 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 4 hours, 30 minutes
                    4h 30m
                    Remaining:
                    Time Spent - 4 hours Remaining Estimate - 30 minutes
                    30m
                    Logged:
                    Time Spent - 4 hours Remaining Estimate - 30 minutes
                    4h