13 Commits

Author SHA1 Message Date
Stefan Martinov
255eb633ef chore: fix missing mgo dependency 2019-07-02 13:10:35 +02:00
Stefan Martinov
05cf6a76fc feat: refactor collection with scope 2019-07-02 13:02:35 +02:00
de2dfdb28c Added metrics for session acquisition, switched from Clone to Copy for standard sessions, updated glide deps 2019-07-02 12:41:32 +02:00
Frederik Löffert
5d21f3a2d0 EnsureIndexes on mongo persistor 2018-07-25 21:28:45 +02:00
Frederik Löffert
620e065857 ensure indices on order, customer and price rule collections when getting a mongo persistor 2018-07-09 17:40:12 +02:00
Stefan Martinov
97afc4d1a2 Update integration tests to function correctly 2017-11-08 13:55:39 +01:00
Stefan Martinov
370ecebd7d Remove persistor test 2017-11-07 13:23:23 +01:00
Stefan Martinov
46ca019639 Update persistence handling with collection pooling capabilities 2017-11-07 11:57:14 +01:00
Florian Schlegel
e8935ddff9 implemented NewPersistorWithIndex() and test 2017-02-14 11:23:11 +01:00
Florian Schlegel
d4be0ab6a4 removed prints 2016-11-24 17:33:28 +01:00
Florian Schlegel
d39d78fe07 added API for persistor to lock/unlock database 2016-06-29 15:25:39 +02:00
Florian Schlegel
ae21a4a7f5 some cleanups 2016-05-27 14:39:46 +02:00
Florian Schlegel
6f0117f62d Big refactoring to make customer independant from order. Introduced Getters and Setters for Order and Customer for more controlled acces. Unfortunatly it's impossible to protect any fields from unwanted modifications by private fields, because only public fields can be stored in the db. 2016-05-18 18:31:20 +02:00