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

Integration API changes for HTML form writing

    Details

    • Type: New Feature
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Labels:
      None

      Description

      API changes for HTML form writing:
      1. GenerateDocument API
      2. CBAT API - Get document status
      3. PreviewForm API

      This task depends on https://jira.workterra.net/browse/DMS-1127 and https://jira.workterra.net/browse/DMS-1285

       

       

        Attachments

          Activity

          Hide
          swapnil.pandhare Swapnil Pandhare (Inactive) added a comment -

          HI Samir,

          As per discussion, integration APIs won't be using HTML as of now. Taking this out of sprint.

           

          Thanks,

          Swapnil p.

          Show
          swapnil.pandhare Swapnil Pandhare (Inactive) added a comment - HI Samir , As per discussion, integration APIs won't be using HTML as of now. Taking this out of sprint.   Thanks, Swapnil p.
          Hide
          samir Samir added a comment -

          Will need this for CBES

           

          Regards,

          Samir

          Show
          samir Samir added a comment - Will need this for CBES   Regards, Samir
          Hide
          samir Samir added a comment - - edited

          Depends on below ticket:

          DMS-1127

          DMS-1285

          Show
          samir Samir added a comment - - edited Depends on below ticket: DMS-1127 DMS-1285
          Hide
          samir Samir added a comment -

          Needs to test this after completion of:

          DMS-1127

          DMS-1285

          Show
          samir Samir added a comment - Needs to test this after completion of: DMS-1127 DMS-1285
          Hide
          samir Samir added a comment -

          Hi Harshveer Singh,

          Both ticket mention above are IN QA please review this API

          Regards,

          Samir

          Show
          samir Samir added a comment - Hi Harshveer Singh , Both ticket mention above are IN QA please review this API Regards, Samir
          Hide
          akash.thakur Akash Thakur (Inactive) added a comment -

          Hi All,

           

          I have done Analysis of this Jira & tested below scenarios 

          • GenerateDocument API:- Generate Document for user HTML & PDF.
          • Create Documents API :- Create documents PDF & HTML (multiple creation HTML & HTML , PDF & PDF)
          • PreviewForm API : Preview HTML document by creating link.
          • CBAT API - Get document status for HTML & PDF documents.

          Priya Dhamande please request you to verify this again & some more scenarios if you have any & let us know.

           

          Thanks,

          Akash Thakur 

          Rohan J Khandave Ganesh Sadawarte 

          Show
          akash.thakur Akash Thakur (Inactive) added a comment - Hi All,   I have done Analysis of this Jira & tested below scenarios  GenerateDocument API:- Generate Document for user HTML & PDF. Create Documents API :- Create documents PDF & HTML (multiple creation HTML & HTML , PDF & PDF) PreviewForm API : Preview HTML document by creating link. CBAT API - Get document status for HTML & PDF documents. Priya Dhamande please request you to verify this again & some more scenarios if you have any & let us know.   Thanks, Akash Thakur  Rohan J Khandave Ganesh Sadawarte  
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment - - edited

          Environment: Preprod-OneIM
          GenerateDocument API
          Template type: HTML and Text

          1. Add Payload
          2. link generated
          3. Copy and paste link in browser
          4. Blank page appearing.

          Link: https://dmsstage.workterra.net/viewer?Token=e0057280bab34a94a32b8bbda0b70b3c&key=aff31504dcad3b04f1cb42ed70796d0d02c0e8130bed6fe249760680a8a81caf

          Other scenarios testing in-progress.

          Sachin Hingole Rohan J Khandave Akash Thakur Samir

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - - edited Environment: Preprod-OneIM GenerateDocument API Template type: HTML and Text 1. Add Payload 2. link generated 3. Copy and paste link in browser 4. Blank page appearing. Link: https://dmsstage.workterra.net/viewer?Token=e0057280bab34a94a32b8bbda0b70b3c&key=aff31504dcad3b04f1cb42ed70796d0d02c0e8130bed6fe249760680a8a81caf Other scenarios testing in-progress. Sachin Hingole Rohan J Khandave Akash Thakur Samir
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: Preprod-OneIM
          GenerateDocument API
          Template type: HTML and Text

           

          Generate document Status
          PDF Pass
          HTML Fail
          Text Fail
          Document Status
          PDF Pass
          HTML Pass
          Text Pass
          Preview
          PDF  Pass
          HTML Fail
          Text Pass

          Link: https://dmsstage.workterra.net/viewer?Token=8835614cc58c47beae73bdff1b6bce3b&key=11b48cdf02f5aeb1ddb9973167e961909a368db2a8dcc3e52c7ca9c6d416611a

          https://dmsstage.workterra.net/viewer?Token=e0057280bab34a94a32b8bbda0b70b3c&key=aff31504dcad3b04f1cb42ed70796d0d02c0e8130bed6fe249760680a8a81caf

          So, reopening jiar for the same.

           

          Sachin Hingole Rohan J Khandave Samir

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: Preprod-OneIM GenerateDocument API Template type: HTML and Text   Generate document Status PDF Pass HTML Fail Text Fail Document Status PDF Pass HTML Pass Text Pass Preview PDF  Pass HTML Fail Text Pass Link:  https://dmsstage.workterra.net/viewer?Token=8835614cc58c47beae73bdff1b6bce3b&key=11b48cdf02f5aeb1ddb9973167e961909a368db2a8dcc3e52c7ca9c6d416611a https://dmsstage.workterra.net/viewer?Token=e0057280bab34a94a32b8bbda0b70b3c&key=aff31504dcad3b04f1cb42ed70796d0d02c0e8130bed6fe249760680a8a81caf So, reopening jiar for the same.   Sachin Hingole Rohan J Khandave Samir
          Hide
          akash.thakur Akash Thakur (Inactive) added a comment -

          Hi Priya Dhamande,

          I have tested the failed scenarios mentioned above they seem to work fine. please request you to verify the same at your side please find attached payload for each scenario tested.

           

          Generate document Status
          HTML Pass
          Text Pass

           

          Preview
          HTML Pass

          PFA:-  Attached payloads 

           

          Thanks,

          Akash Thakur

          CC:- Samir Rohan J Khandave Ganesh Sadawarte

          Show
          akash.thakur Akash Thakur (Inactive) added a comment - Hi Priya Dhamande , I have tested the failed scenarios mentioned above they seem to work fine. please request you to verify the same at your side please find attached payload for each scenario tested.   Generate document Status HTML Pass Text Pass   Preview HTML Pass PFA :-  Attached payloads    Thanks, Akash Thakur CC:- Samir Rohan J Khandave Ganesh Sadawarte
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment - - edited

          Environment: Preprod OneIm
          File Type: HTML, PDF and TEXT
          API:
          1. api/document
          2. api/documents/Onboard/246/ABSSG/LatestStatus
          3. api/document/11/234/preview

          Verified all file types, worked as expected. test cases attached with jira.

          So, marking jira done.
          Sachin Hingole Hrishikesh Deshpande Rohan J Khandave Akash Thakur Samir

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - - edited Environment: Preprod OneIm File Type: HTML, PDF and TEXT API: 1. api/document 2. api/documents/Onboard/246/ABSSG/LatestStatus 3. api/document/11/234/preview Verified all file types, worked as expected. test cases attached with jira. So, marking jira done. Sachin Hingole Hrishikesh Deshpande Rohan J Khandave Akash Thakur Samir

            People

            Assignee:
            akash.thakur Akash Thakur (Inactive)
            Reporter:
            samir Samir
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Time Spent - 12.5h Remaining Estimate - 11.5h
                11.5h
                Logged:
                Time Spent - 12.5h Remaining Estimate - 11.5h
                12.5h