Opened 5 years ago

Closed 5 years ago

#1934 closed enhancement (fixed)

rasdapy_Update generated GRPC files from beta version to newer version

Reported by: Bang Pham Huu Owned by: ahambasan
Priority: major Milestone: 9.7
Component: rasdapy Version: development
Keywords: Cc: Dimitar Misev
Complexity: Hard

Description

Currently, rasdapy still uses generated GRPC files from beta version
http://rasdaman.org/browser/applications/rasdapy/rasdapy/stubs

Hence, it needs to update GRPC generated files for rasdapy from newer GRPC version. It requires to understand GRPC first and how it works in Python.

Rasdapy folder exists at rasdaman/applications/rasdapy and what need to do first is installing GRPC for python:
sudo pip install grpcio-tools
pip install -U protobuf (version 3.6)
There is a python script to generate GRPC files at rasdapy/scripts/stub_generator.py, however, it needs to use some built GRPC tool, so don't use this one, use this new content: ​https://pastebin.com/Ha2EXLbk which will generate GRPC files from above installed Python dependencies.

After that, trying to figure out what changed from the current source code of current rasdapy using beta GRPC with new generated GRPC version.

Finally, rasdapy should work as same as it is in beta version.

Change History (1)

comment:1 by Bang Pham Huu, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.