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

Authorization and Authentication with CBES , without OneIam

    Details

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

      Description

      Authorization and Authentication with CBES

        Attachments

        1. Screenshot (2628).png
          Screenshot (2628).png
          159 kB
        2. Screenshot (2629).png
          Screenshot (2629).png
          158 kB
        3. Screenshot (2630).png
          Screenshot (2630).png
          193 kB
        4. Screenshot (2631).png
          Screenshot (2631).png
          194 kB
        5. Testcases -DMS-483.xls
          13 kB

          Activity

          swapnil.pandhare Swapnil Pandhare (Inactive) created issue -
          swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
          Field Original Value New Value
          Epic Link DMS-480 [ 75973 ]
          swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
          Sprint DMS - Sprint 4 [ 153 ]
          samir Samir made changes -
          Assignee Samir [ samir ] Rohan J Khandave [ rohan.khandave ]
          samir Samir made changes -
          Priority Medium [ 3 ] High [ 2 ]
          Remaining Estimate 16h [ 57600 ]
          Original Estimate 16h [ 57600 ]
          samir Samir made changes -
          Remaining Estimate 16h [ 57600 ] 24h [ 86400 ]
          Original Estimate 16h [ 57600 ] 24h [ 86400 ]
          samir Samir made changes -
          Assignee Rohan J Khandave [ rohan.khandave ] Suraj Sokasane [ suraj.sokasane ]
          swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
          Sprint DMS - Sprint 4 [ 153 ] DMS - Sprint 5 [ 154 ]
          suraj.sokasane Suraj Sokasane (Inactive) made changes -
          Assignee Suraj Sokasane [ suraj.sokasane ] Swapnil Pandhare [ swapnil.pandhare ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Sprint DMS - Sprint 5 [ 154 ]
          samir Samir made changes -
          Sprint DMS - Sprint 6 [ 159 ]
          Hide
          swapnil.pandhare Swapnil Pandhare (Inactive) added a comment -

          Uptil now, no updates from CBES team as per discussion with Samir.

           

          Show
          swapnil.pandhare Swapnil Pandhare (Inactive) added a comment - Uptil now, no updates from CBES team as per discussion with Samir.  
          Hide
          samir Samir added a comment -

          As per the call on 08-April2019

          CBES needs to call the DMS API using basic authentication. CBES do not want OneIM authetication

          Show
          samir Samir added a comment - As per the call on 08-April2019 CBES needs to call the DMS API using basic authentication. CBES do not want OneIM authetication
          samir Samir made changes -
          Assignee Swapnil Pandhare [ swapnil.pandhare ] Rohan J Khandave [ rohan.khandave ]
          Hide
          Robert.Malony Robert Malony (Inactive) added a comment -

          Hi all,

          There is a meeting set up with John T for 04/12/2019 to discuss this ticket.

          -Robert

          cc: Samir, Swapnil Pandhare, and ShashiKant Mishra

          Show
          Robert.Malony Robert Malony (Inactive) added a comment - Hi all, There is a meeting set up with John T for 04/12/2019 to discuss this ticket. -Robert cc: Samir , Swapnil Pandhare , and ShashiKant Mishra
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Summary Authorization and Authentication with CBES Authorization and Authentication with CBES , without OneIam
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Sprint DMS - Sprint 6 [ 159 ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Remaining Estimate 24h [ 86400 ] 32h [ 115200 ]
          Original Estimate 24h [ 86400 ] 32h [ 115200 ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Remaining Estimate 32h [ 115200 ] 48h [ 172800 ]
          Original Estimate 32h [ 115200 ] 48h [ 172800 ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Sprint DMS - Fall Sprint 1 [ 160 ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Fix Version/s Enhancements - Fall [ 10610 ]
          Fix Version/s Integration with CBES [ 10448 ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Status To Do [ 10000 ] In Progress [ 3 ]
          rohan.khandave Rohan J Khandave (Inactive) logged work - 24/Apr/19 07:38 AM
          • Time Spent:
            4h
             

            Analysis + Coding

          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Remaining Estimate 48h [ 172800 ] 44h [ 158400 ]
          Time Spent 4h [ 14400 ]
          Worklog Id 174678 [ 174678 ]
          rohan.khandave Rohan J Khandave (Inactive) logged work - 25/Apr/19 08:24 AM
          • Time Spent:
            4h
             

            Coding

          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Remaining Estimate 44h [ 158400 ] 40h [ 144000 ]
          Time Spent 4h [ 14400 ] 8h [ 28800 ]
          Worklog Id 174945 [ 174945 ]
          rohan.khandave Rohan J Khandave (Inactive) logged work - 26/Apr/19 07:21 AM
          • Time Spent:
            4h
             

            Coding

          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Remaining Estimate 40h [ 144000 ] 36h [ 129600 ]
          Time Spent 8h [ 28800 ] 12h [ 43200 ]
          Worklog Id 175166 [ 175166 ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Sprint DMS - Fall Sprint 1 [ 160 ] DMS - Fall Sprint 1, DMS - Fall Sprint 2 [ 160, 161 ]
          rohan.khandave Rohan J Khandave (Inactive) logged work - 29/Apr/19 10:18 AM
          • Time Spent:
            5h
             

            Coding , merging Development Branch

          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Remaining Estimate 36h [ 129600 ] 31h [ 111600 ]
          Time Spent 12h [ 43200 ] 17h [ 61200 ]
          Worklog Id 175556 [ 175556 ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Status In Progress [ 3 ] Code Review [ 11801 ]
          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment -

          1. CBAT will call DMS api to get an access token & refresh token with key provided by DMS.
          2. With token needs to provide company payload , so if company not exists DMS will add company.
          3. Created token is attache with provided company.
          4. For different company needs to create new token.
          5. Token valid for 20 min, after that with refresh token needs to get new token.

          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - 1. CBAT will call DMS api to get an access token & refresh token with key provided by DMS. 2. With token needs to provide company payload , so if company not exists DMS will add company. 3. Created token is attache with provided company. 4. For different company needs to create new token. 5. Token valid for 20 min, after that with refresh token needs to get new token.
          rohan.khandave Rohan J Khandave (Inactive) logged work - 30/Apr/19 07:15 AM
          • Time Spent:
            4.5h
             

            Merge Develop branch
            resolve conflicts
            Testing functionality

          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Remaining Estimate 31h [ 111600 ] 26.5h [ 95400 ]
          Time Spent 17h [ 61200 ] 21.5h [ 77400 ]
          Worklog Id 175686 [ 175686 ]
          swapnil.pandhare Swapnil Pandhare (Inactive) logged work - 03/May/19 06:13 AM
          • Time Spent:
            0.7h
             

            Code review and discussion

          swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
          Remaining Estimate 26.5h [ 95400 ] 25.8h [ 92880 ]
          Time Spent 21.5h [ 77400 ] 22.2h [ 79920 ]
          Worklog Id 176192 [ 176192 ]
          rohan.khandave Rohan J Khandave (Inactive) logged work - 03/May/19 07:14 AM
          • Time Spent:
            1h
             

            Merge Development Branch
            Resolve Conflicts
            Testing

          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Remaining Estimate 25.8h [ 92880 ] 24.8h [ 89280 ]
          Time Spent 22.2h [ 79920 ] 23.2h [ 83520 ]
          Worklog Id 176222 [ 176222 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Status Code Review [ 11801 ] In QA Testing [ 11901 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Assignee Rohan J Khandave [ rohan.khandave ] Priya Dhamande [ priya.dhamande ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Assignee Priya Dhamande [ priya.dhamande ] Jayshree Nagpure [ jayshree.nagpure ]
          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment -

          Pre-production basic token to get access token : ec77687fd25e93c3df279610a970bd43

          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - Pre-production basic token to get access token : ec77687fd25e93c3df279610a970bd43
          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment - - edited

          Pre-Production API URL : https://dmsapistage.workterra.net 

          Token API :
          POST
          /api/authorizetoken/ec77687fd25e93c3df279610a970bd43

          Payload:
          {
          "businessName": "RK Group",
          "sourceProductList": ["CBATS","SMBHire","Onboard","CBES"],
          "languageList": ["EN"],
          "emailAddress": "contact@rk123.com",
          "addressDto":

          { "country": "US" }

          }

          Out Put:

          { "token": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IntcImlkXCI6MSxcInVzZXJOYW1lXCI6bnVsbCxcInBhc3N3b3JkXCI6bnVsbCxcInRva2VuXCI6bnVsbCxcImZpcnN0TmFtZVwiOm51bGwsXCJsYXN0TmFtZVwiOm51bGwsXCJjb21wYW55SWRcIjo1NCxcImtleVwiOm51bGwsXCJjdWx0dXJlXCI6bnVsbCxcIm5hdmlnYXRlVG9cIjpudWxsLFwiYXBpdG9rZW5cIjpudWxsLFwibG9naW50eXBlXCI6MCxcInNvdXJjZXByb2R1Y3RcIjpudWxsLFwidXNlclR5cGVJZFwiOjAsXCJwZXJzb25JRFwiOjB9IiwibmJmIjoxNTU2ODY4ODU4LCJleHAiOjE1NTY4NzAwNTgsImlhdCI6MTU1Njg2ODg1OH0.F_MiKy9XvTFd8YNnKn3xj6J_2HOYTonGKIb17yH04gI", "refreshToken": "rGA91FAnA9UvvbHrzQbl6zv8Uiu0CTvlGQvO+sBAfAI=" }

          Refresh Token API :
          POST
          api/refreshtoken

          { "token": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IntcImlkXCI6MSxcInVzZXJOYW1lXCI6bnVsbCxcInBhc3N3b3JkXCI6bnVsbCxcInRva2VuXCI6bnVsbCxcImZpcnN0TmFtZVwiOm51bGwsXCJsYXN0TmFtZVwiOm51bGwsXCJjb21wYW55SWRcIjo1NCxcImtleVwiOm51bGwsXCJjdWx0dXJlXCI6bnVsbCxcIm5hdmlnYXRlVG9cIjpudWxsLFwiYXBpdG9rZW5cIjpudWxsLFwibG9naW50eXBlXCI6MCxcInNvdXJjZXByb2R1Y3RcIjpudWxsLFwidXNlclR5cGVJZFwiOjAsXCJwZXJzb25JRFwiOjB9IiwibmJmIjoxNTU2ODY4ODU4LCJleHAiOjE1NTY4NzAwNTgsImlhdCI6MTU1Njg2ODg1OH0.F_MiKy9XvTFd8YNnKn3xj6J_2HOYTonGKIb17yH04gI", "refreshToken": "rGA91FAnA9UvvbHrzQbl6zv8Uiu0CTvlGQvO+sBAfAI=" }
          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - - edited Pre-Production API URL : https://dmsapistage.workterra.net   Token API : POST /api/authorizetoken/ ec77687fd25e93c3df279610a970bd43 Payload: { "businessName": "RK Group", "sourceProductList": ["CBATS","SMBHire","Onboard","CBES"] , "languageList": ["EN"] , "emailAddress": "contact@rk123.com", "addressDto": { "country": "US" } } Out Put: { "token": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IntcImlkXCI6MSxcInVzZXJOYW1lXCI6bnVsbCxcInBhc3N3b3JkXCI6bnVsbCxcInRva2VuXCI6bnVsbCxcImZpcnN0TmFtZVwiOm51bGwsXCJsYXN0TmFtZVwiOm51bGwsXCJjb21wYW55SWRcIjo1NCxcImtleVwiOm51bGwsXCJjdWx0dXJlXCI6bnVsbCxcIm5hdmlnYXRlVG9cIjpudWxsLFwiYXBpdG9rZW5cIjpudWxsLFwibG9naW50eXBlXCI6MCxcInNvdXJjZXByb2R1Y3RcIjpudWxsLFwidXNlclR5cGVJZFwiOjAsXCJwZXJzb25JRFwiOjB9IiwibmJmIjoxNTU2ODY4ODU4LCJleHAiOjE1NTY4NzAwNTgsImlhdCI6MTU1Njg2ODg1OH0.F_MiKy9XvTFd8YNnKn3xj6J_2HOYTonGKIb17yH04gI", "refreshToken": "rGA91FAnA9UvvbHrzQbl6zv8Uiu0CTvlGQvO+sBAfAI=" } Refresh Token API : POST api/refreshtoken { "token": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IntcImlkXCI6MSxcInVzZXJOYW1lXCI6bnVsbCxcInBhc3N3b3JkXCI6bnVsbCxcInRva2VuXCI6bnVsbCxcImZpcnN0TmFtZVwiOm51bGwsXCJsYXN0TmFtZVwiOm51bGwsXCJjb21wYW55SWRcIjo1NCxcImtleVwiOm51bGwsXCJjdWx0dXJlXCI6bnVsbCxcIm5hdmlnYXRlVG9cIjpudWxsLFwiYXBpdG9rZW5cIjpudWxsLFwibG9naW50eXBlXCI6MCxcInNvdXJjZXByb2R1Y3RcIjpudWxsLFwidXNlclR5cGVJZFwiOjAsXCJwZXJzb25JRFwiOjB9IiwibmJmIjoxNTU2ODY4ODU4LCJleHAiOjE1NTY4NzAwNTgsImlhdCI6MTU1Njg2ODg1OH0.F_MiKy9XvTFd8YNnKn3xj6J_2HOYTonGKIb17yH04gI", "refreshToken": "rGA91FAnA9UvvbHrzQbl6zv8Uiu0CTvlGQvO+sBAfAI=" }
          jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
          Assignee Jayshree Nagpure [ jayshree.nagpure ] Priya Dhamande [ priya.dhamande ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Assignee Priya Dhamande [ priya.dhamande ] Samir [ samir ]
          samir Samir made changes -
          Assignee Samir [ samir ] Priya Dhamande [ priya.dhamande ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Attachment Screenshot (2629).png [ 111027 ]
          Attachment Screenshot (2628).png [ 111028 ]
          Attachment Screenshot (2631).png [ 111029 ]
          Attachment Screenshot (2630).png [ 111030 ]
          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 ] Rohan J Khandave [ rohan.khandave ]
          priya.dhamande Priya Dhamande (Inactive) logged work - 21/Jun/19 03:35 AM
          • Time Spent:
            2h
             

            Preprod oneIm testing

          priya.dhamande Priya Dhamande (Inactive) made changes -
          Attachment Testcases -DMS-483.xls [ 111032 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Remaining Estimate 24.8h [ 89280 ] 22.8h [ 82080 ]
          Time Spent 23.2h [ 83520 ] 25.2h [ 90720 ]
          Worklog Id 184522 [ 184522 ]
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: OneIM - PreProd
          API:
          1. api/refreshtoken
          2. /api/authorizetoken/ec77687fd25e93c3df279610a970bd43

          Verified for attached scenario.
          1. New company created if not available and token generated
          2. Existing company token got
          3. refresh > New token generated

          So, marking jira done. Refer screen capture.

          Sachin Hingole Rohan J Khandave Samir

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: OneIM - PreProd API: 1. api/refreshtoken 2. /api/authorizetoken/ec77687fd25e93c3df279610a970bd43 Verified for attached scenario. 1. New company created if not available and token generated 2. Existing company token got 3. refresh > New token generated So, marking jira done. Refer screen capture. Sachin Hingole Rohan J Khandave Samir
          Transition Time In Source Status Execution Times
          Rohan J Khandave (Inactive) made transition -
          To Do In Progress
          102d 5h 37m 1
          Rohan J Khandave (Inactive) made transition -
          In Progress Code Review
          7d 16h 43m 1
          Raj Hawaldar (Inactive) made transition -
          Code Review In QA Testing
          6d 37m 1
          Priya Dhamande (Inactive) made transition -
          In QA Testing Done
          46d 3h 9m 1

            People

            Assignee:
            rohan.khandave Rohan J Khandave (Inactive)
            Reporter:
            swapnil.pandhare Swapnil Pandhare (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Time Spent - 25.2h Remaining Estimate - 22.8h
                22.8h
                Logged:
                Time Spent - 25.2h Remaining Estimate - 22.8h
                25.2h