-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Add Support for Microservices in GAE #10345
Comments
that would be great! i wanted to have that initially but there were some difficulties. I think most of the problems are now resolved through work done on Kubernetes. Some thoughts on how to approach this:
|
@saturnism : Wonderful; thanks for the suggestions; Although I have experience deploying monoliths on GAE, I haven't done any microservice deployments. So it will take me some time to figure this one out. 😄 |
Adding a bounty for this |
@pascalgrimaud : Thanks Pascal; not strictly necessary though; I enjoy doing it anyways. 😄 |
Just to give a heads up; I'll be working on this after finalizing the AWS bug fixes which I think is more important (correct me if I am wrong). 😄 |
Do you guys like to add this to the existing gae generator, create a new generator (i.e: gae-microservices) or add this as a module? Let me know what you think. Just asking this since in some threads I've seen the reluctance to add new generators to due to maintainability. 😄 Personally I like the 2nd or 3rd approach; so as not to complicate the existing gae subgenerator. |
Okay, so I am gonna try the separate module approach. 😄 |
i think we should use the same generator :D |
@saturnism : Thanks for the suggestion; yes we could do that. But curious why do you think this should be included in the same generator? I was thinking this might make it a bit more complicated with monolith and microservice logic in the same generator? |
since we already have code complexity/design/implementation is orthogonal to this experience. I.e., if we really want, w/ the same command, we can still have maintainable/modular generator code that doesn't have all the if/else statements :) |
@saturnism : Sounds good. Let us then go with the same generator. Thanks much for your suggestions. I was just going to start coding with the new module approach yesterday. 😉 |
@saturnism @ludoch : Sorry for taking so long to try this out. I've done some tests with |
hiya! i don't think there is an ability to do the rewriting. however, iirc, this is the same w/ a Kuberntes ingress, and do the path pass-through. So the service itself was configured to listen on |
@saturnism : Thanks a lot. I don't know how I missed that; yes it works. I'll code this up soon. 👍 |
@saturnism : Thanks a bunch for your help. I've submitted the PR. Let me know if you see any issues with it. Basically this one will automatically add the context path in the application properties file for micro-services and for a gateway application it will prompt the user to select the micro-services; after which it will create the A sample gateway with two microservices deployed using this can be found at; Gateway: https://micro-gae.uc.r.appspot.com/ invoice micro-service: https://invoicegae-dot-micro-gae.uc.r.appspot.com/services/invoice/ notification micro-service: https://notificationgae-dot-micro-gae.uc.r.appspot.com/services/notification/ I'll create a documentation PR as well. 😄 |
… GAE This adds some new details about the support for microservices in GAE and refactor the GAE sections. Related to jhipster/generator-jhipster#10345
Overview of the feature request
I was thinking we could add support for Microservices in our GAE Environment(s). It seems that GAE supports microservices through services.
If this is something useful; I could work on this one. Let me know your thoughts. 😄
Motivation for or Use Case
Add Microservice support for GAE will make our GAE generator more complete with support for all types of applications we generate.
Related issues or PR
#10284
The text was updated successfully, but these errors were encountered: