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
86 questions
2
votes
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.
2
votes
3 answers

App Engine - subdomain pointing to particular service

I have two subdomains registered in my App Engine application: service-a.my-app.com service-b.my-app.com I have added all the records (CNAME, A) on the server. I have three services in my GAE: default service-a service-b And I want each…
jrfoehn
  • 67
  • 7
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
  • 530
  • 4
  • 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'
  • 71,383
  • 57
  • 178
  • 228
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,552
  • 3
  • 14
  • 27
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

Pycharm multiple modules Run server

I'm trying to use multiple modules in google app engine. i try using this source code: https://github.com/GoogleCloudPlatform/appengine-modules-helloworld-python but i cant seem to find a way to run from pycharm with all the .yaml loaded, so only…
etlsh
  • 701
  • 1
  • 8
  • 18
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
  • 13
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
  • 8,332
  • 2
  • 43
  • 67
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
  • 463
  • 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,554
  • 4
  • 20
  • 36
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,049
  • 1
  • 15
  • 28