Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-1256

fcrepo-camel should accept dynamic fcr:transform endpoints

    Details

      Description

      The current fcrepo-camel component allows users to specify endpoints with a static fcr:transform value:

      to("fcrepo:localhost:8080/rest?transform=foo")

      or a configurable property:

      to("fcrepo:localhost:8080/rest?transform={{transform}}")

      but this doesn't allow for the case when that value needs to be dynamically determined while a route is running, such as by checking the indexing:hasIndexingTransform property of an object.

      Instead, users should be able to dynamically configure that value in the same way they can dynamically configure the Identifier value:

      setHeader(FCREPO_TRANSFORM).xpath("/rdf:RDF/rdf:Description/indexing:hasIndexingTransform/text()", ns)

        Attachments

          Activity

            People

            • Assignee:
              acoburn Aaron Coburn
              Reporter:
              acoburn Aaron Coburn
              Reviewer:
              Andrew Woods
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: