Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1984

Allow support for multiple serializer versions in Gremlin Server HTTP

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.3.3
    • Fix Version/s: 3.4.0
    • Component/s: server

      Description

      The HttpGremlinEndPointHandler only deals with MessageTextSerializer implementations and you can't configure multiple GraphSON ones because all of those implementations bind to application/json mimetype. I'm not even quite sure why a distinction exists anymore between "text" and "binary" serialization because we serialize to string only to turn around and convert to a ByteBuf which is what the binary version of the serializers already do.

      This is a breaking change because the header mime type appended to requests generated from GraphSONMessageSerializerV2d0 changed from application/json to application/vnd.gremlin-v2.0+json.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                spmallette stephen mallette
                Reporter:
                spmallette stephen mallette
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: