app-engine-modules

Converting App Engine frontend versions to modules

喜你入骨 提交于 2019-12-12 03:44:17
问题 I've slightly "abused" the front-end "version" concept in App Engine (java), to implement modules before they were introduced. I have a configuration consisting of: module1-dot-myapp.appspot.com, module2-dot-myapp.appspot.com, module3-dot-myapp.appspot.com, etc., based on the version concept (more commonly used with numbers: 1-dot-myapp, etc.). Specifically, the code in all versions is identical, but each is practically used for different purposes. This separation allows different clients to

Choosing specific ports on local development server for non-default modules

这一生的挚爱 提交于 2019-12-07 10:47:22
问题 In my build.gradle file, I use the following config for my non-default (module2) AppEngine gradle module: appengine { downloadSdk = true httpAddress = "0.0.0.0" httpPort = 8081 appcfg { email = "blahemail@domain.com" oauth2 = true } } However, when I run my "Google AppEngine configuration", the module still starts on some_random_port instead of on 8081. I want to fix the ports that these run on, so I can rely on those ports when I run test requests on my local development server. What am I

Appengine modules dispatch.xml routing with custom domain

不羁岁月 提交于 2019-12-06 15:04:23
问题 I have someone got appengine modules working. i have two modules, app and auth . i have a custom domain say domain.com , i want to route app.domain.com to app module, and auth.domain.com to auth modules, following is my dispatch.xml file, <dispatch> <!-- Default module serves simple hostname request. --> <url>*/favicon.ico</url> <module>default</module> </dispatch> <dispatch> <!-- Auth Service to auth module --> <url>auth./*</url> <module>auth</module> </dispatch> <dispatch> <!-- Default

Appengine Modules Maven Error during DevSever Goal Run

两盒软妹~` 提交于 2019-12-06 11:54:13
问题 i have been trying to run a new project with modules support, but am getting following error all the time, unable to debug it, com.google.apphosting.utils.config.EarHelper reportConfigException [INFO] INFO: Application directory 'path-to-project/DemoEar-1.0.0-SNAPSHOT/DemoWarApp' must exist and be a directory. my module structure is below main application.xml contains <module> <web> <web-uri>DemoWarApp</web-uri> <context-root>DemoWarApp</context-root> </web> </module> its clearly not pointing

Appengine Modules Maven Error during DevSever Goal Run

空扰寡人 提交于 2019-12-04 16:34:45
i have been trying to run a new project with modules support, but am getting following error all the time, unable to debug it, com.google.apphosting.utils.config.EarHelper reportConfigException [INFO] INFO: Application directory 'path-to-project/DemoEar-1.0.0-SNAPSHOT/DemoWarApp' must exist and be a directory. my module structure is below main application.xml contains <module> <web> <web-uri>DemoWarApp</web-uri> <context-root>DemoWarApp</context-root> </web> </module> its clearly not pointing to the proper war folder path. does anyone know how to fix it? Thanks The bundle folder that is

Is it possible to use appengine modules and and cloud endpoints?

余生长醉 提交于 2019-12-04 05:23:01
问题 Using appengine modules implies creating dynamic web application instead of the usual appengine web application project. Cloud endpoints work well with the usual appengine Web Application projects, but these do not support appengine modules. The problem is that if I try to generate cloud endpoint client library on a Dynamic Web Application, I get an error "Not an App Engine project". Is there any way to get a Dynamic Web Application to be recognized as an App Engine project so that cloud

How to use Modules in Google App Engine and add a target to them using Task Queue (Java)?

大城市里の小女人 提交于 2019-12-02 02:40:18
问题 I have a task that exceeds more than 10 minutes deadline of the Task Queue. Going through different documentations, I found that using modules I could run an instance that would process the long running task but preferably even that should be done using the task queue. I had used backends but they are deprecated. My question is how do I introduce Modules into my existing App Engine Project and how do I use them to run long-running tasks? Following is the piece of code : Queue queue =

How to use Modules in Google App Engine and add a target to them using Task Queue (Java)?

拟墨画扇 提交于 2019-12-01 23:35:12
I have a task that exceeds more than 10 minutes deadline of the Task Queue. Going through different documentations, I found that using modules I could run an instance that would process the long running task but preferably even that should be done using the task queue. I had used backends but they are deprecated. My question is how do I introduce Modules into my existing App Engine Project and how do I use them to run long-running tasks? Following is the piece of code : Queue queue = QueueFactory.getQueue("myqueue"); TaskOptions task = TaskOptions.Builder.withUrl("/submitworker").method(Method