Project: usergrid
Issue USERGRID-509: Cardinality of the EntityCollectionManager is incorrect and may need refactored
An entity can only exist in a single scope. However, this makes it impossible to batch fetch entities from multiple scopes in a single network request. This interface needs changed. Our EntityCollectionManagerFactory needs to change to return an EntityCollectionManager by ApplicationScope. Further read/write requests would then need to take an encapsulating CollectionScope. This would allow us to batch write and batch fetch multiple entities across different collections in a single request.
Story points: 5