Java gRPC client

26 views
Skip to first unread message

Camilo Aguilar

unread,
Sep 3, 2020, 5:07:26 PM9/3/20
to Grafeas Users
Is there a gRPC client for Java published somewhere? I haven't been able to find it. 

Thanks! 
Camilo 

Santiago Torres Arias

unread,
Sep 3, 2020, 5:25:56 PM9/3/20
to Camilo Aguilar, Grafeas Users
Not sure if you mean this:

https://github.com/grpc/grpc-java

Or rather something Grafeas specific?

Cheers!
-Santiago
> --
> You received this message because you are subscribed to the Google Groups "Grafeas Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to grafeas-user...@googlegroups.com.
> To view this discussion on the web visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_grafeas-2Dusers_a0ceeb05-2Da4e7-2D4729-2D8691-2De45150588067n-2540googlegroups.com&d=DwIBaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=yZMPY-APGKyVIX7HgQFZJA&m=uW_RHupnUfN0jsPeNAZODWZpJNnWfRvuAFuD6l5nkTQ&s=Xefb_5gb5_w9dE215lhdgqELBnn-zhtmeMAL9oZne0o&e= .

signature.asc

Camilo Aguilar

unread,
Sep 3, 2020, 7:55:53 PM9/3/20
to Santiago Torres Arias, Grafeas Users
Yes, the Grafeas gRPC client generated from its protobufs. 
--
Camilo Aguilar
Software Engineer


Wiktor Kozlik

unread,
Sep 8, 2020, 2:14:43 PM9/8/20
to Grafeas Users
There is a Java client for Grafeas here: https://github.com/googleapis/java-grafeas
However,  the generated code doesn't work due to known issues related to the differences in defining resources in Google API and the OpenAPI spec used by Swagger. Contributions to fix this are welcome!

There is an alternative solution that uses protoc described here: https://github.com/grafeas/grafeas/issues/429

Camilo Aguilar

unread,
Sep 8, 2020, 2:42:41 PM9/8/20
to Wiktor Kozlik, Grafeas Users
Thanks Wiktor, I went and generated my own gRPC client for Java. FWIW, I had to make a small change in Grafeas protobufs for it to compile correctly: https://github.com/grafeas/grafeas/pull/451 

Best,
Camilo



You received this message because you are subscribed to a topic in the Google Groups "Grafeas Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grafeas-users/DqwMVKgleGI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grafeas-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grafeas-users/35a159bc-9867-4c53-a57a-dff838758cadn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages