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

CBATS : Issue in getCandidate/deleteCandidate

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      observed an issue in the getCandidate and deleteCandidate api.

      The candidate shamooka@gmail.com is created at DMS from cbinternalBeta (AccountDID - AKF7Y86DJ2Z4VLMS9MN), but I am able to get the information & also delete the candidate from other system like "cbta (AccountDID - AKD3PK619G7BM6056N6)".

      https://apimanagement.cbplatform.link/#routes/tester?preURL=https%3A%2F%2Fapi.careerbuilder.com%2F&postURL=corporate%2Fdms%2Fapi%2FcandidateProfile%2Fshamooka%40gmail.com&method=get&contentType=application%2Fjson&acceptType=application%2Fjson&version=default&region=productionus&flow=authorization_code&userDid=U8Q7SR6BQK3KSWWW6V8&accountDid=AKD3PK619G7BM6056N6&headers=&body=

        Attachments

          Activity

          rohan.khandave Rohan J Khandave (Inactive) created issue -
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Field Original Value New Value
          Epic Link DMS-473 [ 75966 ]
          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment - - edited

          Below API are targeted 

          api/deleteCandidate [This api already has company id check]

          api/candidateProfile
          — > This API will return not found result.

          api/candidateProfile/{emailAddress}/{sourceProduct}/{documentId}
          ---> This API returns not found. Also if provided document id is not matched with email address then also not found with message Document not found for provided email.

          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - - edited Below API are targeted  api/deleteCandidate [This api already has company id check] api/candidateProfile — > This API will return not found result. api/candidateProfile/{emailAddress}/{sourceProduct}/{documentId} ---> This API returns not found. Also if provided document id is not matched with email address then also not found with message Document not found for provided email.
          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment -

          Below are 3C's.

          Concern: Other company candidate can be accessed.

          Cause: System fetches candidate from email address only , there is no check for company id.

          Correction: We have added company check.

          CC – Samir

          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - Below are 3C's. Concern: Other company candidate can be accessed. Cause: System fetches candidate from email address only , there is no check for company id. Correction: We have added company check. CC – Samir
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Status To Do [ 10000 ] In Progress [ 3 ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Assignee Rohan J Khandave [ rohan.khandave ] Harshveer Singh [ harshveer.singh ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Status In Progress [ 3 ] Code Review [ 11801 ]
          rohan.khandave Rohan J Khandave (Inactive) logged work - 03/Oct/19 07:14 AM
          • Time Spent:
            4h
             

            Analysis code changes
            Unit testing

          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Remaining Estimate 0h [ 0 ]
          Time Spent 4h [ 14400 ]
          Worklog Id 203775 [ 203775 ]
          Ashish.Durani Ashish Durani made changes -
          Status Code Review [ 11801 ] In QA Testing [ 11901 ]
          Ashish.Durani Ashish Durani made changes -
          Assignee Harshveer Singh [ harshveer.singh ] Priya Dhamande [ priya.dhamande ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Attachment Screenshot (568).png [ 122035 ]
          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 - 06/Oct/19 10:57 PM - edited
          • Time Spent:
            1h
             

            preprod-OneIm

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

          Environment: Preprod - ONEIM
          API: /api/deleteCandidate

          Points verified:
          1. Email ID of same companies
          2. Email IDS of different companies

          Both scenarios passed. refer screen capture. So, marking jira done.

          Samir Rohan J Khandave Hrishikesh Deshpande Sachin Hingole

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: Preprod - ONEIM API: /api/deleteCandidate Points verified: 1. Email ID of same companies 2. Email IDS of different companies Both scenarios passed. refer screen capture. So, marking jira done. Samir Rohan J Khandave Hrishikesh Deshpande Sachin Hingole
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Time Spent 4h [ 14400 ] 4.5h [ 16200 ]
          Worklog Id 204163 [ 204163 ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status Done [ 10001 ] In Progress [ 3 ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Assignee Rohan J Khandave [ rohan.khandave ] Priya Dhamande [ priya.dhamande ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Status In Progress [ 3 ] In QA Testing [ 11901 ]
          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) made changes -
          Time Spent 4.5h [ 16200 ] 5h [ 18000 ]
          Worklog Id 204163 [ 204163 ]
          Transition Time In Source Status Execution Times
          Rohan J Khandave (Inactive) made transition -
          To Do In Progress
          1d 21h 38m 1
          Rohan J Khandave (Inactive) made transition -
          In Progress Code Review
          20s 1
          Ashish Durani made transition -
          Code Review In QA Testing
          21h 55m 1
          Rohan J Khandave (Inactive) made transition -
          Done In Progress
          2d 6h 59m 1
          Rohan J Khandave (Inactive) made transition -
          In Progress In QA Testing
          13s 1
          Priya Dhamande (Inactive) made transition -
          In QA Testing Done
          3d 17h 34m 2

            People

            Assignee:
            rohan.khandave Rohan J Khandave (Inactive)
            Reporter:
            rohan.khandave Rohan J Khandave (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 5h
                5h