Questions tagged [gae-module]

The GAE module enables Google App Engine support for your application. It wraps commons GAE services in play basic services whenever possible.

App Engine Modules (or just "Modules" hereafter) let developers factor large applications into logical components that can share stateful services and communicate in a secure fashion. A deployed module behaves like a microservice. By using multiple modules you can deploy your app as a set of microservices, which is a popular design pattern.

For example, an app that handles customer requests might include separate modules to handle other tasks, such as:

  • API requests from mobile devices
  • Internal, admin-like requests
  • Backend processing such as billing pipelines and data analysis
85 questions
2
votes
2 answers

import & structure python modules / classes

im working on some basic python stuff within the google app engine and I was unable to figure out the correct way to structure my handlers. /main.py /project/handlers/__init__.py /project/handlers/AccountHandler.py the AccountHandler is basically…
magegu
  • 500
  • 3
  • 18
2
votes
3 answers

Change backend instance class programmatically on Google App Engine

I am using backend instances for an Google App Engine project. (Frontend instances can't handle requests longer than 60 seconds — I need longer time.) I chose B4 instance type because sometimes the load is high. However, on certain times (let's say…
Randy Sugianto 'Yuku'
  • 64,635
  • 54
  • 168
  • 216
2
votes
3 answers

GAE import endpoints "No module named endpoints"

I'm using pycharm to develop appengine. Now i'm trying to use endpoints and I've put libraries: - name: pycrypto version: latest - name: endpoints version: 1.0 and then in main.py import endpoints But it gives me error No module named…
andiwin
  • 1,162
  • 3
  • 11
  • 24
2
votes
3 answers

Converting a simple AppEngine Java project to use modules

This question is similar to this one, but that did not solve my problem. I have a very simple Google AppEngine / Java application. It has been running since 2011, and does not use maven or other fancy stuff that I don't think I need. Recently, I…
2
votes
1 answer

Share python package between appengine modules

I have 3 appengine modules lets say modA (default module-contains app.yaml), modB and modC, which share datastore entities and some utility functions and external libs in an 'common' directory as shown in the below: - modA - app.yaml -…
sshntt
  • 191
  • 1
  • 12
2
votes
1 answer

How can a Java program tell which "backend" it is when using AppEngine Modules?

It used to be that a Java program running on AppEngine could tell what backend it was by calling: BackendService backendservice = BackendServiceFactory.getBackendService(); String currentbackend = backendservice.getCurrentBackend(); The…
Brian White
  • 7,745
  • 2
  • 37
  • 63
2
votes
2 answers

How to handle common classes in App Engine Modules Java in different Modules?

Currently I am working on Google App Engine Modules. I am referring to the documentation I am confused as how to handle model classes or common classes. Previously I was using back-end in that all code was kept in the project but now with modules I…
yogesh
  • 443
  • 6
  • 15
2
votes
1 answer

Python sys.path.append with modules shadowing each other

I am trying to import module named "google" from a custom folder (inside google_appengine folder). import sys sys.path.append("/home/sashko/WebProgramming/google_appengine") import google.appengine.api But there is already a module named "google"…
Sashko Lykhenko
  • 1,262
  • 3
  • 15
  • 33
2
votes
0 answers

Clarification about Converting Appengine Backends to Modules

i got a basic doubt about backends, since backends are deprecated, google is recommending us to move to modules, however, Previously backends and frontends can run on same project (same code), whereas modules needs seperate application for each…
2
votes
1 answer

Appengine Modules Maven Error during DevSever Goal Run

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…
2
votes
0 answers

unable to call an appengine module service

I have a simple appengine application with two modules (default, and module - I know it is not a great name for a module...). If I understood the naming convention I should be able to address services exposed on the 'module' module with the…
2
votes
3 answers

Starting app engine modules in Google App Engine

App engine "modules" are a new (and experimental, and confusingly-named) feature in App Engine: https://developers.google.com/appengine/docs/python/modules. Developers are being urged to convert use of the "backends" feature to use of this new…
Jeremy
  • 1,010
  • 1
  • 12
  • 26
1
vote
2 answers

How to update file when hosting in Google App Engine?

I have node js server service running on a Google Cloud App Engine. I have JSON file in the assets folder of the project that needs to update by the process. I was able to read the file and configs inside the file. But when adding the file getting…
LReddy
  • 77
  • 14
1
vote
3 answers

How to make a service discovery for Google App Engine? How to get service URL?

I want to get URL's of services for particular project, how can I do this? I need URL's like .appspot.com I tried App Engine Admin api, but it can only provide names of the services.
1
vote
1 answer

Google App Engine Flex Health Checks on Docker Containers

So I'm working on GAE Flex for my Craft CMS app. I'm using nginx and a mysql_tunnel on supervisor for this services. I'm trying to configure the Health Checks Google offers to make sure that the services are up, but for some reason it is not…