On Apr 30, 2020, at 10:26 PM, Isuru Ranawaka <[email protected]> wrote: > > Hi Rishabh, > > Some suggestions, try out a maven plugin (e.g protbuf-maven-plugin) to > generate stubs and copy them into relevant folders or write a script (e.g > shell script) and execute via maven phase.
Here is an example shell script we use for generation of Thrift SDK’s. You could follow this example and write equivalent protobuff one and link it maven phase as Isuru suggested: https://github.com/apache/airavata/blob/master/thrift-interface-descriptions/generate-thrift-stubs.sh <https://github.com/apache/airavata/blob/master/thrift-interface-descriptions/generate-thrift-stubs.sh> Suresh > > thanks > Isuru > > > > > On Thu, Apr 30, 2020 at 10:03 PM Rishabh Gajra <[email protected]> > wrote: > >> Hi, >> This is related to custos python client that is present in the develop >> branch. I believe all the classes that are present in the module are >> generated from the proto buff. I wanted to address the issue where there is >> a change in the protobuff file on the server-side. Is there any method >> where we can avoid manually putting the class file in every client that we >> build on. Also, our team is planning to write the Python SDK for Airavata >> MFT (Possibly extend to GOLANG too if time permits). >> Specifically, I want to address the above issue. Any suggestion on how to >> go about this is appreciated. Thank you. >> >> >> -- >> Regards, >> Rishabh. >> > > > -- > Research Software Engineer > Indiana University, IN
