ukris / typhoonae

Automatically exported from code.google.com/p/typhoonae
0 stars 0 forks source link

Support for multi-tenancy through namespaces API #87

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As of app engines 1.3.6 release the datastore supports namespacing through the 
Namespaces API. 
(http://googleappengine.blogspot.com/2010/08/multi-tenancy-support-high-performa
nce_17.html) Typhoonaes Mongo datastore doesn't implement this API.

Original issue reported on code.google.com by m.e.siersema on 8 Aug 2011 at 2:40

GoogleCodeExporter commented 9 years ago
Thanks for reporting this! Which version of TyphoonAE are you using? 

Original comment by tobias.r...@gmail.com on 10 Aug 2011 at 10:34

GoogleCodeExporter commented 9 years ago
I'm currently using the latest version through the check out. I think it's 
0.2.1.

Original comment by m.e.siersema on 10 Aug 2011 at 11:15

GoogleCodeExporter commented 9 years ago
Pushed an experimental implementation and related tests. See 
http://code.google.com/p/typhoonae/source/detail?r=a263865b2425865a0f95c9ff2fa19
97e57c833fb for details.

Original comment by tobias.r...@gmail.com on 21 Aug 2011 at 12:41

GoogleCodeExporter commented 9 years ago
Pushed another related fix. If you have already used namespaces since the last 
commit (yesterday) your data must be migrated.

Each kind has a collection where the collection name is the kind name plus the 
namespace.

KINDNAME_NAMESPACE (yesterday) -> NAMESPACE.KINDNAME

Original comment by tobias.r...@gmail.com on 22 Aug 2011 at 8:45