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

Add tests to validate correct handler order in server

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: server
    • Labels:
      None

      Description

      This task is to add validation mechanisms in the code so that issues such as https://issues.apache.org/jira/browse/TINKERPOP-2374 can be proactively caught in the future. 

      There are two mechanisms that can be created to validate handler order:
      1. Add logic to validate that the pipeline has been setup at runtime. We might want to leverage the finalize method in AbstractChannelizer. Note that this wouldn't catch pipeline setup issues where it is modified dynamically based on message information while processing the message.
      2. Add tests to validate the pipeline through which a message is executed. It is not easy to do this today and we would need to expose pipeline details to these tests for validation.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              divijvaidya Divij Vaidya
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: