Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1948

Support getting only specific messages by id in JsonDbOpensocialService

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0-update1
    • 2.5.1
    • Java
    • None

    Description

      The MessageHandler/MessageService supports requests for getting messages by id, but JsonDbOpensocialService does not currently implement filtering by id.

      The attached patch implements that feature.

      Please note: in the current Opensocial 2.5.1 spec (http://opensocial.github.io/spec/2.5.1/Social-API-Server.xml#rfc.section.2.7.1) it seems that only a single message id is supported, and depending on how you read the section the container should return the message itself, not a singleton collection of messages in that case.

      Attachments

        Activity

          People

            ssievers Stanton Sievers
            ankon Andreas Kohn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: