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
0
votes
1 answer

Google App Engine Java Logging, specifically Slf4j

I have seen this question asked around before and Can't seem to find a solid solution to it. As of now, Google App Engine does not support subclasses of java.util.logging.Logger. I have some code in a java endpoint that is using the Base CRM API…
Nicholas Pesa
  • 1,906
  • 2
  • 22
  • 37
0
votes
1 answer

Communication methods between two GAE services in the same project

On Google App Engine, when a project has more than one service and these services in the same project need to communicate to one another, is there any way to send a message to another service for calling function apart from using URLFetch api?
Ook
  • 645
  • 1
  • 5
  • 20
0
votes
1 answer

How to get current num of google app engine instances?

In case of auto scaling, how to get current num of google app engine instances? Please teach me it.
Morita
  • 3
  • 3
0
votes
1 answer

Base Directory for a module in App Engine yaml file

I started working with App Engine today and I am trying to find a way to set a root folder for each of my modules/services. Example: Folder Structure /mod1/* /mod2/* dispatch.yaml app.yaml mod1.yaml mod2.yaml Is it possible to set the base…
Syclone
  • 799
  • 9
  • 12
0
votes
0 answers

google app engine URLFetchTransport error while uploading file

During image upload, I'm using below method getBlobKey to get BlobKey for image and saving it's detail in database. private BlobKey getBlobKey(byte[] data, String fileName) { System.out.println("Inside getBlobKey...."); GcsService…
Santosh Giri
  • 99
  • 10
0
votes
1 answer

App Engine Module Logs Blank

I have a module in app engine configured like this: application: app_name_goes_here module: static-backend version: uno runtime: python27 api_version: 1 threadsafe: true instance_class: B2 basic_scaling: max_instances: 10 idle_timeout:…
Shaun
  • 1,523
  • 2
  • 15
  • 31
0
votes
0 answers

GAE modules.get_current_version_name() raises KeyError Exception

I have a google app engine application with 2 versions (master & staging) that both run on the same datastore but have different codebases. According to my stackoverflow searches and the gae python docs the function…
RobbyD
  • 465
  • 3
  • 10
0
votes
2 answers

Google App Engine Module Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > java.io.IOException: Failed to delete

Trying to compile my android app with google app engine module but the darn thing won't work. It WAS working before but for some reason after I cleared my Android Studio cache and restarted, it stopped compiling. Here is the error I…
0
votes
1 answer

How to force non-default GAE module to update to new version?

So I have the recommended setup for smaller projects, where you have multiple module YAML files all in the main file, all sharing source. Like here: https://cloud.google.com/appengine/docs/python/modules/#devserver I only have 2 modules: the default…
joe norton
  • 127
  • 7
0
votes
1 answer

Converting App Engine frontend versions to modules

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,…
DannyA
  • 1,551
  • 2
  • 16
  • 25
0
votes
2 answers

Google App Engine module and custom domain

I'm trying to assign custom domain to App Engine module. At the moment I have staging.example.com pointed to app-id.appspot.com and that works correctly but I also want to assign api.staging.example.com to api.app-id.appspot.com. I've created CNAME…
eshlox
  • 736
  • 1
  • 10
  • 21
0
votes
1 answer

App Engine Modules Project using maven and Java

I want to create an App Engine Modules project using maven in Java basically for frontend and backend instance. For that I don't have any idea of module project structure as well as archetype of the module app engine project.
0
votes
1 answer

dispatch.yaml not always routing Deferred Task Queues to correct module

I have a dispatch.yaml file that is supposed to route deferred Task Queue requests on the /_ah/queue/deferred path to a module instance with more memory. However, the requests are not consistently being routed. See this doc page for a primer on…
speedplane
  • 14,130
  • 14
  • 78
  • 128
0
votes
1 answer

Tasks & Modules - Google API php - Alternatives?

I have an application written in php. Until now, it hasn't been easy but it does the job. But now I have a problem: my script might need more than 10 mins to complete. At the begining I was stuck with the 60 secs limit. Then I learned about "Tasks…
0
votes
2 answers

How to set targeted Modules for specific URL in AppEngine + Java

In Backends base app engine project(Java) i was doing Queue queue = QueueFactory.getQueue("userou-queue"); TaskOptions objTskOptions = TaskOptions.Builder.withUrl("/backendsURL/") .countdownMillis(2000) .header("Host",…
yogesh
  • 443
  • 6
  • 15