w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
  Home » GOOGLE APP ENGINE » Page 1
Cloud Endpoints not accepting JSON array
Is that an accurate representation of the JSON object which is being sent over? Because one does not simply send a a POST request with a JSON object of their param object to a cloud endpoint. See here for a thorough guide to Endpoint API interaction from a javascript perspective - notice how the client library exposes an object "gapi" through which calls are made. If you're sending this JSON from

Categories : Google App Engine

Replace datastore for google cloud sql
If you are willing to migrate from Datastore to SQL database. You need to make changes basically at your Database Layer (DAO Layer). Firstly you need to review all the relationships between your entities as in case of SQL and the similar you need. Secondly you need to review all the indexes you have created in your Datastore and put them accordingly in your SQL instance database. Thirdly check

Categories : Google App Engine

Adding a non-domain Member to the Google Developer's Console
To workaround this, you can do the following: Have the domain Administrator for your domain Google Apps Account create a Google Group (say the group name is "GAE"). Have the domain Administrator allow out-of-domain members for the group "GAE". Add the email addresses of out-of-domain members to group "GAE". Add group "GAE" to the project. There will be no confirmation email sent. Once thi

Categories : Google App Engine

using class vs using function with ndb.model? google app engine
There is no way to post a model with a function. The app engine doesn't allow for that. Ndb creates models as classes of Python, not as functions, so the examples you found are actually wrong. This is to add to Greg and dyoo who just said it in comments. I want it posted as an answer. Also interesting is to look at the ndb examples from google, and in no case is it declared as a def.

Categories : Google App Engine

GAE Error 404 after setting redirect www to naked domain on GoDaddy
Finally I found solution how to solve this domain redirecting problem. I came to this help article: Updating Your Domain Name's IP Address for Forwarding from GoDaddy Support, stating that I must update the domain address manually so domain name forwarding services work correctly. But instead of replacing all of the '@' Host in A record into this forwarding address I just need to add a separate

Categories : Google App Engine

Can't upload (deploy) to Google App Engine with app-cfg
You first need to create an application on http://appengine.google.com/. As part of creating the application, you'll choose an application id. After creating the app, edit your app.yaml file and look for the line: application: myapp you the need to replace "myapp" with the application id you chose.

Categories : Google App Engine

Sharing storage among VMs
The account key is the access key for your storage account, which you can find in the management portal: Here's a step-by-step guide to create a new share: http://blogs.technet.com/b/canitpro/archive/2014/09/23/step-by-step-create-a-file-share-in-azure.aspx

Categories : Google App Engine

MetricFilterAutoConfiguration throwing Exception with spring-boot-legacy on Google App Engine
Here is what was causing the issue: compile("org.springframework.boot:spring-boot-starter-actuator:${springBootVersion}") compile files('lib/spring-boot-legacy.jar') Here is what fixes the issue: compile files('lib/spring-boot-legacy.jar') compile("org.springframework.boot:spring-boot-starter-actuator:${springBootVersion}") Unfortunately, I didn't have enough understanding of how everything

Categories : Google App Engine

Can I automate creation of Google Cloud projects?
No. You have to agree to terms and conditions to create a project and this will not be automated. A much better approach is to use namespaces to implement multitenancy.

Categories : Google App Engine

Use custom account instead of service account in Google API
If the "technical user" you are referring to is a @gmail account, then your only option is to do the OAUTH dance once to obtain a oauth token and refresh token. You have to create a "Client ID for web application" to do this. Once you have the auth and refresh token, you can connect as your "technical user" to Google drive. If the "technical user" you are referring to is a Google Apps account, th

Categories : Google App Engine

GAE TaskQueue hitting Endpoints API
In endpoints, HTTP 404 corresponds to com.google.api.server.spi.response.NotFoundException. Is it possible that the method has not been defined in the API class, or that it doesn't have a correct annotation? Also, it doesn't seem like it's hitting http, the trace clearly shows https as the protocol. I think it's only possible to use http on localhost.

Categories : Google App Engine

What're the differences between two SDKs
Google Cloud SDK provides tools to manage and configure your cloud account. In addition, it's bundled with other cloud services SDKs. If you install the Cloud SDK, you don't need to install the App Engine SDK, it's included. On the other hand, you can install the App Engine SDK only without installing the Cloud SDK. So basically if you want some cloud configuration tools + all the SDKs bundled t

Categories : Google App Engine

Populate a local Datastore based on appspot Datastore
Here i found a very good way to take dump of data and populate it , in your local database. http://gbayer.com/big-data/app-engine-datastore-how-to-efficiently-export-your-data/ You have to take the dump , download it , and then read the entities and save them in your local database

Categories : Google App Engine

What is the most efficient way to write 3GB of data to datastore?
If you need to store each row as a separate entity, it does not matter how you create these entities - you can improve the performance by batching your requests, but it won't affect the costs. The costs depend on how many indexed properties you have in each entity. Make sure that you only index the properties that you need to be indexed.

Categories : Google App Engine

Hitting Max number of files and blobs for Google App Engine
Looks like you are hitting this quota: https://cloud.google.com/appengine/docs/quotas#Deployments Could you shift many of your files to Cloud Storage?

Categories : Google App Engine

What is the maximum size of a bucket on Google Cloud Storage? When should I use multiple buckets for one web app?
There's no size limit for a bucket, the only limit you have is 5TB maximum size per uploaded file. You can use multiple buckets not mainly for scalability but for access rights management and to structure your data

Categories : Google App Engine

appcfg.sh update_dispatch stopped working
The API calls being made to admin/push originated from a Push Task Queue, I originally didn't know that I could target a specific module using the queue.xml file and thus I was relying on the dispatch to route the requests to the module. I just started using the "target" field in the queue.xml file to directly target the push notifications module (by-passing the need for the dispatch) and the modu

Categories : Google App Engine

What is the best way (Least Read Operations) to do autocomplete on Google App Engine Using Objectify
The best way to do these kind of operations is use the following approach Use full text search: https://cloud.google.com/appengine/docs/java/search/ When creating a document to search on, you could tokenize the email id. for example if you have foobar@baz.com. you could tokenize it to f, fo, foo, foobar .... and save it into a textfield. then use index.search to query for the results. then ev

Categories : Google App Engine

How to run or deploy an app with a git dependency to a private repo
Update 2 My previous solution is still very inconvenient because I have to check in every time before I re-launch the app. With great support I found a much more convenient solution. Instead of an symlink I mount the directory. See http://superuser.com/questions/842642 for more details. I don't know if and how this can work on other oSes (Win, OX X, ...) I mount ../my_package to docker/my_packa

Categories : Google App Engine

Cloud Datastore API - php - GqlQuery - Binding args
Cloud Datastore GQL and Python GQL (App Engine) handle argument binding slightly differently. In this case, you need to use a @ instead of a :, for instance: SELECT * FROM kind WHERE fieldName = @fieldName LIMIT 1 or SELECT * FROM kind WHERE fieldName = @1 LIMIT 1 Here's the reference documentation for argument binding in Cloud Datastore GQL.

Categories : Google App Engine

Using Persistence APIs with Cloud SQL
As per the definition, A persistence unit defines a set of all entity classes that are managed by EntityManager instances in an application. Please refer to the following link for more details. Now, once your application is built and since this is a web application, as per the link above "If you package the persistence unit as a set of classes in a WAR file, persistence.xml should be located in

Categories : Google App Engine

How to use CNAME to properly redirect subdomain from host to Google Cloud
To use your bucket as a static site you need to configure it first using gsutil: https://cloud.google.com/storage/docs/website-configuration You probably need to upload an index.html and 404.html to your bucket and then run this: gsutil web set -m index.html -e 404.html gs://clouddemo.camerontaylor94.com

Categories : Google App Engine

Specify zone/region in gcloud preview app deploy
Currently, the European offering for the App Engine is limited. If you have a Premier account, you can set the location from the console. If not, you have to fill out a request form to have your app hosted in Europe. There are other conditions such as having billing enabled. More info: Server Location

Categories : Google App Engine

How to load seed data into app engine's datastore using golang?
So, to begin, I'll gently remind you that there are no "tables" in Datastore. Thinking using the terms of the RDBMS world will only confuse you. Please take the time to really understand the underlying storage mechanisms and data structures. I'd recommend this video for an in-depth look at what Datastore actually is. So to get to your actual use-case, "application restart" is also something of a

Categories : Google App Engine

App Engine and creating a private cache (java)
I am assuming this is for google app engine - python. Yes. We are using cachepy currently in production with a decent success. https://code.google.com/p/cachepy/ Note that this is an instance specific cache mechanism. So you could use cachepy to cache it per-instance and also to memcache as a fallback before persiting to the datastore. So when a cache miss happens on cachepy you can look up a

Categories : Google App Engine

Share google cloud storage among multiple google app engine applications without much settings
Your app engine apps are running as a special "service account" associated with their projects. That account can be granted permissions just like any other. If you grant all of the service accounts full control of all of the buckets and objects, they will be able to use those buckets just as if they are the owners. To find the service account, go to the app engine console and choose the "applicat

Categories : Google App Engine

I m not able to insert events into the Google calendar API ?
Insufficient Permission error is thrown when the authenticated user does not have sufficient permissions to execute this request. When I looked at the code, I see the line // private static Set SCOPES = Collections.singleton(PlusScopes.PLUS_ME); is commented out. When you are trying to add the calendar events, there should be scopes with WRITE authorization to the users profile in the code. Yo

Categories : Google App Engine

Go, Google Cloud Appengine local package
When you deploy your application, the goapp tool will bundle all the dependencies from your local GOPATH. If the app runs with your local GOPATH with goapp serve, it should run on appengine without additional work. See here for more information: https://blog.golang.org/the-app-engine-sdk-and-workspaces-gopath

Categories : Google App Engine

Is it possible to prohibit the use of SSL Version 3.0 on Google App Engine?
It seems the Google security team has already taken the necessary steps. According to their recent security bulletin, App Engine, Cloud Storage, BigQuery, and CloudSQL customers do not need to take any actions. Google’s servers have been updated and are protected from this vulnerability. Customers of Compute Engine need to update their OS images. I am not sure exactly what that means, but

Categories : Google App Engine

gcloud deploy error: Image with tag google/docker-registry was not found
You need to pull the google/docker-registry image to resolve this error: docker pull google/docker-registry Note: if you receive the following error when trying to redeploy: docker.docker.errors.APIError: 500 Server Error: Internal Server Error ("Invalid registry endpoint https://192.168.59.103:49153/v1/: Get https://192.168.59.103:49153/v1/_ping: EOF. If this private registry supports only HT

Categories : Google App Engine

_ah_SESSION does not show up even with proper configuration
If in your tests you delete _ah_SESSION from the datastore it might still exist in memcache. Two ways to make _ah_SESSION reappear: 1) Delete the JSESSIONID cookie and reload your page. This will create a new _ah_SESSION entry immediately albeit for a new session. 2) Clear memcache (this addresses the issue more directly): You can flush the memcache from the old appengine console at https://a

Categories : Google App Engine

How can I address the 10GB limit on Google App Engine?
File a feature request: https://code.google.com/p/googleappengine/wiki/FilingIssues?tm=3 There was this filed too so maybe star it: https://code.google.com/p/googleappengine/issues/detail?id=10667

Categories : Google App Engine

No instances in app engine admin console
I was planning to deploy a managed VM with custom runtime and was watching this Google I/O bytes video and it seems it's expected. The manged vms with custom runtimes will show under Compute Engine on your developer console (4:35 in this video). You will be able to manage your App through App Engine on developer console.

Categories : Google App Engine

Trying to upload a file into google app engine using Blob
I don't think there are any ways to convert a file directly on the server. But to store and retrieve, you might want to take a look into the Google Cloud Storage client library (and the one from Python, if needed). These might help as well (Java and Python). From there you can easily save a file, then retrieve it. Once you retrieve it, do your conversion to pdf and voila!

Categories : Google App Engine

Will apache mahout or other recommendation system work on google app engine
Apache Mahout integrates nicely with platforms such as Hadoop for distributed processing of the data. However, most of the algorithms are designed to work standalone as well. You should be able to run them within App Engine without an issue. For scalability though, I would consider switching to Hadoop.

Categories : Google App Engine

How can I debug a Dart AppEngine app
Update 2015-02-27 The app can be run without Docker and then be debugged like any Dart command line application: Source. https://groups.google.com/a/dartlang.org/d/msg/cloud/zrxgOHFz_lA/q5CdLLQPBAgJ The API server is part of the App Engine SDK, and we are using it for running tests in the appengine package. If you look at https://github.com/dart-lang/appengine/blob/master/tool/run_tests.s

Categories : Google App Engine

Giving access to others on new GAE console
I found the issue! If you add a new project via appengine.google.com (old way) the application won't show up under Compute/App Engnie section of console.developers.google.com as simple as that. The proper way to get all functionality is to add the new project using the console and then use the permission to add others. It's strange and I couldn't find any documentation that explains it but I've

Categories : Google App Engine

email accounts with appengine domain
This isn't really a programming question, you need to look at Google Apps. However, you can receive emails on your custom domain through App Engine if you want to handle them programmatically.

Categories : Google App Engine

Is there any size limit on ndb.JsonProperty?
While I'm not sure what the exact limit (if there is any) the ndb.JsonProperty values are stored as Blobs, which means they can store a lot of properties. Practically though you might run into other problems processing millions of values. I would suggest you to try with some test data with hundreds and move on steadily to thousands or even millions.

Categories : Google App Engine




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.