GoogleCloudPlatform / app-gradle-plugin

The library has moved to https://github.com/GoogleCloudPlatform/appengine-plugins/tree/main/app-gradle-plugin
Apache License 2.0
153 stars 40 forks source link

How do you specify the service name in a microservice one project architecture #447

Closed bogdan-marian closed 1 year ago

bogdan-marian commented 1 year ago

I have to create a new service in appengine java standard environment. At the moment the monolith application is linked to the default service. I can see this in the cloud console.

How do I specify for a new service that I intend to add the service name and what help can I get from appengiene for url mapping when I try to call endpoints from my second service?

bogdan-marian commented 1 year ago

I have to set the service name in appengine-web.xml file using module tag

<module>service_name</module>

I found the response here: https://stackoverflow.com/questions/54248892/how-to-set-the-service-name-of-an-gcp-app-engine-service