While you could use namespaces 
<https://cloud.google.com/appengine/docs/java/multitenancy/multitenancy> to 
achieve this, you need to consider what it means to have two 'environments' 
running together, and what are the consequences of mistakes.

Generally we've found the simplest option is to have extra cloud projects 
for extra environments, which is usually very cheap/free assuming you 
aren't simulating real loads constantly. Obviously there are some drawbacks 
to this, such as ease of code promotion, but if you're using other services 
in google cloud, they aren't intrinsically namespace aware, so you need to 
be careful.

On Monday, April 11, 2016 at 11:20:34 PM UTC+10, youssef dehbi alaoui wrote:
>
> hi everyone i need in my application two types of data (but same 
> entities), one for testing and the other for production... so i'm wondering 
> if there is a solution to make a difference between these two types like 
> having two datastores???? 
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b51ace6a-b8c5-4404-97eb-6793408f4027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to