server-side-extension icon indicating copy to clipboard operation
server-side-extension copied to clipboard

There are no Service Descriptors in the generated ServerSideExtension_pb2.py

Open sergioloza opened this issue 5 years ago • 0 comments

Description

[Description of the issue] Not able to correctly use reflection for the server.

Steps to Reproduce

  1. [Step one]
  2. [Step two]
  3. ...
Expected behavior

[What you expected to happen] Trying to use reflection to gather information about the SSE server. The goal is to be able to use the health check service so we can monitor the server from afar.

Actual behavior

[What actually happened] The generated ServerSideExtension_pb2.py does not have a service descriptors Compare the generated ServerSideExtension_pb2.py with the helloworld_pb2.py from the grpc githubs' repo. https://github.com/grpc/grpc/tree/v1.18.x/examples/python/helloworld

This brings up another question. If we add a service to the proto file which Qlik as a client does not need to know (say a check service), and generate a new ServerSideExtension_pb2.py, would that break the communication between Qlik and our server?

Environment

Operating system
[x ] Windows
[ ] Linux
Qlik Sense
[ ] Desktop
[ x] Server

Versions

  • server-side-extension:
  • Qlik Sense:
  • Operating system:
  • [Other relevant versions]

sergioloza avatar May 26 '20 20:05 sergioloza