Uploaded image for project: 'XNAT'
  1. XNAT
  2. XNAT-6951

Updating archive processor instance is failing

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.8.4
    • 1.8.4
    • None
    • None
    • XNAT 2021-Q4 Sprint 2
    • Rank:
      0|ii208f:
    • XNAT 2021-Q4 Sprint 2

    Description

      To recreate this (I would recommend using Swagger):

      1. Via the GET to /xapi/processors/site/enabled grab the JSON object from the returned array corresponding to the remapping processor (it should have been created by default). It should look something like the JSON at the bottom.
      2. Edit the scpWhitelist field and add an SCP receiver (e.g. ["XNAT"]).
      3. Via the PUT to {{/xapi/processors/site/id/ {instanceId}

        ,}}, attempt to update the receiver.

      4. You'll get something back like: "The specified processor class org.nrg.xnat.processors.StudyRemappingArchiveProcessor can't be found on this system."


      Example:

        {
          "label": "Remapping",
          "scope": "site",
          "scpWhitelist": [],
          "scpBlacklist": [],
          "location": "AfterProjectSet",
          "priority": 10,
          "parameters": {},
          "processorClass": "org.nrg.xnat.processors.StudyRemappingArchiveProcessor",
          "projectIdsList": [],
          "timestamp": 1638568898793,
          "created": 1638568898793,
          "enabled": true,
          "id": 2,
          "disabled": 0
        }
      

      Attachments

        Activity

          People

            jrherrick@wustl.edu Rick Herrick
            moore.c@wustl.edu Charlie Moore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h