qlik-oss / server-side-extension

A Qlik server-side extension protocol for extending the Qlik built-in expression library with functionality from external calculation engines.
MIT License
155 stars 126 forks source link

There are no Service Descriptors in the generated ServerSideExtension_pb2.py #53

Open sergioloza opened 4 years ago

sergioloza commented 4 years ago

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