Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-761

Ability to add extension elements to Atom feed returned by query

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • OpenCMIS 0.10.0
    • OpenCMIS 0.11.0
    • opencmis-server
    • None

    Description

      It would be useful to be able to add extension elements to the end of the Atom feed that's returned by a query (when using the AtomPub bindings). This would allow extra query-specific metadata to be returned in the response.

      For example: Alfresco uses Solr "under the hood" - by including extension elements in the Atom feed, extra information, such as faceting results, could be included in the feed.

      The class DiscoveryService.Query for the AtomPub binding currently passes a null as the final argument to the call to CmisService.query. If it passed an instance of ExtensionDataImpl, the implementer of the CmisService interface could populate the object with the extension elements. These could then be written out at the end of the feed.

      This update requires just a few changes to the DiscoveryService.Query and AtomFeed classes; I've attached an svn diff file with the changes.

      Attachments

        Activity

          People

            fmui Florian Müller
            gairey Alan Gairey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment