Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new feature: fully automated generation of the gRPC interface #180

Closed
markdoerr opened this issue Jun 17, 2023 · 6 comments
Closed

new feature: fully automated generation of the gRPC interface #180

markdoerr opened this issue Jun 17, 2023 · 6 comments

Comments

@markdoerr
Copy link
Contributor

markdoerr commented Jun 17, 2023

I would like to offer my extension, that automates almost the full gRPC interface building,
which can be very tedious, if you have a lot of apps with a lot of models, where you want to have a gRPC interface.

I applied this extension to my LARAsuite repositories gitlab.com/larasuite and it worked very smoothly, saving me a lot of time.
I hope this is useful to you....

See related pull request :

@markdoerr
Copy link
Contributor Author

I am currently exploring the buf build framework
and am very impressed. I will soon add a link to a fully working example - also using the django-socio-grpc framework.
The beauty of the approach lies in the power of buf :
buf can help to keep track of your gRPC API / .proto files.

Since the desired goal of all gRPC based APIs should be to support as many languages as possible,
buf is a great tool for that: with one configuration (yaml file), one generate a lot of different stubs with github actions or gitlab-ci-cd (or manually). The tooling is pretty amazing.

One could showcase the interoperability of the django-socio-grpc framework and buf by one example/demo in a demo folder.

What do you think ?

@AMontagu
Copy link
Collaborator

AMontagu commented Jul 7, 2023

Hi @markdoerr we planned to work on BUF this summer too. We have a complex automatic API that can be simplified a lot with it but we was missing ressources. We internally meet on the subject on Monday 17th of July.

So we have a big interest on the subject. Mostly with grpc-web. @legau is on the subject. If you can provide something we can look on it and if you want to participate we can work together to make this happen

@markdoerr
Copy link
Contributor Author

This is a very cool incidence, @AMontagu :)
grpc-web is also the reason, why I looked into BUF.
The project, I was referring to you can find here: LARAsuite/l.

It is a large open source research data management and labautomation suite. It uses the django-socio-grpc a lot (in every app).

The buf api CI/CD I am testing in the lara-django-data app - look into the api folder how it is structured. There are still some weird bugs in the pipeline, which I need to fix, unfortunately.
But I would be also interested to have everything running as github action.

@markdoerr
Copy link
Contributor Author

Regarding a meeting:
I would be very happy to meet you all. Unfortunately I am on travel on the 17th of July (coming back on the 19th (being in the lab from the 20th of July). We should best arrange a meeting between 20.7-26.7. (please contact me at: mark.doerr at uni-greifswald dot de)

@AMontagu
Copy link
Collaborator

We have a some resources for complex API construction in mono (github actions) and multi (gitlab CI) repo. We will happily share them.

Send you an invitation in this timeline.

@AMontagu
Copy link
Collaborator

I am closing this as the meeting happen. Please feel free to reopen specific issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants