Commit Graph

3944 Commits

Author SHA1 Message Date
Hannes Magnusson
265b50f3ea Remove useless stuff 2014-12-18 18:30:06 -08:00
Hannes Magnusson
8fe3392e4e Workaround https://github.com/10gen/mongo-orchestration/issues/154 2014-12-18 18:29:17 -08:00
Hannes Magnusson
feff9c4e41 PHPC-31: Implement PLAIN authentication via PHP streams 2014-12-18 18:07:12 -08:00
Hannes Magnusson
dbfe578951 PHPC-31: Test for PLAIN authentication mechanism 2014-12-18 18:04:29 -08:00
Hannes Magnusson
e2b0f5cfe9 PHPC-45: Orchestrate LDAP/PLAIN servers 2014-12-18 18:04:00 -08:00
Hannes Magnusson
f1f160caa6 PHPC-45: Orchestarte PLAIN/LDAP authentication mechanism 2014-12-18 18:02:36 -08:00
Hannes Magnusson
337d1849f2 PHPC-103: Virtualize OpenLDAP server using CentOS 2014-12-18 18:00:35 -08:00
Hannes Magnusson
01d4f92313 Reorganize Vagrantfile to make room for more images 2014-12-18 18:00:17 -08:00
Hannes Magnusson
d32f0083cb PHPC-2: Persist connection by the dsn 2014-12-18 17:46:47 -08:00
Hannes Magnusson
95774b10d2 PHPC-101: throw MongoDB\DuplicateKeyException 2014-12-18 17:39:23 -08:00
Hannes Magnusson
499dc0e39d Enable test and fixit 2014-12-18 17:31:37 -08:00
Hannes Magnusson
0ba852057e PHON-85: Improve test
- Add certificate expiry example
- Make sure we can fix the error and reconnect
2014-12-17 13:10:11 -08:00
Hannes Magnusson
a940ebbf58 ignore ctags and local vimrc 2014-12-17 12:49:37 -08:00
Hannes Magnusson
ffa8006bce PHON-99: Add & Implement SSLConnectionException 2014-12-17 11:52:39 -08:00
Hannes Magnusson
c4b2651897 PHON-31: Add stream context options 2014-12-17 11:52:39 -08:00
Hannes Magnusson
390ef25949 PHON-100: Implement connectiontimeoutms 2014-12-17 11:51:57 -08:00
Hannes Magnusson
0bfb534c66 PHON-31: Do not overload the stream_initiator with tsrm, we want it for stream context later 2014-12-17 11:51:53 -08:00
Hannes Magnusson
2aa41c0eaa PHON-98: Implement and properly throw MongoDB\ConnectionException 2014-12-17 11:47:41 -08:00
Hannes Magnusson
1606f518d4 PHON-97: Add MongoDB\RuntimeException
This exception extends SPL RuntimeException - and implements
MongoDB\Exception

This makes it easy to catch "all MongoDB exceptions" and/or
RuntimeExceptions
2014-12-17 11:22:40 -08:00
Hannes Magnusson
f1031fe246 PHON-96: Create MongoDB\Exception interface 2014-12-17 11:20:58 -08:00
Hannes Magnusson
6919b41267 PHON-22: New test to verify standard authentication
Note that there is a bug in Mongo Orchestration preventing this test
from working properly as the user cannot be created (no "localhost
exception")
2014-12-16 16:42:38 -08:00
Hannes Magnusson
a07af2f9b7 PHON-23: Add test for connecting to SSL server 2014-12-16 16:42:04 -08:00
Hannes Magnusson
abaed98f61 PHON-6: Split normal SSL and X509 servers 2014-12-16 16:37:32 -08:00
Hannes Magnusson
40799e5ef6 PHON-3: Orchestrate standard authentication 2014-12-16 15:43:41 -08:00
Hannes Magnusson
3b06147a8f PHON-6: Orchestrate SSL and X509 2014-12-16 15:43:00 -08:00
Hannes Magnusson
d0079711d0 PHON-7: Trivial Monog Orchestration abstraction
->start("preset.json") # See scripts/presets/
->getURI("preset.json") # Get the MONGODB_URI
->stopAll() # Stops all running mongods
->stopId("SERVER-ID") # The 'id' key in preset.json
2014-12-16 15:42:22 -08:00
Hannes Magnusson
23bc48ce48 exit on failure - and include a greppable error
Makes it easier to run the phpt directly
2014-12-16 15:38:51 -08:00
Hannes Magnusson
43fdeef071 PHON-92: Create standalone MongoDB server 2014-12-16 15:38:06 -08:00
Hannes Magnusson
45f343e21e PHONG-91: Yes to all questions when installing mongodb 2014-12-16 13:18:20 -08:00
Hannes Magnusson
da8cb0bd3a PHON-91: Use the vm by default, allow it to be overridden by the environment variable 2014-12-16 13:12:31 -08:00
Hannes Magnusson
795d061014 PHON-5: Whopsy, missing file for startting servers hidden by gitignore 2014-12-16 12:58:40 -08:00
Hannes Magnusson
7c5d150d50 PHON-91: Use Vagrant to virtualise mongod 2014-12-16 12:09:28 -08:00
Hannes Magnusson
b55ab728a9 return true on success 2014-12-16 12:09:28 -08:00
Hannes Magnusson
a541690559 Use the MONGODB_URI constant 2014-12-16 12:09:28 -08:00
Hannes Magnusson
2d88ca250f PHON-5: Use Mongo Orchestration to manage MongoDB servers 2014-12-16 12:09:28 -08:00
Hannes Magnusson
bbbda03d10 Seperate code from functions 2014-12-16 12:09:28 -08:00
Hannes Magnusson
8ad0cd4fb7 remove hyperbole description 2014-12-16 12:09:12 -08:00
Jeremy Mikola
ada9cc1759 Merge pull request #24 from hannesvdvreken/master
Fixed spelling mistake
2014-12-15 11:57:00 -05:00
Hannes Van De Vreken
71c81adf1d Fixed spelling mistake 2014-12-15 09:19:42 +01:00
Hannes Magnusson
a4b6954f59 PHP-1337: Implement killing a MongoDB Cursor 2014-12-12 15:54:57 -08:00
Hannes Magnusson
659e9f9e6a PHP-1336: Use Cursor->getId(), not Cursor->getCursorId() 2014-12-12 15:54:57 -08:00
Hannes Magnusson
e24d69979e Call the bson module init 2014-12-12 15:54:57 -08:00
Hannes Magnusson
b2f29d887d PHP-1338: There is actually no DBRef BSON type, its a convention 2014-12-12 15:51:56 -08:00
Hannes Magnusson
2dce5889e1 PHP-1181: Improve coverage for BSON\UTCDateTime 2014-12-12 15:51:55 -08:00
Hannes Magnusson
f72261a3d2 PHP-1181: Improve coverage for BSON\Timestamp 2014-12-12 15:51:55 -08:00
Hannes Magnusson
26def595b6 PHP-1181: Improve coverage for BSON\Regex 2014-12-12 15:51:55 -08:00
Hannes Magnusson
646ca9b581 PHP-1181: Improve coverage for BSON\ObjectID 2014-12-12 15:51:55 -08:00
Hannes Magnusson
db4ceec1b6 Improve exception testing 2014-12-12 15:51:55 -08:00
Hannes Magnusson
b8ca3c5593 PHP-1181: uhm.. This is minkey test! 2014-12-12 15:51:55 -08:00
Hannes Magnusson
9e15ed347f PHP-1181: Increse BSON\Binary testcoverage 2014-12-12 15:51:55 -08:00