Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-4913

TaskScanner not working when using Oracle as a repo

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: OpenIDM 4.0.0, OpenIDM 4.5.0
    • Fix Version/s: OpenIDM 4.5.0
    • Component/s: Module - Task scanner
    • Environment:
      OpenIDM version "4.1.0-SNAPSHOT" (revision: c6cc782) jenkins-OpenIDM - postcommit-958

      Description

      The TaskScanner sample is not working when using Oracle as a repo: the script is not launched when Taskscanner is triggered by Schedule or via REST.

      Steps to reproduce

      • use the TaskScanner samples files in samples/taskscanner like explained in the documentation
      • in the script, change the log statement level to info:
        from :
            logger.debug("Performing Sunset Task on {} ({})", input.mail, objectID);
        

        to:

            logger.info("Performing Sunset Task on {} ({})", input.mail, objectID);
        

        so that we can see if the script was triggered.

      • create a manager user that will be updated by TaskScanner
      • Then launch TaskScanner via REST:
        curl --header "Content-Type: application/json" --header "X-OpenIDM-Password: openidm-admin" --header "X-OpenIDM-Username: openidm-admin"  --request POST "http://localhost:8080/openidm/taskscanner?_action=execute&name=schedule/taskscan_sunset"
        {"_id":"8abefd50-19d5-4c5f-9a86-085972f215cc-69"}
        

        => with all the repo, we get the log message and the manager user is updated... except with Oracle where we have neither the log message nor the update.

        Attachments

          Activity

            People

            • Assignee:
              jason.vincent jason vincent
              Reporter:
              laurent.bristiel Laurent Bristiel [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: