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

Expose client WebSocket connection status

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: javascript
    • Labels:
      None

      Description

      The WebSocket connection status is a critical piece of info when implementing readiness/liveliness probes in kubernetes deployment scenarios. Currently the connection status is kept internally in the `Connection` class and not accessible from outside.

      https://github.com/apache/tinkerpop/blob/332177a4b65563bc9ac2ad89e1a3ce78bf290195/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/connection.js#L96

       

      Please let me know if this makes sense and I can send a PR.

        Attachments

          Activity

            People

            • Assignee:
              spmallette Stephen Mallette
              Reporter:
              ebrahim Ebrahim
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: