I have application which is developed in Play framework 1.x and running on Google app engine Standard Environment. And below is the way I am deploying the application GAE. Command- play gae:deploy But this command internally calling "appcfg" from GAE Cloud SDK.
So now I have to change my deployment procedure.I have tried to deploy using Cloud SDK as recommended by Google Document.The base command which - "gcloud app deploy".
I have checked the Google Cloud documentation And found that they are recommend to use Java11 for GAE standard Environment with app.yaml file.
But I want to use Java8 only as of now for GAE standard env.
But while deploying its giving warning as below-
WARNING: Automatic app detection is deprecated and will soon be removed. As an a lternative, create an app.yaml file yourself using the directions at https://clo ud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yaml (App Engine Flexible Environment) or https://cloud.google.com/appengine/docs/sta ndard/python/config/appref (App Engine Standard Environment) under the tab for y our language. Deployment to Google App Engine requires an app.yaml file. This command will run
gcloud beta app gen-config
to generate an app.yaml file for you in the current directory (if the current directory does not contain an App Engine service, please answer "no").
If I have to build app.yaml file for my java based GAE standard application what will be the structure for that?
If app.yaml file is not possible for java8 GAE application what will be the structure of appengine-web.xml for deploying this application using command
"gcloud app deploy"
There is one more alternative is ,I should migrate the application maven based application. But right now I don't want to migrate to maven tool.