Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.0] Replace doctrine/mongodb for mongodb/mongodb and ext-mongodb #1553

Merged
merged 74 commits into from
Dec 22, 2017
Merged
Changes from 1 commit
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
3f23381
Require mongodb/mongodb
alcaeus Nov 3, 2016
dde4542
Replace MongoId with MongoDB\BSON\ObjectId
alcaeus Dec 12, 2016
567bb75
Replace MongoDate with MongoDB\BSON\UTCDateTime
alcaeus Dec 13, 2016
bac4c99
Replace MongoCode with MongoDB\BSON\JavaScript
alcaeus Dec 23, 2016
b5a9253
Replace MongoBinData with MongoDB\BSON\Binary
alcaeus Dec 23, 2016
4069201
Remove other legacy types
alcaeus Dec 23, 2016
7158b08
Start replacing classes with new driver/library
alcaeus Jan 4, 2017
ea6d07a
Initial work on fixing cursor logic
alcaeus Jan 5, 2017
d848d2d
Use temporary version of doctrine/mongodb for transition
alcaeus Jan 5, 2017
2184620
Allow now passing metadata to cursors
alcaeus Jan 5, 2017
ee13f34
Use typemap (might be removed later)
alcaeus Jan 5, 2017
1aa542e
Various driver fixes
alcaeus Jan 5, 2017
9faf293
Fix cursor hydration
alcaeus Jan 10, 2017
224ddca
Replace MongoTimestamp with MongoDB\BSON\Timestamp
alcaeus Jan 13, 2017
7d10d0f
Fix KeyType
alcaeus Jan 11, 2017
918506b
Fix errors in DateTypeTest
alcaeus Jan 11, 2017
ea476a4
Fix DocumentPersister
alcaeus Jan 11, 2017
90375b9
Remove mongo-php-adapter from travis.yml
alcaeus Jan 11, 2017
7d6b114
Fix findAndUpdate in IncrementGenerator
alcaeus Jan 11, 2017
43fab5a
Fix test errors
alcaeus Jan 11, 2017
d561d0e
Check for valid MongoID
alcaeus Jan 11, 2017
b6c178e
Fix persisters
alcaeus Jan 11, 2017
07475b2
Fix index creation
alcaeus Jan 11, 2017
ed2f8fb
Fix wrong method call
alcaeus Jan 11, 2017
6023b9d
Fix wrong exception class
alcaeus Jan 11, 2017
88c345c
Fix tests
alcaeus Jan 11, 2017
ff641d3
Extract sort preparation to its own method
alcaeus Jan 12, 2017
1517b10
More persister test fixes
alcaeus Jan 12, 2017
4c587bd
Don't optimize counting of inverse PersistentCollections
alcaeus Dec 1, 2017
439238a
Remove obsolete classes
alcaeus Jan 13, 2017
2ba0f76
Fix errors in tests
alcaeus Jan 13, 2017
64c957e
Fix sort in owning side collections
alcaeus Jan 13, 2017
d6a2de3
Fix reference tests
alcaeus Jan 13, 2017
4d9a143
Disable sort options when using repositoryMethod for inverse references
alcaeus Jan 14, 2017
6f0e0e5
Fix handling of version locks
alcaeus Jan 14, 2017
42c96ae
Fix failing tests
alcaeus Jan 17, 2017
67bde56
Fix calls in sharding methods
alcaeus Jan 18, 2017
4962116
Fix index handling in SchemaManager
alcaeus Jan 18, 2017
0707672
Fix read preference
alcaeus Jan 18, 2017
1a993b6
Remove slaveOkay tests
alcaeus Jan 18, 2017
995e461
Fix sharding command in SchemaManager
alcaeus Jan 19, 2017
161ae11
Fix readPreference tests
alcaeus Jan 19, 2017
44b9ffb
Catch correct execption in DocumentPersister
alcaeus Jan 19, 2017
c542c79
Remove all traces of GridFS
alcaeus Feb 6, 2017
734d035
Clean up handling of readPreference hints
alcaeus Feb 6, 2017
7f5625e
Fix wrong UUID format
alcaeus Nov 3, 2017
cb4962e
Fix read preference handling
alcaeus Nov 3, 2017
b32d70f
First run of slicing out doctrine/mongodb
alcaeus Nov 15, 2017
975d5b2
Pull in query expression logic from doctrine/mongodb
alcaeus Nov 15, 2017
f14d112
Pull in query builder logic from doctrine/mongodb
alcaeus Nov 15, 2017
11f1308
Pull in query logic from doctrine/mongodb
alcaeus Nov 16, 2017
54b5a43
Fix date conversion tests
alcaeus Nov 16, 2017
6c35aa8
Pull in aggregation expression logic from doctrine/mongodb
alcaeus Nov 16, 2017
5a4885d
Pull in aggregation builder logic from doctrine/mongodb
alcaeus Nov 16, 2017
db7b46c
Pull in operator aggregation stage logic from doctrine/mongodb
alcaeus Nov 17, 2017
8a94aae
Pull in aggregation stage logic from doctrine/mongodb
alcaeus Nov 17, 2017
4dbd845
Drop dependency on doctrine/mongodb
alcaeus Nov 17, 2017
0ce3f0d
Replace removed update method in tests
alcaeus Nov 22, 2017
a0e0a9f
Remove tests for deprecated features
alcaeus Nov 22, 2017
f8dc4a6
Remove useless skip clauses in tests
alcaeus Nov 22, 2017
2cbbcfc
Add new iterators for query results
alcaeus Nov 23, 2017
81f97c2
Remove ODM cursor implementation
alcaeus Nov 24, 2017
8d3e54a
Clean up usages of getSingleResult
alcaeus Nov 27, 2017
ae775e7
Fix read preference tests
alcaeus Nov 27, 2017
7cb356f
Fix reference primer test
alcaeus Nov 27, 2017
0e95e92
Skip repositoryMethod primer test until we've figured out repositoryM…
alcaeus Nov 27, 2017
bd69da0
Fix handling of "already sharded" exceptions in SchemaManager
alcaeus Nov 27, 2017
3dfe339
Drop safe option for index creation
alcaeus Nov 28, 2017
a052efd
Skip failing sharding tests
alcaeus Nov 28, 2017
b66ec62
Enable reference priming when using repository methods
alcaeus Dec 1, 2017
a71e02d
Fix failing tests related to persistent collections
alcaeus Dec 1, 2017
5b7d05b
Set timezone when creating DateTime from UTCDateTime
alcaeus Dec 1, 2017
0323fb1
Remove geoNear command completely
alcaeus Dec 20, 2017
ff07011
Unskip tests in SchemaManager
alcaeus Dec 20, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Skip failing sharding tests
The tests currently fail because of a missing feature in ext-mongodb. Skipping the tests is the best way to solve this for now.
  • Loading branch information
alcaeus committed Dec 20, 2017
commit a052efd26bd6ec8527e4874be7322e18c74ac13f
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public function testEnsureShardingForNewCollection()

public function testEnsureShardingForCollectionWithDocuments()
{
$this->markTestSkipped('Test does not pass due to https://github.com/mongodb/mongo-php-driver/issues/296');
$class = \Documents\Sharded\ShardedOne::class;
$collection = $this->dm->getDocumentCollection($class);
$doc = array('title' => 'hey', 'k' => 'hi');
Expand Down Expand Up @@ -63,6 +64,7 @@ public function testEnsureShardingForCollectionWithShardingEnabled()

public function testEnsureShardingForCollectionWithData()
{
$this->markTestSkipped('Test does not pass due to https://github.com/mongodb/mongo-php-driver/issues/296');
$document = new \Documents\Sharded\ShardedOne();
$this->dm->persist($document);
$this->dm->flush();
Expand Down