Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-377

Notification History in Communications Module

    Details

    • Type: Research
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Email communication
    • Labels:
      None

      Description

      Maintaining notification history, event on notifications. Data models related to maintaining notification history.

      Two APIs are exposed to get email history:

      api/email/history and api/email/detail

      See swagger API specification for field details.

        Attachments

        1. Capture.PNG
          Capture.PNG
          28 kB
        2. DMS-377_1.jpg
          DMS-377_1.jpg
          157 kB
        3. DMS-377_2.jpg
          DMS-377_2.jpg
          131 kB
        4. DMS-377.jpg
          DMS-377.jpg
          284 kB
        5. Screenshot (851).png
          Screenshot (851).png
          119 kB
        6. Screenshot (852).png
          Screenshot (852).png
          115 kB
        7. Screenshot (881).png
          Screenshot (881).png
          121 kB
        8. Screenshot (882).png
          Screenshot (882).png
          135 kB

          Issue Links

            Activity

            harshveer.singh Harshveer Singh (Inactive) created issue -
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Field Original Value New Value
            Assignee Samir [ samir ] Harshveer Singh [ harshveer.singh ]
            harshveer.singh Harshveer Singh (Inactive) logged work - 26/Dec/18 10:35 PM
            • Time Spent:
              6h
               

              Data model for maintaining communication history.

            harshveer.singh Harshveer Singh (Inactive) made changes -
            Remaining Estimate 0h [ 0 ]
            Time Spent 6h [ 21600 ]
            Worklog Id 153004 [ 153004 ]
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Status To Do [ 10000 ] In Progress [ 3 ]
            swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
            Sprint DMS - Sprint 7 [ 148 ]
            Original Estimate 0h [ 0 ]
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Status In Progress [ 3 ] Code Review [ 11801 ]
            ravi.banda Ravi Banda (Inactive) made changes -
            Fix Version/s Email communication [ 10450 ]
            ravi.banda Ravi Banda (Inactive) made changes -
            Epic Link DMS-219 [ 74297 ]
            swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
            Sprint DMS - Sprint 7 [ 148 ] DMS - Sprint 1 [ 149 ]
            rohan.khandave Rohan J Khandave (Inactive) made changes -
            Sprint DMS - Sprint 1 [ 149 ] DMS - Sprint 1, DMS - Sprint 2 [ 149, 150 ]
            Hide
            harshveer.singh Harshveer Singh (Inactive) added a comment -

            This task is for the story DMS-240

            Show
            harshveer.singh Harshveer Singh (Inactive) added a comment - This task is for the story  DMS-240
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Link This issue relates to DMS-240 [ DMS-240 ]
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Description Maintaining notification history, event on notifications. Data models related to maintaining notification history. Maintaining notification history, event on notifications. Data models related to maintaining notification history.

            Two APIs are exposed to get email history:

            api/email/history and api/email/detail

            See swagger API specification for field details.
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Status Code Review [ 11801 ] In QA Testing [ 11901 ]
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Assignee Harshveer Singh [ harshveer.singh ] Jayshree Nagpure [ jayshree.nagpure ]
            Show
            harshveer.singh Harshveer Singh (Inactive) added a comment - Endpoint to get email history is:   http://40.124.26.81:98/api/sms/history?Count=2&Page=2&SortOrder=0&NumbersFilter=%2B919160116961 https://40.124.26.81:98/api/email/detail?emailId=1
            samir Samir made changes -
            Sprint DMS - Sprint 1, DMS - Sprint 2 [ 149, 150 ] DMS - Sprint 1, DMS - Sprint 2, DMS - Sprint 3 [ 149, 150, 152 ]
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Attachment DMS-377_1.jpg [ 98936 ]
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Attachment DMS-377_2.jpg [ 98938 ]
            jayshree.nagpure Jayshree Nagpure (Inactive) logged work - 20/Feb/19 03:07 AM
            • Time Spent:
              2h
               

              API testing

            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Attachment DMS-377.jpg [ 98939 ]
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Verified Email communication through Swagger and Postman

            Below are observations:
            1.Enter invalid email address > Api should show proper validation message
            2.When cc and bcc email address is same > API shows "Unknown error occured in NotificationController.SendEmail"
            3.When Request is posted successfully : only 200 shows > API should show "Email send Successfully"

            As above scenarios are not working fine, Re-opening this ticket

            Thanks,
            Jayshree

            Priya Dhamande Swapnil Pandhare Samir Satya Hrishikesh Deshpande Sachin Hingole

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Verified Email communication through Swagger and Postman Below are observations: 1.Enter invalid email address > Api should show proper validation message 2.When cc and bcc email address is same > API shows " Unknown error occured in NotificationController.SendEmail " 3.When Request is posted successfully : only 200 shows > API should show "Email send Successfully" As above scenarios are not working fine, Re-opening this ticket Thanks, Jayshree Priya Dhamande Swapnil Pandhare Samir Satya Hrishikesh Deshpande Sachin Hingole
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Status In QA Testing [ 11901 ] In Progress [ 3 ]
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Assignee Jayshree Nagpure [ jayshree.nagpure ] Harshveer Singh [ harshveer.singh ]
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Time Spent 6h [ 21600 ] 8h [ 28800 ]
            Worklog Id 162079 [ 162079 ]
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Status In Progress [ 3 ] Code Review [ 11801 ]
            swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
            Sprint DMS - Sprint 1, DMS - Sprint 2, DMS - Sprint 3 [ 149, 150, 152 ] DMS - Sprint 1, DMS - Sprint 2, DMS - Sprint 3, DMS - Sprint 4 [ 149, 150, 152, 153 ]
            Hide
            harshveer.singh Harshveer Singh (Inactive) added a comment -
            Show
            harshveer.singh Harshveer Singh (Inactive) added a comment - Use this env for testing:  https://dmscomapistage.workterra.net/swagger/index.html
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Assignee Harshveer Singh [ harshveer.singh ] Jayshree Nagpure [ jayshree.nagpure ]
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Status Code Review [ 11801 ] In QA Testing [ 11901 ]
            Hide
            harshveer.singh Harshveer Singh (Inactive) added a comment -
            Show
            harshveer.singh Harshveer Singh (Inactive) added a comment - Use this env for testing:  https://dmscomapistage.workterra.net/swagger/index.html
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Status In QA Testing [ 11901 ] In QA Testing [ 11901 ]
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            As Per discussion assigning this ticket to Priya Dhamande

            Satya Samir Hrishikesh Deshpande

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - As Per discussion assigning this ticket to Priya Dhamande Satya Samir Hrishikesh Deshpande
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Assignee Jayshree Nagpure [ jayshree.nagpure ] Priya Dhamande [ priya.dhamande ]
            priya.dhamande Priya Dhamande (Inactive) made changes -
            Attachment Screenshot (852).png [ 100137 ]
            Attachment Screenshot (851).png [ 100138 ]
            priya.dhamande Priya Dhamande (Inactive) logged work - 04/Mar/19 03:20 AM
            • Time Spent:
              0.5h
               

              API testing

            Hide
            priya.dhamande Priya Dhamande (Inactive) added a comment -

            Environment: API testing

            Getting attached error with testing API. Can you please check the same.

            Swapnil Pandhare Samir

            Show
            priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: API testing Getting attached error with testing API. Can you please check the same. Swapnil Pandhare Samir
            priya.dhamande Priya Dhamande (Inactive) made changes -
            Time Spent 8h [ 28800 ] 8.5h [ 30600 ]
            Worklog Id 164451 [ 164451 ]
            priya.dhamande Priya Dhamande (Inactive) made changes -
            Status In QA Testing [ 11901 ] In Progress [ 3 ]
            priya.dhamande Priya Dhamande (Inactive) made changes -
            Assignee Priya Dhamande [ priya.dhamande ] Harshveer Singh [ harshveer.singh ]
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Status In Progress [ 3 ] In QA Testing [ 11901 ]
            Hide
            harshveer.singh Harshveer Singh (Inactive) added a comment -

            That error seems to be coming because you have specified query string parameters in Headers section, you should provide those as part of URL itself like: /history?page=1&count=10

            I have tried it now, it seems to be working fine.

            Show
            harshveer.singh Harshveer Singh (Inactive) added a comment - That error seems to be coming because you have specified query string parameters in Headers section, you should provide those as part of URL itself like: /history?page=1&count=10 I have tried it now, it seems to be working fine.
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Assignee Harshveer Singh [ harshveer.singh ] Priya Dhamande [ priya.dhamande ]
            Hide
            priya.dhamande Priya Dhamande (Inactive) added a comment -

            Hi Harshveer Singh,

            Getting error for the APi without adding text in header as well. 

            Refer screen capture 

             

            Swapnil Pandhare

            Show
            priya.dhamande Priya Dhamande (Inactive) added a comment - Hi Harshveer Singh , Getting error for the APi without adding text in header as well.  Refer screen capture    Swapnil Pandhare
            priya.dhamande Priya Dhamande (Inactive) made changes -
            Status In QA Testing [ 11901 ] In Progress [ 3 ]
            priya.dhamande Priya Dhamande (Inactive) made changes -
            Assignee Priya Dhamande [ priya.dhamande ] Harshveer Singh [ harshveer.singh ]
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Attachment Capture.PNG [ 100214 ]
            Hide
            harshveer.singh Harshveer Singh (Inactive) added a comment -

            It seems you have provided some whitespace or new lines in Header section because of which this error might be coming, see screenshot below for which API is working fine:

             

            Show
            harshveer.singh Harshveer Singh (Inactive) added a comment - It seems you have provided some whitespace or new lines in Header section because of which this error might be coming, see screenshot below for which API is working fine:  
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Status In Progress [ 3 ] In QA Testing [ 11901 ]
            harshveer.singh Harshveer Singh (Inactive) made changes -
            Assignee Harshveer Singh [ harshveer.singh ] Priya Dhamande [ priya.dhamande ]
            swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
            Sprint DMS - Sprint 1, DMS - Sprint 2, DMS - Sprint 3, DMS - Sprint 4 [ 149, 150, 152, 153 ] DMS - Sprint 1, DMS - Sprint 2, DMS - Sprint 3, DMS - Sprint 4, DMS - Sprint 5 [ 149, 150, 152, 153, 154 ]
            priya.dhamande Priya Dhamande (Inactive) made changes -
            Attachment Screenshot (881).png [ 100714 ]
            priya.dhamande Priya Dhamande (Inactive) made changes -
            Attachment Screenshot (882).png [ 100716 ]
            priya.dhamande Priya Dhamande (Inactive) logged work - 11/Mar/19 01:50 AM
            • Time Spent:
              1h
               

              Preprod testing

            Hide
            priya.dhamande Priya Dhamande (Inactive) added a comment -

            Environment: OneIM

            Both API api/email/history and api/email/detail are verified for its working. Results are as expected. So, closing jira.

            Harshveer Singh Swapnil Pandhare Samir

            Show
            priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: OneIM Both API api/email/history and api/email/detail are verified for its working. Results are as expected. So, closing jira. Harshveer Singh Swapnil Pandhare Samir
            priya.dhamande Priya Dhamande (Inactive) made changes -
            Time Spent 8.5h [ 30600 ] 9.5h [ 34200 ]
            Worklog Id 165604 [ 165604 ]
            priya.dhamande Priya Dhamande (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status In QA Testing [ 11901 ] Done [ 10001 ]
            priya.dhamande Priya Dhamande (Inactive) made changes -
            Assignee Priya Dhamande [ priya.dhamande ] Harshveer Singh [ harshveer.singh ]
            Transition Time In Source Status Execution Times
            Harshveer Singh (Inactive) made transition -
            To Do In Progress
            12d 22h 55m 1
            Harshveer Singh (Inactive) made transition -
            In Progress Code Review
            1d 16h 40m 2
            Harshveer Singh (Inactive) made transition -
            Code Review In QA Testing
            32d 6h 7m 2
            Harshveer Singh (Inactive) made transition -
            In QA Testing In QA Testing
            1m 24s 1
            Priya Dhamande (Inactive) made transition -
            In QA Testing In Progress
            20d 7h 25m 3
            Harshveer Singh (Inactive) made transition -
            In Progress In QA Testing
            17h 13m 2
            Priya Dhamande (Inactive) made transition -
            In QA Testing Done
            6d 4h 1

              People

              Assignee:
              harshveer.singh Harshveer Singh (Inactive)
              Reporter:
              harshveer.singh Harshveer Singh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4h Original Estimate - 4h
                  4h
                  Remaining:
                  Time Spent - 17.75h Remaining Estimate - 5h
                  5h
                  Logged:
                  Time Spent - 17.75h Remaining Estimate - 5h
                  17.75h