1
votes

Does any one used google app engine admin api to deploy the new version for java project? It is working fine as shown in the example for python project. But for java project there is no proper guidance or examples.

Please share the request body json if any one has one. consider you have placed the war file in gcs.

https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/create

1
Please edit your headline. This place is inappropiate for keywords.Reporter
Some times it is coming ,Version deployed, but there was an error connecting Cloud Endpoints when deploying through admin apiKalyankumar K

1 Answers

-1
votes

See Deploying a Java App.

You may need to convert all of your XML configuration files to YAML files. The "appcfg" utility installs with the App Engine SDK and is probably already on your machine (search for "appcfg.cmd"). This utility will prepare your app properly for upload, including automatically converting your XMLs to YAMLs.

If you don't really need to use the API you can always use "appcfg" followed by a gcloud app deploy command. The gcloud utility is fairly straightforward and tends to get updates quickly.