mongo 2.4.1 → 2.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data/CONTRIBUTING.md +12 -54
- data/LICENSE +1 -1
- data/README.md +71 -44
- data/Rakefile +104 -9
- data/lib/mongo/active_support.rb +17 -0
- data/lib/mongo/address/ipv4.rb +38 -8
- data/lib/mongo/address/ipv6.rb +61 -12
- data/lib/mongo/address/unix.rb +9 -6
- data/lib/mongo/address/validator.rb +99 -0
- data/lib/mongo/address.rb +160 -59
- data/lib/mongo/auth/aws/conversation.rb +128 -0
- data/lib/mongo/auth/aws/credentials_retriever.rb +219 -0
- data/lib/mongo/auth/aws/request.rb +283 -0
- data/lib/mongo/auth/aws.rb +37 -0
- data/lib/mongo/auth/base.rb +129 -0
- data/lib/mongo/auth/conversation_base.rb +52 -0
- data/lib/mongo/auth/cr/conversation.rb +47 -71
- data/lib/mongo/auth/cr.rb +14 -35
- data/lib/mongo/auth/credential_cache.rb +51 -0
- data/lib/mongo/auth/gssapi/conversation.rb +108 -0
- data/lib/mongo/auth/gssapi.rb +38 -0
- data/lib/mongo/auth/ldap/conversation.rb +22 -53
- data/lib/mongo/auth/ldap.rb +11 -33
- data/lib/mongo/auth/roles.rb +1 -1
- data/lib/mongo/auth/sasl_conversation_base.rb +111 -0
- data/lib/mongo/auth/scram/conversation.rb +10 -411
- data/lib/mongo/auth/scram.rb +42 -37
- data/lib/mongo/auth/scram256/conversation.rb +63 -0
- data/lib/mongo/auth/scram256.rb +31 -0
- data/lib/mongo/auth/scram_conversation_base.rb +402 -0
- data/lib/mongo/auth/stringprep/profiles/sasl.rb +74 -0
- data/lib/mongo/auth/stringprep/tables.rb +3233 -0
- data/lib/mongo/auth/stringprep/unicode_normalize/normalize.rb +175 -0
- data/lib/mongo/auth/stringprep/unicode_normalize/tables.rb +1171 -0
- data/lib/mongo/auth/stringprep.rb +115 -0
- data/lib/mongo/auth/user/view.rb +53 -25
- data/lib/mongo/auth/user.rb +73 -10
- data/lib/mongo/auth/x509/conversation.rb +46 -52
- data/lib/mongo/auth/x509.rb +26 -31
- data/lib/mongo/auth.rb +93 -17
- data/lib/mongo/background_thread.rb +159 -0
- data/lib/mongo/bson.rb +1 -1
- data/lib/mongo/bulk_write/combineable.rb +22 -5
- data/lib/mongo/bulk_write/ordered_combiner.rb +1 -1
- data/lib/mongo/bulk_write/result.rb +2 -2
- data/lib/mongo/bulk_write/result_combiner.rb +18 -8
- data/lib/mongo/bulk_write/transformable.rb +20 -11
- data/lib/mongo/bulk_write/unordered_combiner.rb +1 -1
- data/lib/mongo/bulk_write/validatable.rb +10 -2
- data/lib/mongo/bulk_write.rb +134 -46
- data/lib/mongo/caching_cursor.rb +74 -0
- data/lib/mongo/client.rb +1050 -113
- data/lib/mongo/client_encryption.rb +103 -0
- data/lib/mongo/cluster/periodic_executor.rb +101 -0
- data/lib/mongo/cluster/reapers/cursor_reaper.rb +152 -0
- data/lib/mongo/cluster/reapers/socket_reaper.rb +62 -0
- data/lib/mongo/cluster/sdam_flow.rb +603 -0
- data/lib/mongo/cluster/topology/base.rb +218 -0
- data/lib/mongo/cluster/topology/no_replica_set_options.rb +34 -0
- data/lib/mongo/cluster/topology/replica_set_no_primary.rb +169 -0
- data/lib/mongo/cluster/topology/replica_set_with_primary.rb +27 -0
- data/lib/mongo/cluster/topology/sharded.rb +13 -116
- data/lib/mongo/cluster/topology/single.rb +19 -113
- data/lib/mongo/cluster/topology/unknown.rb +11 -152
- data/lib/mongo/cluster/topology.rb +65 -17
- data/lib/mongo/cluster.rb +798 -274
- data/lib/mongo/cluster_time.rb +139 -0
- data/lib/mongo/collection/view/aggregation.rb +47 -14
- data/lib/mongo/collection/view/builder/aggregation.rb +39 -8
- data/lib/mongo/collection/view/builder/find_command.rb +56 -23
- data/lib/mongo/collection/view/builder/flags.rb +2 -2
- data/lib/mongo/collection/view/builder/map_reduce.rb +17 -6
- data/lib/mongo/collection/view/builder/modifiers.rb +2 -2
- data/lib/mongo/collection/view/builder/op_query.rb +10 -2
- data/lib/mongo/collection/view/builder.rb +1 -1
- data/lib/mongo/collection/view/change_stream/retryable.rb +40 -0
- data/lib/mongo/collection/view/change_stream.rb +369 -0
- data/lib/mongo/collection/view/explainable.rb +29 -10
- data/lib/mongo/collection/view/immutable.rb +2 -2
- data/lib/mongo/collection/view/iterable.rb +107 -24
- data/lib/mongo/collection/view/map_reduce.rb +65 -36
- data/lib/mongo/collection/view/readable.rb +211 -52
- data/lib/mongo/collection/view/writable.rb +283 -60
- data/lib/mongo/collection/view.rb +52 -28
- data/lib/mongo/collection.rb +324 -60
- data/lib/mongo/crypt/auto_decryption_context.rb +40 -0
- data/lib/mongo/crypt/auto_encrypter.rb +179 -0
- data/lib/mongo/crypt/auto_encryption_context.rb +44 -0
- data/lib/mongo/crypt/binary.rb +155 -0
- data/lib/mongo/crypt/binding.rb +1229 -0
- data/lib/mongo/crypt/context.rb +135 -0
- data/lib/mongo/crypt/data_key_context.rb +162 -0
- data/lib/mongo/crypt/encryption_io.rb +306 -0
- data/lib/mongo/crypt/explicit_decryption_context.rb +40 -0
- data/lib/mongo/crypt/explicit_encrypter.rb +117 -0
- data/lib/mongo/crypt/explicit_encryption_context.rb +89 -0
- data/lib/mongo/crypt/handle.rb +315 -0
- data/lib/mongo/crypt/hooks.rb +90 -0
- data/lib/mongo/crypt/kms_context.rb +67 -0
- data/lib/mongo/crypt/status.rb +131 -0
- data/lib/mongo/crypt.rb +33 -0
- data/lib/mongo/cursor/builder/get_more_command.rb +9 -4
- data/lib/mongo/cursor/builder/kill_cursors_command.rb +24 -6
- data/lib/mongo/cursor/builder/op_get_more.rb +4 -4
- data/lib/mongo/cursor/builder/op_kill_cursors.rb +26 -7
- data/lib/mongo/cursor/builder.rb +1 -1
- data/lib/mongo/cursor.rb +226 -44
- data/lib/mongo/database/view.rb +104 -26
- data/lib/mongo/database.rb +214 -31
- data/lib/mongo/dbref.rb +10 -3
- data/lib/mongo/distinguishing_semaphore.rb +55 -0
- data/lib/mongo/error/auth_error.rb +29 -0
- data/lib/mongo/error/bulk_write_error.rb +20 -2
- data/lib/mongo/error/change_stream_resumable.rb +37 -0
- data/lib/mongo/error/closed_stream.rb +1 -1
- data/lib/mongo/error/connection_check_out_timeout.rb +48 -0
- data/lib/mongo/error/connection_perished.rb +23 -0
- data/lib/mongo/error/credential_check_error.rb +26 -0
- data/lib/mongo/error/crypt_error.rb +31 -0
- data/lib/mongo/error/extra_file_chunk.rb +1 -1
- data/lib/mongo/error/failed_string_prep_validation.rb +38 -0
- data/lib/mongo/error/file_not_found.rb +1 -1
- data/lib/mongo/error/handshake_error.rb +24 -0
- data/lib/mongo/error/insufficient_iteration_count.rb +38 -0
- data/lib/mongo/error/invalid_address.rb +24 -0
- data/lib/mongo/error/invalid_application_name.rb +1 -1
- data/lib/mongo/error/invalid_bulk_operation.rb +1 -1
- data/lib/mongo/error/invalid_bulk_operation_type.rb +1 -1
- data/lib/mongo/error/invalid_collection_name.rb +1 -1
- data/lib/mongo/error/invalid_cursor_operation.rb +27 -0
- data/lib/mongo/error/invalid_database_name.rb +1 -1
- data/lib/mongo/error/invalid_document.rb +1 -1
- data/lib/mongo/error/invalid_file.rb +1 -1
- data/lib/mongo/error/invalid_file_revision.rb +1 -1
- data/lib/mongo/error/invalid_min_pool_size.rb +35 -0
- data/lib/mongo/error/invalid_nonce.rb +2 -2
- data/lib/mongo/error/invalid_read_concern.rb +28 -0
- data/lib/mongo/error/invalid_read_option.rb +35 -0
- data/lib/mongo/error/invalid_replacement_document.rb +1 -1
- data/lib/mongo/error/invalid_server_auth_host.rb +22 -0
- data/lib/mongo/error/invalid_server_auth_response.rb +23 -0
- data/lib/mongo/error/invalid_server_preference.rb +7 -1
- data/lib/mongo/error/invalid_session.rb +37 -0
- data/lib/mongo/error/invalid_signature.rb +1 -1
- data/lib/mongo/error/invalid_transaction_operation.rb +82 -0
- data/lib/mongo/error/invalid_txt_record.rb +27 -0
- data/lib/mongo/error/invalid_update_document.rb +1 -1
- data/lib/mongo/error/invalid_uri.rb +8 -7
- data/lib/mongo/error/invalid_write_concern.rb +3 -3
- data/lib/mongo/error/kms_error.rb +22 -0
- data/lib/mongo/error/lint_error.rb +35 -0
- data/lib/mongo/error/max_bson_size.rb +15 -4
- data/lib/mongo/error/max_message_size.rb +1 -1
- data/lib/mongo/error/mismatched_domain.rb +27 -0
- data/lib/mongo/error/missing_file_chunk.rb +1 -1
- data/lib/mongo/error/missing_password.rb +29 -0
- data/lib/mongo/error/missing_resume_token.rb +39 -0
- data/lib/mongo/error/missing_scram_server_signature.rb +27 -0
- data/lib/mongo/error/mongocryptd_spawn_error.rb +22 -0
- data/lib/mongo/error/multi_index_drop.rb +1 -1
- data/lib/mongo/error/need_primary_server.rb +1 -1
- data/lib/mongo/error/no_server_available.rb +14 -5
- data/lib/mongo/error/no_srv_records.rb +26 -0
- data/lib/mongo/error/notable.rb +80 -0
- data/lib/mongo/error/operation_failure.rb +244 -13
- data/lib/mongo/error/parser.rb +156 -7
- data/lib/mongo/error/pool_closed_error.rb +50 -0
- data/lib/mongo/error/raise_original_error.rb +29 -0
- data/lib/mongo/error/sdam_error_detection.rb +72 -0
- data/lib/mongo/error/server_certificate_revoked.rb +22 -0
- data/lib/mongo/error/session_ended.rb +27 -0
- data/lib/mongo/error/sessions_not_supported.rb +35 -0
- data/lib/mongo/error/socket_error.rb +5 -2
- data/lib/mongo/error/socket_timeout_error.rb +5 -2
- data/lib/mongo/error/unchangeable_collection_option.rb +1 -1
- data/lib/mongo/error/unexpected_chunk_length.rb +1 -1
- data/lib/mongo/error/unexpected_response.rb +1 -1
- data/lib/mongo/error/unknown_payload_type.rb +41 -0
- data/lib/mongo/error/unsupported_array_filters.rb +56 -0
- data/lib/mongo/error/unsupported_collation.rb +7 -2
- data/lib/mongo/error/unsupported_features.rb +1 -19
- data/lib/mongo/error/unsupported_message_type.rb +23 -0
- data/lib/mongo/error/unsupported_option.rb +101 -0
- data/lib/mongo/error/write_retryable.rb +27 -0
- data/lib/mongo/error.rb +130 -1
- data/lib/mongo/event/base.rb +42 -0
- data/lib/mongo/event/listeners.rb +1 -1
- data/lib/mongo/event/publisher.rb +1 -1
- data/lib/mongo/event/subscriber.rb +1 -1
- data/lib/mongo/event.rb +10 -11
- data/lib/mongo/grid/file/chunk.rb +6 -6
- data/lib/mongo/grid/file/info.rb +35 -5
- data/lib/mongo/grid/file.rb +6 -1
- data/lib/mongo/grid/fs_bucket.rb +76 -34
- data/lib/mongo/grid/stream/read.rb +47 -24
- data/lib/mongo/grid/stream/write.rb +34 -12
- data/lib/mongo/grid/stream.rb +1 -1
- data/lib/mongo/grid.rb +1 -1
- data/lib/mongo/id.rb +64 -0
- data/lib/mongo/index/view.rb +98 -34
- data/lib/mongo/index.rb +2 -1
- data/lib/mongo/lint.rb +102 -0
- data/lib/mongo/loggable.rb +6 -2
- data/lib/mongo/logger.rb +4 -6
- data/lib/mongo/monitoring/cmap_log_subscriber.rb +53 -0
- data/lib/mongo/monitoring/command_log_subscriber.rb +22 -5
- data/lib/mongo/monitoring/event/cmap/base.rb +28 -0
- data/lib/mongo/monitoring/event/cmap/connection_check_out_failed.rb +85 -0
- data/lib/mongo/monitoring/event/cmap/connection_check_out_started.rb +56 -0
- data/lib/mongo/monitoring/event/cmap/connection_checked_in.rb +71 -0
- data/lib/mongo/monitoring/event/cmap/connection_checked_out.rb +72 -0
- data/lib/mongo/monitoring/event/cmap/connection_closed.rb +103 -0
- data/lib/mongo/monitoring/event/cmap/connection_created.rb +64 -0
- data/lib/mongo/monitoring/event/cmap/connection_ready.rb +64 -0
- data/lib/mongo/monitoring/event/cmap/pool_cleared.rb +57 -0
- data/lib/mongo/monitoring/event/cmap/pool_closed.rb +65 -0
- data/lib/mongo/monitoring/event/cmap/pool_created.rb +72 -0
- data/lib/mongo/monitoring/event/cmap.rb +25 -0
- data/lib/mongo/monitoring/event/command_failed.rb +30 -6
- data/lib/mongo/monitoring/event/command_started.rb +82 -6
- data/lib/mongo/monitoring/event/command_succeeded.rb +16 -3
- data/lib/mongo/monitoring/event/secure.rb +23 -3
- data/lib/mongo/monitoring/event/server_closed.rb +15 -2
- data/lib/mongo/monitoring/event/server_description_changed.rb +41 -3
- data/lib/mongo/monitoring/event/server_heartbeat_failed.rb +78 -0
- data/lib/mongo/monitoring/event/server_heartbeat_started.rb +62 -0
- data/lib/mongo/monitoring/event/server_heartbeat_succeeded.rb +70 -0
- data/lib/mongo/monitoring/event/server_opening.rb +15 -2
- data/lib/mongo/monitoring/event/topology_changed.rb +16 -2
- data/lib/mongo/monitoring/event/topology_closed.rb +15 -2
- data/lib/mongo/monitoring/event/topology_opening.rb +15 -2
- data/lib/mongo/monitoring/event.rb +6 -1
- data/lib/mongo/monitoring/publishable.rb +27 -45
- data/lib/mongo/monitoring/sdam_log_subscriber.rb +1 -1
- data/lib/mongo/monitoring/server_closed_log_subscriber.rb +1 -1
- data/lib/mongo/monitoring/server_description_changed_log_subscriber.rb +10 -2
- data/lib/mongo/monitoring/server_opening_log_subscriber.rb +1 -1
- data/lib/mongo/monitoring/topology_changed_log_subscriber.rb +5 -5
- data/lib/mongo/monitoring/topology_closed_log_subscriber.rb +30 -0
- data/lib/mongo/monitoring/topology_opening_log_subscriber.rb +2 -2
- data/lib/mongo/monitoring/unified_sdam_log_subscriber.rb +62 -0
- data/lib/mongo/monitoring.rb +198 -67
- data/lib/mongo/operation/aggregate/command.rb +44 -0
- data/lib/mongo/operation/aggregate/op_msg.rb +31 -0
- data/lib/mongo/operation/aggregate/result.rb +101 -0
- data/lib/mongo/operation/aggregate.rb +36 -0
- data/lib/mongo/operation/collections_info/command.rb +45 -0
- data/lib/mongo/operation/collections_info/result.rb +56 -0
- data/lib/mongo/operation/collections_info.rb +31 -0
- data/lib/mongo/operation/command/command.rb +38 -0
- data/lib/mongo/operation/command/op_msg.rb +28 -0
- data/lib/mongo/operation/command.rb +31 -0
- data/lib/mongo/operation/count/command.rb +38 -0
- data/lib/mongo/operation/count/op_msg.rb +29 -0
- data/lib/mongo/operation/count.rb +31 -0
- data/lib/mongo/operation/create/command.rb +38 -0
- data/lib/mongo/operation/create/op_msg.rb +29 -0
- data/lib/mongo/operation/create.rb +31 -0
- data/lib/mongo/operation/create_index/command.rb +42 -0
- data/lib/mongo/operation/create_index/op_msg.rb +38 -0
- data/lib/mongo/operation/create_index.rb +31 -0
- data/lib/mongo/operation/create_user/command.rb +43 -0
- data/lib/mongo/operation/create_user/op_msg.rb +35 -0
- data/lib/mongo/operation/create_user.rb +31 -0
- data/lib/mongo/operation/delete/bulk_result.rb +48 -0
- data/lib/mongo/operation/delete/command.rb +46 -0
- data/lib/mongo/operation/delete/legacy.rb +54 -0
- data/lib/mongo/operation/delete/op_msg.rb +45 -0
- data/lib/mongo/operation/delete/result.rb +45 -0
- data/lib/mongo/operation/delete.rb +38 -0
- data/lib/mongo/operation/distinct/command.rb +38 -0
- data/lib/mongo/operation/distinct/op_msg.rb +30 -0
- data/lib/mongo/operation/distinct.rb +31 -0
- data/lib/mongo/operation/drop/command.rb +38 -0
- data/lib/mongo/operation/drop/op_msg.rb +29 -0
- data/lib/mongo/operation/drop.rb +31 -0
- data/lib/mongo/operation/drop_database/command.rb +38 -0
- data/lib/mongo/operation/drop_database/op_msg.rb +29 -0
- data/lib/mongo/operation/drop_database.rb +31 -0
- data/lib/mongo/operation/drop_index/command.rb +42 -0
- data/lib/mongo/operation/drop_index/op_msg.rb +35 -0
- data/lib/mongo/operation/drop_index.rb +31 -0
- data/lib/mongo/operation/explain/command.rb +43 -0
- data/lib/mongo/operation/explain/legacy.rb +42 -0
- data/lib/mongo/operation/explain/op_msg.rb +37 -0
- data/lib/mongo/operation/explain/result.rb +53 -0
- data/lib/mongo/operation/explain.rb +33 -0
- data/lib/mongo/operation/find/command.rb +39 -0
- data/lib/mongo/operation/find/legacy/result.rb +43 -0
- data/lib/mongo/operation/find/legacy.rb +40 -0
- data/lib/mongo/operation/find/op_msg.rb +31 -0
- data/lib/mongo/operation/find/result.rb +73 -0
- data/lib/mongo/operation/find.rb +33 -0
- data/lib/mongo/operation/get_more/command.rb +39 -0
- data/lib/mongo/operation/get_more/legacy.rb +36 -0
- data/lib/mongo/operation/get_more/op_msg.rb +30 -0
- data/lib/mongo/operation/get_more/result.rb +72 -0
- data/lib/mongo/operation/get_more.rb +33 -0
- data/lib/mongo/operation/indexes/command.rb +39 -0
- data/lib/mongo/operation/indexes/legacy.rb +45 -0
- data/lib/mongo/operation/indexes/op_msg.rb +31 -0
- data/lib/mongo/operation/indexes/result.rb +102 -0
- data/lib/mongo/operation/indexes.rb +33 -0
- data/lib/mongo/operation/insert/bulk_result.rb +109 -0
- data/lib/mongo/operation/insert/command.rb +56 -0
- data/lib/mongo/operation/insert/legacy.rb +65 -0
- data/lib/mongo/operation/insert/op_msg.rb +51 -0
- data/lib/mongo/operation/insert/result.rb +72 -0
- data/lib/mongo/operation/insert.rb +41 -0
- data/lib/mongo/operation/kill_cursors/command.rb +37 -0
- data/lib/mongo/operation/kill_cursors/legacy.rb +37 -0
- data/lib/mongo/operation/kill_cursors/op_msg.rb +29 -0
- data/lib/mongo/operation/kill_cursors.rb +8 -16
- data/lib/mongo/operation/list_collections/command.rb +43 -0
- data/lib/mongo/operation/list_collections/op_msg.rb +36 -0
- data/lib/mongo/operation/list_collections/result.rb +107 -0
- data/lib/mongo/operation/list_collections.rb +32 -0
- data/lib/mongo/operation/map_reduce/command.rb +40 -0
- data/lib/mongo/operation/map_reduce/op_msg.rb +31 -0
- data/lib/mongo/operation/map_reduce/result.rb +139 -0
- data/lib/mongo/operation/map_reduce.rb +32 -0
- data/lib/mongo/operation/op_msg_base.rb +30 -0
- data/lib/mongo/operation/parallel_scan/command.rb +55 -0
- data/lib/mongo/operation/parallel_scan/op_msg.rb +43 -0
- data/lib/mongo/operation/parallel_scan/result.rb +65 -0
- data/lib/mongo/operation/parallel_scan.rb +32 -0
- data/lib/mongo/operation/remove_user/command.rb +43 -0
- data/lib/mongo/operation/remove_user/op_msg.rb +35 -0
- data/lib/mongo/operation/remove_user.rb +31 -0
- data/lib/mongo/operation/result.rb +190 -39
- data/lib/mongo/operation/shared/bypass_document_validation.rb +43 -0
- data/lib/mongo/operation/shared/causal_consistency_supported.rb +42 -0
- data/lib/mongo/operation/shared/collections_info_or_list_collections.rb +58 -0
- data/lib/mongo/operation/shared/executable.rb +106 -0
- data/lib/mongo/operation/shared/executable_no_validate.rb +29 -0
- data/lib/mongo/operation/shared/executable_transaction_label.rb +27 -0
- data/lib/mongo/operation/shared/idable.rb +65 -0
- data/lib/mongo/operation/shared/limited.rb +39 -0
- data/lib/mongo/operation/shared/object_id_generator.rb +37 -0
- data/lib/mongo/operation/shared/op_msg_or_command.rb +44 -0
- data/lib/mongo/operation/shared/op_msg_or_find_command.rb +47 -0
- data/lib/mongo/operation/shared/op_msg_or_list_indexes_command.rb +47 -0
- data/lib/mongo/operation/shared/polymorphic_lookup.rb +33 -0
- data/lib/mongo/operation/shared/polymorphic_result.rb +47 -0
- data/lib/mongo/operation/shared/read_preference_supported.rb +109 -0
- data/lib/mongo/operation/shared/response_handling.rb +169 -0
- data/lib/mongo/operation/shared/result/aggregatable.rb +71 -0
- data/lib/mongo/operation/shared/result/use_legacy_error_parser.rb +29 -0
- data/lib/mongo/operation/shared/sessions_supported.rb +239 -0
- data/lib/mongo/operation/shared/specifiable.rb +582 -0
- data/lib/mongo/operation/shared/write.rb +97 -0
- data/lib/mongo/operation/shared/write_concern_supported.rb +40 -0
- data/lib/mongo/operation/update/bulk_result.rb +126 -0
- data/lib/mongo/operation/update/command.rb +47 -0
- data/lib/mongo/operation/update/legacy/result.rb +109 -0
- data/lib/mongo/operation/update/legacy.rb +65 -0
- data/lib/mongo/operation/update/op_msg.rb +45 -0
- data/lib/mongo/operation/update/result.rb +110 -0
- data/lib/mongo/operation/update.rb +38 -0
- data/lib/mongo/operation/update_user/command.rb +42 -0
- data/lib/mongo/operation/update_user/op_msg.rb +35 -0
- data/lib/mongo/operation/update_user.rb +31 -0
- data/lib/mongo/operation/users_info/command.rb +43 -0
- data/lib/mongo/operation/users_info/op_msg.rb +36 -0
- data/lib/mongo/operation/users_info/result.rb +45 -0
- data/lib/mongo/operation/users_info.rb +32 -0
- data/lib/mongo/operation.rb +65 -22
- data/lib/mongo/options/mapper.rb +10 -3
- data/lib/mongo/options/redacted.rb +1 -1
- data/lib/mongo/options.rb +1 -1
- data/lib/mongo/protocol/bit_vector.rb +5 -4
- data/lib/mongo/protocol/compressed.rb +135 -0
- data/lib/mongo/protocol/delete.rb +9 -7
- data/lib/mongo/protocol/get_more.rb +17 -14
- data/lib/mongo/protocol/insert.rb +12 -8
- data/lib/mongo/protocol/kill_cursors.rb +15 -20
- data/lib/mongo/protocol/message.rb +166 -27
- data/lib/mongo/protocol/msg.rb +381 -0
- data/lib/mongo/protocol/query.rb +65 -10
- data/lib/mongo/protocol/registry.rb +76 -0
- data/lib/mongo/protocol/reply.rb +20 -15
- data/lib/mongo/protocol/serializers.rb +280 -12
- data/lib/mongo/protocol/update.rb +15 -9
- data/lib/mongo/protocol.rb +3 -0
- data/lib/mongo/query_cache.rb +242 -0
- data/lib/mongo/retryable.rb +411 -47
- data/lib/mongo/semaphore.rb +46 -0
- data/lib/mongo/server/app_metadata.rb +211 -0
- data/lib/mongo/server/connection.rb +223 -109
- data/lib/mongo/server/connection_base.rb +250 -0
- data/lib/mongo/server/connection_common.rb +135 -0
- data/lib/mongo/server/connection_pool/populator.rb +58 -0
- data/lib/mongo/server/connection_pool.rb +717 -58
- data/lib/mongo/server/context.rb +13 -13
- data/lib/mongo/server/description/features.rb +71 -14
- data/lib/mongo/server/description.rb +257 -70
- data/lib/mongo/server/monitor/app_metadata.rb +34 -0
- data/lib/mongo/server/monitor/connection.rb +177 -66
- data/lib/mongo/server/monitor.rb +232 -93
- data/lib/mongo/server/pending_connection.rb +255 -0
- data/lib/mongo/server/push_monitor/connection.rb +28 -0
- data/lib/mongo/server/push_monitor.rb +173 -0
- data/lib/mongo/server/round_trip_time_averager.rb +73 -0
- data/lib/mongo/server.rb +365 -54
- data/lib/mongo/server_selector/base.rb +622 -0
- data/lib/mongo/server_selector/nearest.rb +31 -20
- data/lib/mongo/server_selector/primary.rb +30 -14
- data/lib/mongo/server_selector/primary_preferred.rb +37 -24
- data/lib/mongo/server_selector/secondary.rb +31 -20
- data/lib/mongo/server_selector/secondary_preferred.rb +37 -22
- data/lib/mongo/server_selector.rb +14 -3
- data/lib/mongo/session/server_session.rb +119 -0
- data/lib/mongo/session/session_pool.rb +150 -0
- data/lib/mongo/session.rb +1067 -0
- data/lib/mongo/socket/ocsp_cache.rb +97 -0
- data/lib/mongo/socket/ocsp_verifier.rb +368 -0
- data/lib/mongo/socket/ssl.rb +278 -67
- data/lib/mongo/socket/tcp.rb +45 -32
- data/lib/mongo/socket/unix.rb +21 -34
- data/lib/mongo/socket.rb +273 -49
- data/lib/mongo/srv/monitor.rb +121 -0
- data/lib/mongo/srv/resolver.rb +134 -0
- data/lib/mongo/srv/result.rb +125 -0
- data/lib/mongo/srv.rb +17 -0
- data/lib/mongo/timeout.rb +51 -0
- data/lib/mongo/topology_version.rb +89 -0
- data/lib/mongo/uri/options_mapper.rb +582 -0
- data/lib/mongo/uri/srv_protocol.rb +238 -0
- data/lib/mongo/uri.rb +269 -320
- data/lib/mongo/utils.rb +73 -0
- data/lib/mongo/version.rb +2 -2
- data/lib/mongo/write_concern/acknowledged.rb +14 -4
- data/lib/mongo/write_concern/base.rb +67 -0
- data/lib/mongo/write_concern/unacknowledged.rb +14 -4
- data/lib/mongo/write_concern.rb +16 -35
- data/lib/mongo.rb +43 -5
- data/mongo.gemspec +14 -6
- data/spec/NOTES.aws-auth.md +296 -0
- data/spec/README.aws-auth.md +318 -0
- data/spec/README.md +692 -0
- data/spec/USERS.md +72 -0
- data/spec/atlas/atlas_connectivity_spec.rb +24 -0
- data/spec/atlas/operations_spec.rb +25 -0
- data/spec/integration/auth_spec.rb +266 -0
- data/spec/integration/awaited_ismaster_spec.rb +28 -0
- data/spec/integration/aws_auth_request_spec.rb +74 -0
- data/spec/integration/aws_credentials_retriever_spec.rb +103 -0
- data/spec/integration/bson_symbol_spec.rb +36 -0
- data/spec/integration/bulk_insert_spec.rb +80 -0
- data/spec/integration/bulk_write_spec.rb +67 -0
- data/spec/integration/change_stream_examples_spec.rb +205 -0
- data/spec/integration/change_stream_spec.rb +805 -0
- data/spec/integration/check_clean_slate_spec.rb +16 -0
- data/spec/integration/client_authentication_options_spec.rb +501 -0
- data/spec/integration/client_connectivity_spec.rb +38 -0
- data/spec/integration/client_construction_aws_auth_spec.rb +191 -0
- data/spec/integration/client_construction_spec.rb +236 -0
- data/spec/integration/client_side_encryption/auto_encryption_bulk_writes_spec.rb +357 -0
- data/spec/integration/client_side_encryption/auto_encryption_command_monitoring_spec.rb +303 -0
- data/spec/integration/client_side_encryption/auto_encryption_mongocryptd_spawn_spec.rb +72 -0
- data/spec/integration/client_side_encryption/auto_encryption_old_wire_version_spec.rb +79 -0
- data/spec/integration/client_side_encryption/auto_encryption_reconnect_spec.rb +221 -0
- data/spec/integration/client_side_encryption/auto_encryption_spec.rb +601 -0
- data/spec/integration/client_side_encryption/bson_size_limit_spec.rb +187 -0
- data/spec/integration/client_side_encryption/bypass_mongocryptd_spawn_spec.rb +78 -0
- data/spec/integration/client_side_encryption/client_close_spec.rb +63 -0
- data/spec/integration/client_side_encryption/corpus_spec.rb +233 -0
- data/spec/integration/client_side_encryption/custom_endpoint_spec.rb +132 -0
- data/spec/integration/client_side_encryption/data_key_spec.rb +165 -0
- data/spec/integration/client_side_encryption/explicit_encryption_spec.rb +114 -0
- data/spec/integration/client_side_encryption/external_key_vault_spec.rb +141 -0
- data/spec/integration/client_side_encryption/views_spec.rb +44 -0
- data/spec/integration/client_spec.rb +44 -0
- data/spec/integration/client_update_spec.rb +154 -0
- data/spec/integration/collection_indexes_prose_spec.rb +55 -0
- data/spec/integration/command_monitoring_spec.rb +146 -0
- data/spec/integration/command_spec.rb +176 -0
- data/spec/integration/connect_single_rs_name_spec.rb +72 -0
- data/spec/integration/connection_pool_populator_spec.rb +302 -0
- data/spec/integration/connection_spec.rb +331 -0
- data/spec/integration/crud_spec.rb +162 -0
- data/spec/integration/cursor_reaping_spec.rb +136 -0
- data/spec/integration/docs_examples_spec.rb +197 -0
- data/spec/integration/error_detection_spec.rb +39 -0
- data/spec/integration/fork_reconnect_spec.rb +198 -0
- data/spec/integration/get_more_spec.rb +39 -0
- data/spec/integration/grid_fs_bucket_spec.rb +48 -0
- data/spec/integration/heartbeat_events_spec.rb +99 -0
- data/spec/integration/mmapv1_spec.rb +28 -0
- data/spec/integration/mongos_pinning_spec.rb +34 -0
- data/spec/integration/ocsp_connectivity_spec.rb +26 -0
- data/spec/integration/ocsp_verifier_cache_spec.rb +188 -0
- data/spec/integration/ocsp_verifier_spec.rb +334 -0
- data/spec/integration/operation_failure_code_spec.rb +26 -0
- data/spec/integration/query_cache_spec.rb +1045 -0
- data/spec/integration/query_cache_transactions_spec.rb +190 -0
- data/spec/integration/read_concern_spec.rb +89 -0
- data/spec/integration/read_preference_spec.rb +541 -0
- data/spec/integration/reconnect_spec.rb +174 -0
- data/spec/integration/retryable_errors_spec.rb +283 -0
- data/spec/integration/retryable_writes/retryable_writes_36_and_older_spec.rb +761 -0
- data/spec/integration/retryable_writes/retryable_writes_40_and_newer_spec.rb +402 -0
- data/spec/integration/retryable_writes/shared/adds_diagnostics.rb +15 -0
- data/spec/integration/retryable_writes/shared/does_not_support_retries.rb +24 -0
- data/spec/integration/retryable_writes/shared/only_supports_legacy_retries.rb +25 -0
- data/spec/integration/retryable_writes/shared/performs_legacy_retries.rb +217 -0
- data/spec/integration/retryable_writes/shared/performs_modern_retries.rb +232 -0
- data/spec/integration/retryable_writes/shared/performs_no_retries.rb +110 -0
- data/spec/integration/retryable_writes/shared/supports_legacy_retries.rb +19 -0
- data/spec/integration/retryable_writes/shared/supports_modern_retries.rb +25 -0
- data/spec/integration/retryable_writes/shared/supports_retries.rb +16 -0
- data/spec/integration/retryable_writes_errors_spec.rb +31 -0
- data/spec/integration/sdam_error_handling_spec.rb +421 -0
- data/spec/integration/sdam_events_spec.rb +118 -0
- data/spec/integration/sdam_prose_spec.rb +64 -0
- data/spec/integration/server_description_spec.rb +45 -0
- data/spec/integration/server_monitor_spec.rb +52 -0
- data/spec/integration/server_selection_spec.rb +36 -0
- data/spec/integration/server_selector_spec.rb +85 -0
- data/spec/integration/server_spec.rb +64 -0
- data/spec/integration/shell_examples_spec.rb +981 -0
- data/spec/integration/size_limit_spec.rb +112 -0
- data/spec/integration/srv_monitoring_spec.rb +403 -0
- data/spec/integration/srv_spec.rb +56 -0
- data/spec/integration/ssl_uri_options_spec.rb +25 -0
- data/spec/integration/step_down_spec.rb +204 -0
- data/spec/integration/time_zone_querying_spec.rb +52 -0
- data/spec/integration/transactions_api_examples_spec.rb +59 -0
- data/spec/integration/transactions_examples_spec.rb +226 -0
- data/spec/integration/x509_auth_spec.rb +109 -0
- data/spec/integration/zlib_compression_spec.rb +25 -0
- data/spec/kerberos/kerberos_spec.rb +91 -0
- data/spec/lite_spec_helper.rb +158 -0
- data/spec/mongo/address/ipv4_spec.rb +5 -1
- data/spec/mongo/address/ipv6_spec.rb +33 -1
- data/spec/mongo/address/unix_spec.rb +1 -1
- data/spec/mongo/address/validator_spec.rb +51 -0
- data/spec/mongo/address_spec.rb +113 -7
- data/spec/mongo/auth/aws/request_region_spec.rb +42 -0
- data/spec/mongo/auth/aws/request_spec.rb +76 -0
- data/spec/mongo/auth/cr_spec.rb +30 -32
- data/spec/mongo/auth/gssapi/conversation_spec.rb +121 -0
- data/spec/mongo/auth/invalid_mechanism_spec.rb +11 -0
- data/spec/mongo/auth/ldap/conversation_spec.rb +2 -2
- data/spec/mongo/auth/ldap_spec.rb +11 -30
- data/spec/mongo/auth/scram/conversation_spec.rb +63 -58
- data/spec/mongo/auth/scram256/conversation_spec.rb +171 -0
- data/spec/mongo/auth/scram_negotiation_spec.rb +528 -0
- data/spec/mongo/auth/scram_spec.rb +92 -47
- data/spec/mongo/auth/stringprep/profiles/sasl_spec.rb +113 -0
- data/spec/mongo/auth/stringprep_spec.rb +188 -0
- data/spec/mongo/auth/user/view_spec.rb +401 -70
- data/spec/mongo/auth/user_spec.rb +162 -12
- data/spec/mongo/auth/x509/conversation_spec.rb +2 -2
- data/spec/mongo/auth/x509_spec.rb +40 -29
- data/spec/mongo/auth_spec.rb +4 -4
- data/spec/mongo/bulk_write/ordered_combiner_spec.rb +6 -6
- data/spec/mongo/bulk_write/result_spec.rb +124 -0
- data/spec/mongo/bulk_write/unordered_combiner_spec.rb +4 -4
- data/spec/mongo/bulk_write_spec.rb +803 -236
- data/spec/mongo/caching_cursor_spec.rb +70 -0
- data/spec/mongo/client_construction_spec.rb +2210 -0
- data/spec/mongo/client_encryption_spec.rb +411 -0
- data/spec/mongo/client_spec.rb +492 -431
- data/spec/mongo/cluster/cursor_reaper_spec.rb +40 -69
- data/spec/mongo/cluster/periodic_executor_spec.rb +16 -0
- data/spec/mongo/cluster/socket_reaper_spec.rb +43 -0
- data/spec/mongo/cluster/topology/replica_set_spec.rb +247 -226
- data/spec/mongo/cluster/topology/sharded_spec.rb +56 -55
- data/spec/mongo/cluster/topology/single_spec.rb +91 -31
- data/spec/mongo/cluster/topology/unknown_spec.rb +30 -115
- data/spec/mongo/cluster/topology_spec.rb +132 -19
- data/spec/mongo/cluster_spec.rb +447 -159
- data/spec/mongo/cluster_time_spec.rb +148 -0
- data/spec/mongo/collection/view/aggregation_spec.rb +143 -41
- data/spec/mongo/collection/view/builder/find_command_spec.rb +76 -10
- data/spec/mongo/collection/view/change_stream_resume_spec.rb +392 -0
- data/spec/mongo/collection/view/change_stream_spec.rb +531 -0
- data/spec/mongo/collection/view/explainable_spec.rb +88 -5
- data/spec/mongo/collection/view/immutable_spec.rb +1 -1
- data/spec/mongo/collection/view/iterable_spec.rb +38 -0
- data/spec/mongo/collection/view/map_reduce_spec.rb +253 -32
- data/spec/mongo/collection/view/readable_spec.rb +125 -60
- data/spec/mongo/collection/view/writable_spec.rb +273 -34
- data/spec/mongo/collection/view_spec.rb +10 -9
- data/spec/mongo/collection_spec.rb +2533 -232
- data/spec/mongo/crypt/auto_decryption_context_spec.rb +90 -0
- data/spec/mongo/crypt/auto_encrypter_spec.rb +187 -0
- data/spec/mongo/crypt/auto_encryption_context_spec.rb +107 -0
- data/spec/mongo/crypt/binary_spec.rb +110 -0
- data/spec/mongo/crypt/binding/binary_spec.rb +51 -0
- data/spec/mongo/crypt/binding/context_spec.rb +252 -0
- data/spec/mongo/crypt/binding/helpers_spec.rb +41 -0
- data/spec/mongo/crypt/binding/mongocrypt_spec.rb +139 -0
- data/spec/mongo/crypt/binding/status_spec.rb +94 -0
- data/spec/mongo/crypt/binding/version_spec.rb +17 -0
- data/spec/mongo/crypt/binding_unloaded_spec.rb +20 -0
- data/spec/mongo/crypt/data_key_context_spec.rb +213 -0
- data/spec/mongo/crypt/encryption_io_spec.rb +136 -0
- data/spec/mongo/crypt/explicit_decryption_context_spec.rb +72 -0
- data/spec/mongo/crypt/explicit_encryption_context_spec.rb +170 -0
- data/spec/mongo/crypt/handle_spec.rb +232 -0
- data/spec/mongo/crypt/helpers/mongo_crypt_spec_helper.rb +108 -0
- data/spec/mongo/crypt/status_spec.rb +147 -0
- data/spec/mongo/cursor/builder/get_more_command_spec.rb +37 -11
- data/spec/mongo/cursor/builder/op_get_more_spec.rb +11 -4
- data/spec/mongo/cursor/builder/op_kill_cursors_spec.rb +61 -0
- data/spec/mongo/cursor_spec.rb +317 -46
- data/spec/mongo/database_spec.rb +739 -65
- data/spec/mongo/distinguishing_semaphore_spec.rb +63 -0
- data/spec/mongo/error/bulk_write_error_spec.rb +49 -0
- data/spec/mongo/error/crypt_error_spec.rb +26 -0
- data/spec/mongo/error/max_bson_size_spec.rb +35 -0
- data/spec/mongo/error/no_server_available_spec.rb +32 -0
- data/spec/mongo/error/notable_spec.rb +59 -0
- data/spec/mongo/error/operation_failure_heavy_spec.rb +58 -0
- data/spec/mongo/error/operation_failure_spec.rb +490 -0
- data/spec/mongo/error/parser_spec.rb +392 -5
- data/spec/mongo/error/unsupported_option_spec.rb +54 -0
- data/spec/mongo/grid/file/info_spec.rb +3 -3
- data/spec/mongo/grid/fs_bucket_spec.rb +299 -191
- data/spec/mongo/grid/stream/read_spec.rb +13 -19
- data/spec/mongo/grid/stream/write_spec.rb +88 -28
- data/spec/mongo/id_spec.rb +35 -0
- data/spec/mongo/index/view_spec.rb +511 -140
- data/spec/mongo/lint_spec.rb +228 -0
- data/spec/mongo/logger_spec.rb +14 -12
- data/spec/mongo/monitoring/event/cmap/connection_check_out_failed_spec.rb +23 -0
- data/spec/mongo/monitoring/event/cmap/connection_check_out_started_spec.rb +19 -0
- data/spec/mongo/monitoring/event/cmap/connection_checked_in_spec.rb +30 -0
- data/spec/mongo/monitoring/event/cmap/connection_checked_out_spec.rb +30 -0
- data/spec/mongo/monitoring/event/cmap/connection_closed_spec.rb +27 -0
- data/spec/mongo/monitoring/event/cmap/connection_created_spec.rb +24 -0
- data/spec/mongo/monitoring/event/cmap/connection_ready_spec.rb +24 -0
- data/spec/mongo/monitoring/event/cmap/pool_cleared_spec.rb +19 -0
- data/spec/mongo/monitoring/event/cmap/pool_closed_spec.rb +26 -0
- data/spec/mongo/monitoring/event/cmap/pool_created_spec.rb +33 -0
- data/spec/mongo/monitoring/event/command_failed_spec.rb +30 -0
- data/spec/mongo/monitoring/event/command_started_spec.rb +27 -5
- data/spec/mongo/monitoring/event/command_succeeded_spec.rb +30 -8
- data/spec/mongo/monitoring/event/secure_spec.rb +43 -1
- data/spec/mongo/monitoring/event/server_closed_spec.rb +35 -0
- data/spec/mongo/monitoring/event/server_description_changed_spec.rb +35 -0
- data/spec/mongo/monitoring/event/server_heartbeat_failed_spec.rb +31 -0
- data/spec/mongo/monitoring/event/server_heartbeat_started_spec.rb +31 -0
- data/spec/mongo/monitoring/event/server_heartbeat_succeeded_spec.rb +31 -0
- data/spec/mongo/monitoring/event/server_opening_spec.rb +35 -0
- data/spec/mongo/monitoring/event/topology_changed_spec.rb +41 -0
- data/spec/mongo/monitoring/event/topology_closed_spec.rb +35 -0
- data/spec/mongo/monitoring/event/topology_opening_spec.rb +35 -0
- data/spec/mongo/monitoring_spec.rb +30 -5
- data/spec/mongo/operation/aggregate/result_spec.rb +85 -0
- data/spec/mongo/operation/aggregate_spec.rb +72 -0
- data/spec/mongo/operation/collections_info_spec.rb +42 -0
- data/spec/mongo/operation/command_spec.rb +80 -0
- data/spec/mongo/operation/create_index_spec.rb +56 -0
- data/spec/mongo/operation/create_user_spec.rb +47 -0
- data/spec/mongo/operation/delete/bulk_spec.rb +239 -0
- data/spec/mongo/operation/delete/command_spec.rb +112 -0
- data/spec/mongo/operation/delete/op_msg_spec.rb +254 -0
- data/spec/mongo/operation/delete_spec.rb +226 -0
- data/spec/mongo/operation/drop_index_spec.rb +54 -0
- data/spec/mongo/operation/find/legacy_spec.rb +125 -0
- data/spec/mongo/operation/get_more_spec.rb +58 -0
- data/spec/mongo/operation/indexes_spec.rb +34 -0
- data/spec/mongo/operation/insert/bulk_spec.rb +267 -0
- data/spec/mongo/operation/insert/command_spec.rb +115 -0
- data/spec/mongo/operation/insert/op_msg_spec.rb +285 -0
- data/spec/mongo/operation/insert_spec.rb +284 -0
- data/spec/mongo/operation/kill_cursors_spec.rb +4 -4
- data/spec/mongo/operation/limited_spec.rb +5 -3
- data/spec/mongo/operation/map_reduce_spec.rb +125 -0
- data/spec/mongo/operation/read_preference_legacy_spec.rb +363 -0
- data/spec/mongo/operation/read_preference_op_msg_spec.rb +304 -0
- data/spec/mongo/operation/remove_user_spec.rb +46 -0
- data/spec/mongo/operation/result_spec.rb +39 -4
- data/spec/mongo/operation/specifiable_spec.rb +2 -2
- data/spec/mongo/operation/update/bulk_spec.rb +233 -0
- data/spec/mongo/operation/update/command_spec.rb +119 -0
- data/spec/mongo/operation/update/op_msg_spec.rb +260 -0
- data/spec/mongo/operation/update_spec.rb +258 -0
- data/spec/mongo/operation/update_user_spec.rb +46 -0
- data/spec/mongo/protocol/compressed_spec.rb +66 -0
- data/spec/mongo/protocol/delete_spec.rb +24 -9
- data/spec/mongo/protocol/get_more_spec.rb +26 -11
- data/spec/mongo/protocol/insert_spec.rb +24 -9
- data/spec/mongo/protocol/kill_cursors_spec.rb +21 -6
- data/spec/mongo/protocol/msg_spec.rb +525 -0
- data/spec/mongo/protocol/query_spec.rb +56 -11
- data/spec/mongo/protocol/registry_spec.rb +31 -0
- data/spec/mongo/protocol/reply_spec.rb +15 -1
- data/spec/mongo/protocol/update_spec.rb +25 -10
- data/spec/mongo/query_cache_spec.rb +280 -0
- data/spec/mongo/retryable_spec.rb +464 -97
- data/spec/mongo/semaphore_spec.rb +51 -0
- data/spec/mongo/server/app_metadata_shared.rb +136 -0
- data/spec/mongo/server/app_metadata_spec.rb +145 -0
- data/spec/mongo/server/connection_auth_spec.rb +139 -0
- data/spec/mongo/server/connection_pool/populator_spec.rb +101 -0
- data/spec/mongo/server/connection_pool_spec.rb +894 -88
- data/spec/mongo/server/connection_spec.rb +786 -164
- data/spec/mongo/server/description/features_spec.rb +51 -37
- data/spec/mongo/server/description_query_methods_spec.rb +288 -0
- data/spec/mongo/server/description_spec.rb +186 -242
- data/spec/mongo/server/monitor/app_metadata_spec.rb +23 -0
- data/spec/mongo/server/monitor/connection_spec.rb +125 -0
- data/spec/mongo/server/monitor_spec.rb +165 -100
- data/spec/mongo/server/round_trip_time_averager_spec.rb +45 -0
- data/spec/mongo/server_selector/nearest_spec.rb +24 -23
- data/spec/mongo/server_selector/primary_preferred_spec.rb +27 -26
- data/spec/mongo/server_selector/primary_spec.rb +27 -9
- data/spec/mongo/server_selector/secondary_preferred_spec.rb +40 -23
- data/spec/mongo/server_selector/secondary_spec.rb +19 -18
- data/spec/mongo/server_selector_spec.rb +260 -4
- data/spec/mongo/server_spec.rb +294 -78
- data/spec/mongo/session/server_session_spec.rb +59 -0
- data/spec/mongo/session/session_pool_spec.rb +237 -0
- data/spec/mongo/session_spec.rb +345 -0
- data/spec/mongo/session_transaction_spec.rb +226 -0
- data/spec/mongo/socket/ssl_spec.rb +459 -168
- data/spec/mongo/socket/tcp_spec.rb +14 -0
- data/spec/mongo/socket/unix_spec.rb +9 -9
- data/spec/mongo/socket_spec.rb +116 -0
- data/spec/mongo/srv/monitor_spec.rb +230 -0
- data/spec/mongo/srv/result_spec.rb +54 -0
- data/spec/mongo/timeout_spec.rb +39 -0
- data/spec/mongo/uri/srv_protocol_spec.rb +1104 -0
- data/spec/mongo/uri_option_parsing_spec.rb +589 -0
- data/spec/mongo/uri_spec.rb +443 -93
- data/spec/mongo/utils_spec.rb +39 -0
- data/spec/mongo/write_concern/acknowledged_spec.rb +11 -0
- data/spec/mongo/write_concern/unacknowledged_spec.rb +11 -0
- data/spec/mongo/write_concern_spec.rb +69 -4
- data/spec/runners/auth.rb +119 -0
- data/spec/runners/change_streams/outcome.rb +42 -0
- data/spec/runners/change_streams/spec.rb +57 -0
- data/spec/runners/change_streams/test.rb +229 -0
- data/spec/runners/cmap/verifier.rb +45 -0
- data/spec/runners/cmap.rb +370 -0
- data/spec/runners/command_monitoring.rb +343 -0
- data/spec/runners/connection_string.rb +382 -0
- data/spec/runners/crud/context.rb +27 -0
- data/spec/runners/crud/operation.rb +466 -0
- data/spec/runners/crud/outcome.rb +53 -0
- data/spec/runners/crud/requirement.rb +69 -0
- data/spec/runners/crud/spec.rb +70 -0
- data/spec/runners/crud/test.rb +120 -0
- data/spec/runners/crud/test_base.rb +50 -0
- data/spec/runners/crud/verifier.rb +206 -0
- data/spec/runners/crud.rb +235 -0
- data/spec/runners/gridfs.rb +638 -0
- data/spec/runners/read_write_concern_document.rb +67 -0
- data/spec/runners/sdam/verifier.rb +109 -0
- data/spec/runners/sdam.rb +275 -0
- data/spec/runners/server_selection.rb +362 -0
- data/spec/runners/server_selection_rtt.rb +38 -0
- data/spec/runners/transactions/operation.rb +314 -0
- data/spec/runners/transactions/spec.rb +26 -0
- data/spec/runners/transactions/test.rb +322 -0
- data/spec/runners/transactions.rb +101 -0
- data/spec/shared/LICENSE +20 -0
- data/spec/shared/lib/mrss/child_process_helper.rb +80 -0
- data/spec/shared/lib/mrss/constraints.rb +303 -0
- data/spec/shared/lib/mrss/lite_constraints.rb +175 -0
- data/spec/shared/lib/mrss/spec_organizer.rb +149 -0
- data/spec/spec_helper.rb +17 -197
- data/spec/spec_tests/auth_spec.rb +41 -0
- data/spec/spec_tests/change_streams_spec.rb +90 -0
- data/spec/spec_tests/client_side_encryption_spec.rb +11 -0
- data/spec/spec_tests/cmap_spec.rb +106 -0
- data/spec/spec_tests/command_monitoring_spec.rb +66 -0
- data/spec/spec_tests/connection_string_spec.rb +7 -0
- data/spec/spec_tests/crud_spec.rb +19 -0
- data/spec/spec_tests/data/auth/connection-string.yml +366 -0
- data/spec/spec_tests/data/change_streams/change-streams-errors.yml +101 -0
- data/spec/spec_tests/data/change_streams/change-streams-resume-errorLabels.yml +1105 -0
- data/spec/spec_tests/data/change_streams/change-streams-resume-whitelist.yml +1173 -0
- data/spec/spec_tests/data/change_streams/change-streams.yml +536 -0
- data/spec/spec_tests/data/client_side_encryption/aggregate.yml +134 -0
- data/spec/spec_tests/data/client_side_encryption/badQueries.yml +526 -0
- data/spec/spec_tests/data/client_side_encryption/badSchema.yml +73 -0
- data/spec/spec_tests/data/client_side_encryption/basic.yml +116 -0
- data/spec/spec_tests/data/client_side_encryption/bulk.yml +88 -0
- data/spec/spec_tests/data/client_side_encryption/bypassAutoEncryption.yml +100 -0
- data/spec/spec_tests/data/client_side_encryption/bypassedCommand.yml +42 -0
- data/spec/spec_tests/data/client_side_encryption/count.yml +61 -0
- data/spec/spec_tests/data/client_side_encryption/countDocuments.yml +59 -0
- data/spec/spec_tests/data/client_side_encryption/delete.yml +105 -0
- data/spec/spec_tests/data/client_side_encryption/distinct.yml +73 -0
- data/spec/spec_tests/data/client_side_encryption/explain.yml +64 -0
- data/spec/spec_tests/data/client_side_encryption/find.yml +119 -0
- data/spec/spec_tests/data/client_side_encryption/findOneAndDelete.yml +57 -0
- data/spec/spec_tests/data/client_side_encryption/findOneAndReplace.yml +57 -0
- data/spec/spec_tests/data/client_side_encryption/findOneAndUpdate.yml +57 -0
- data/spec/spec_tests/data/client_side_encryption/getMore.yml +68 -0
- data/spec/spec_tests/data/client_side_encryption/insert.yml +102 -0
- data/spec/spec_tests/data/client_side_encryption/keyAltName.yml +71 -0
- data/spec/spec_tests/data/client_side_encryption/localKMS.yml +54 -0
- data/spec/spec_tests/data/client_side_encryption/localSchema.yml +72 -0
- data/spec/spec_tests/data/client_side_encryption/malformedCiphertext.yml +69 -0
- data/spec/spec_tests/data/client_side_encryption/maxWireVersion.yml +20 -0
- data/spec/spec_tests/data/client_side_encryption/missingKey.yml +49 -0
- data/spec/spec_tests/data/client_side_encryption/replaceOne.yml +64 -0
- data/spec/spec_tests/data/client_side_encryption/types.yml +527 -0
- data/spec/spec_tests/data/client_side_encryption/unsupportedCommand.yml +25 -0
- data/spec/spec_tests/data/client_side_encryption/updateMany.yml +77 -0
- data/spec/spec_tests/data/client_side_encryption/updateOne.yml +171 -0
- data/spec/spec_tests/data/cmap/connection-must-have-id.yml +27 -0
- data/spec/spec_tests/data/cmap/connection-must-order-ids.yml +27 -0
- data/spec/spec_tests/data/cmap/pool-checkin-destroy-closed.yml +27 -0
- data/spec/spec_tests/data/cmap/pool-checkin-destroy-stale.yml +27 -0
- data/spec/spec_tests/data/cmap/pool-checkin-make-available.yml +24 -0
- data/spec/spec_tests/data/cmap/pool-checkin.yml +19 -0
- data/spec/spec_tests/data/cmap/pool-checkout-connection.yml +19 -0
- data/spec/spec_tests/data/cmap/pool-checkout-error-closed.yml +36 -0
- data/spec/spec_tests/data/cmap/pool-checkout-multiple.yml +37 -0
- data/spec/spec_tests/data/cmap/pool-checkout-no-idle.yml +35 -0
- data/spec/spec_tests/data/cmap/pool-checkout-no-stale.yml +33 -0
- data/spec/spec_tests/data/cmap/pool-close-destroy-conns.yml +28 -0
- data/spec/spec_tests/data/cmap/pool-close.yml +11 -0
- data/spec/spec_tests/data/cmap/pool-create-max-size.yml +71 -0
- data/spec/spec_tests/data/cmap/pool-create-min-size.yml +34 -0
- data/spec/spec_tests/data/cmap/pool-create-with-options.yml +21 -0
- data/spec/spec_tests/data/cmap/pool-create.yml +12 -0
- data/spec/spec_tests/data/cmap/wait-queue-fairness.yml +124 -0
- data/spec/spec_tests/data/cmap/wait-queue-timeout.yml +46 -0
- data/spec/spec_tests/data/command_monitoring/bulkWrite.yml +49 -0
- data/spec/spec_tests/data/command_monitoring/command.yml +61 -0
- data/spec/spec_tests/data/command_monitoring/find.yml +266 -0
- data/spec/spec_tests/data/command_monitoring/insertMany.yml +75 -0
- data/spec/spec_tests/data/command_monitoring/unacknowledgedBulkWrite.yml +34 -0
- data/spec/spec_tests/data/command_monitoring/updateMany.yml +65 -0
- data/spec/spec_tests/data/command_monitoring/updateOne.yml +90 -0
- data/spec/spec_tests/data/connection_string/invalid-uris.yml +261 -0
- data/spec/spec_tests/data/connection_string/valid-auth.yml +257 -0
- data/spec/spec_tests/data/connection_string/valid-db-with-dotted-name.yml +77 -0
- data/spec/spec_tests/data/connection_string/valid-options.yml +17 -0
- data/spec/spec_tests/data/connection_string/valid-unix_socket-absolute.yml +197 -0
- data/spec/spec_tests/data/connection_string/valid-unix_socket-relative.yml +213 -0
- data/spec/spec_tests/data/connection_string/valid-warnings.yml +75 -0
- data/spec/spec_tests/data/crud/read/aggregate-out.yml +43 -0
- data/spec/spec_tests/data/crud/read/count-collation.yml +25 -0
- data/spec/spec_tests/data/crud/read/count-empty.yml +29 -0
- data/spec/spec_tests/data/crud/read/count.yml +74 -0
- data/spec/spec_tests/data/crud/write/bulkWrite-arrayFilters.yml +45 -0
- data/spec/spec_tests/data/crud/write/bulkWrite-collation.yml +101 -0
- data/spec/spec_tests/data/crud/write/bulkWrite.yml +401 -0
- data/spec/spec_tests/data/crud/write/findOneAndReplace-upsert.yml +91 -0
- data/spec/spec_tests/data/crud/write/findOneAndReplace-upsert_pre_2.6.yml +88 -0
- data/spec/spec_tests/data/crud/write/findOneAndReplace.yml +113 -0
- data/spec/spec_tests/data/crud/write/findOneAndUpdate-arrayFilters.yml +69 -0
- data/spec/spec_tests/data/crud/write/findOneAndUpdate.yml +163 -0
- data/spec/spec_tests/data/crud/write/insertMany.yml +77 -0
- data/spec/spec_tests/data/crud/write/replaceOne-collation.yml +24 -0
- data/spec/spec_tests/data/crud/write/replaceOne-pre_2.6.yml +98 -0
- data/spec/spec_tests/data/crud/write/replaceOne.yml +102 -0
- data/spec/spec_tests/data/crud/write/updateMany-arrayFilters.yml +66 -0
- data/spec/spec_tests/data/crud/write/updateMany-collation.yml +28 -0
- data/spec/spec_tests/data/crud/write/updateMany-pre_2.6.yml +86 -0
- data/spec/spec_tests/data/crud/write/updateMany.yml +87 -0
- data/spec/spec_tests/data/crud/write/updateOne-arrayFilters.yml +114 -0
- data/spec/spec_tests/data/crud/write/updateOne-collation.yml +25 -0
- data/spec/spec_tests/data/crud/write/updateOne-pre_2.6.yml +83 -0
- data/spec/spec_tests/data/crud/write/updateOne.yml +84 -0
- data/spec/spec_tests/data/crud_v2/aggregate-merge.yml +103 -0
- data/spec/spec_tests/data/crud_v2/aggregate-out-readConcern.yml +110 -0
- data/spec/spec_tests/data/crud_v2/bulkWrite-arrayFilters.yml +103 -0
- data/spec/spec_tests/data/crud_v2/bulkWrite-delete-hint-clientError.yml +63 -0
- data/spec/spec_tests/data/crud_v2/bulkWrite-delete-hint-serverError.yml +92 -0
- data/spec/spec_tests/data/crud_v2/bulkWrite-delete-hint.yml +103 -0
- data/spec/spec_tests/data/crud_v2/bulkWrite-update-hint-clientError.yml +90 -0
- data/spec/spec_tests/data/crud_v2/bulkWrite-update-hint-serverError.yml +147 -0
- data/spec/spec_tests/data/crud_v2/bulkWrite-update-hint.yml +164 -0
- data/spec/spec_tests/data/crud_v2/db-aggregate.yml +38 -0
- data/spec/spec_tests/data/crud_v2/deleteMany-hint-clientError.yml +43 -0
- data/spec/spec_tests/data/crud_v2/deleteMany-hint-serverError.yml +62 -0
- data/spec/spec_tests/data/crud_v2/deleteMany-hint.yml +58 -0
- data/spec/spec_tests/data/crud_v2/deleteOne-hint-clientError.yml +41 -0
- data/spec/spec_tests/data/crud_v2/deleteOne-hint-serverError.yml +60 -0
- data/spec/spec_tests/data/crud_v2/deleteOne-hint.yml +57 -0
- data/spec/spec_tests/data/crud_v2/find-allowdiskuse-clientError.yml +28 -0
- data/spec/spec_tests/data/crud_v2/find-allowdiskuse-serverError.yml +44 -0
- data/spec/spec_tests/data/crud_v2/find-allowdiskuse.yml +50 -0
- data/spec/spec_tests/data/crud_v2/findOneAndDelete-hint-clientError.yml +45 -0
- data/spec/spec_tests/data/crud_v2/findOneAndDelete-hint-serverError.yml +60 -0
- data/spec/spec_tests/data/crud_v2/findOneAndDelete-hint.yml +56 -0
- data/spec/spec_tests/data/crud_v2/findOneAndReplace-hint-clientError.yml +40 -0
- data/spec/spec_tests/data/crud_v2/findOneAndReplace-hint-serverError.yml +59 -0
- data/spec/spec_tests/data/crud_v2/findOneAndReplace-hint.yml +55 -0
- data/spec/spec_tests/data/crud_v2/findOneAndUpdate-hint-clientError.yml +40 -0
- data/spec/spec_tests/data/crud_v2/findOneAndUpdate-hint-serverError.yml +58 -0
- data/spec/spec_tests/data/crud_v2/findOneAndUpdate-hint.yml +55 -0
- data/spec/spec_tests/data/crud_v2/replaceOne-hint.yml +61 -0
- data/spec/spec_tests/data/crud_v2/unacknowledged-bulkWrite-delete-hint-clientError.yml +60 -0
- data/spec/spec_tests/data/crud_v2/unacknowledged-bulkWrite-update-hint-clientError.yml +88 -0
- data/spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml +40 -0
- data/spec/spec_tests/data/crud_v2/unacknowledged-deleteOne-hint-clientError.yml +38 -0
- data/spec/spec_tests/data/crud_v2/unacknowledged-findOneAndDelete-hint-clientError.yml +42 -0
- data/spec/spec_tests/data/crud_v2/unacknowledged-findOneAndReplace-hint-clientError.yml +40 -0
- data/spec/spec_tests/data/crud_v2/unacknowledged-findOneAndUpdate-hint-clientError.yml +40 -0
- data/spec/spec_tests/data/crud_v2/unacknowledged-replaceOne-hint-clientError.yml +40 -0
- data/spec/spec_tests/data/crud_v2/unacknowledged-updateMany-hint-clientError.yml +43 -0
- data/spec/spec_tests/data/crud_v2/unacknowledged-updateOne-hint-clientError.yml +40 -0
- data/spec/spec_tests/data/crud_v2/updateMany-hint-clientError.yml +45 -0
- data/spec/spec_tests/data/crud_v2/updateMany-hint-serverError.yml +66 -0
- data/spec/spec_tests/data/crud_v2/updateMany-hint.yml +65 -0
- data/spec/spec_tests/data/crud_v2/updateOne-hint-clientError.yml +43 -0
- data/spec/spec_tests/data/crud_v2/updateOne-hint-serverError.yml +62 -0
- data/spec/spec_tests/data/crud_v2/updateOne-hint.yml +61 -0
- data/spec/spec_tests/data/crud_v2/updateWithPipelines.yml +157 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/direct-connection-false.yml +10 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/direct-connection-true.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/longer-parent-in-return.yml +11 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/misformatted-option.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/no-results.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/not-enough-parts.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/one-result-default-port.yml +10 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/one-txt-record-multiple-strings.yml +10 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/one-txt-record.yml +11 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch1.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch2.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch3.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch4.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch5.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/returned-parent-too-short.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/returned-parent-wrong.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/two-results-default-port.yml +11 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/two-results-nonstandard-port.yml +11 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/two-txt-records.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/txt-record-not-allowed-option.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-ssl-option.yml +11 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-uri-option.yml +11 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-unallowed-option.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/uri-with-port.yml +5 -0
- data/spec/spec_tests/data/dns_seedlist_discovery/uri-with-two-hosts.yml +5 -0
- data/spec/spec_tests/data/gridfs/delete.yml +123 -0
- data/spec/spec_tests/data/gridfs/download.yml +192 -0
- data/spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/NoKnownServers.yml +16 -0
- data/spec/spec_tests/data/max_staleness/Unknown/SmallMaxStaleness.yml +15 -0
- data/spec/spec_tests/data/read_write_concern/connection-string/read-concern.yml +32 -0
- data/spec/spec_tests/data/read_write_concern/connection-string/write-concern.yml +79 -0
- data/spec/spec_tests/data/read_write_concern/document/read-concern.yml +37 -0
- data/spec/spec_tests/data/read_write_concern/document/write-concern.yml +100 -0
- data/spec/spec_tests/data/read_write_concern/operation/default-write-concern-2.6.yml +215 -0
- data/spec/spec_tests/data/read_write_concern/operation/default-write-concern-3.2.yml +58 -0
- data/spec/spec_tests/data/read_write_concern/operation/default-write-concern-3.4.yml +95 -0
- data/spec/spec_tests/data/read_write_concern/operation/default-write-concern-4.2.yml +36 -0
- data/spec/spec_tests/data/retryable_reads/aggregate-merge.yml +39 -0
- data/spec/spec_tests/data/retryable_reads/aggregate-serverErrors.yml +157 -0
- data/spec/spec_tests/data/retryable_reads/aggregate.yml +87 -0
- data/spec/spec_tests/data/retryable_reads/changeStreams-client.watch-serverErrors.yml +149 -0
- data/spec/spec_tests/data/retryable_reads/changeStreams-client.watch.yml +61 -0
- data/spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch-serverErrors.yml +149 -0
- data/spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch.yml +65 -0
- data/spec/spec_tests/data/retryable_reads/changeStreams-db.watch-serverErrors.yml +153 -0
- data/spec/spec_tests/data/retryable_reads/changeStreams-db.watch.yml +61 -0
- data/spec/spec_tests/data/retryable_reads/count-serverErrors.yml +150 -0
- data/spec/spec_tests/data/retryable_reads/count.yml +64 -0
- data/spec/spec_tests/data/retryable_reads/countDocuments-serverErrors.yml +150 -0
- data/spec/spec_tests/data/retryable_reads/countDocuments.yml +64 -0
- data/spec/spec_tests/data/retryable_reads/distinct-serverErrors.yml +156 -0
- data/spec/spec_tests/data/retryable_reads/distinct.yml +71 -0
- data/spec/spec_tests/data/retryable_reads/estimatedDocumentCount-serverErrors.yml +148 -0
- data/spec/spec_tests/data/retryable_reads/estimatedDocumentCount.yml +62 -0
- data/spec/spec_tests/data/retryable_reads/find-serverErrors.yml +160 -0
- data/spec/spec_tests/data/retryable_reads/find.yml +86 -0
- data/spec/spec_tests/data/retryable_reads/findOne-serverErrors.yml +154 -0
- data/spec/spec_tests/data/retryable_reads/findOne.yml +68 -0
- data/spec/spec_tests/data/retryable_reads/gridfs-download-serverErrors.yml +173 -0
- data/spec/spec_tests/data/retryable_reads/gridfs-download.yml +79 -0
- data/spec/spec_tests/data/retryable_reads/gridfs-downloadByName-serverErrors.yml +174 -0
- data/spec/spec_tests/data/retryable_reads/gridfs-downloadByName.yml +79 -0
- data/spec/spec_tests/data/retryable_reads/listCollectionNames-serverErrors.yml +143 -0
- data/spec/spec_tests/data/retryable_reads/listCollectionNames.yml +59 -0
- data/spec/spec_tests/data/retryable_reads/listCollectionObjects-serverErrors.yml +144 -0
- data/spec/spec_tests/data/retryable_reads/listCollectionObjects.yml +59 -0
- data/spec/spec_tests/data/retryable_reads/listCollections-serverErrors.yml +143 -0
- data/spec/spec_tests/data/retryable_reads/listCollections.yml +59 -0
- data/spec/spec_tests/data/retryable_reads/listDatabaseNames-serverErrors.yml +143 -0
- data/spec/spec_tests/data/retryable_reads/listDatabaseNames.yml +59 -0
- data/spec/spec_tests/data/retryable_reads/listDatabaseObjects-serverErrors.yml +144 -0
- data/spec/spec_tests/data/retryable_reads/listDatabaseObjects.yml +59 -0
- data/spec/spec_tests/data/retryable_reads/listDatabases-serverErrors.yml +144 -0
- data/spec/spec_tests/data/retryable_reads/listDatabases.yml +59 -0
- data/spec/spec_tests/data/retryable_reads/listIndexNames-serverErrors.yml +144 -0
- data/spec/spec_tests/data/retryable_reads/listIndexNames.yml +60 -0
- data/spec/spec_tests/data/retryable_reads/listIndexes-serverErrors.yml +145 -0
- data/spec/spec_tests/data/retryable_reads/listIndexes.yml +60 -0
- data/spec/spec_tests/data/retryable_reads/mapReduce.yml +60 -0
- data/spec/spec_tests/data/retryable_writes/bulkWrite-errorLabels.yml +77 -0
- data/spec/spec_tests/data/retryable_writes/bulkWrite-serverErrors.yml +130 -0
- data/spec/spec_tests/data/retryable_writes/bulkWrite.yml +396 -0
- data/spec/spec_tests/data/retryable_writes/deleteMany.yml +22 -0
- data/spec/spec_tests/data/retryable_writes/deleteOne-errorLabels.yml +48 -0
- data/spec/spec_tests/data/retryable_writes/deleteOne-serverErrors.yml +73 -0
- data/spec/spec_tests/data/retryable_writes/deleteOne.yml +57 -0
- data/spec/spec_tests/data/retryable_writes/findOneAndDelete-errorLabels.yml +49 -0
- data/spec/spec_tests/data/retryable_writes/findOneAndDelete-serverErrors.yml +74 -0
- data/spec/spec_tests/data/retryable_writes/findOneAndDelete.yml +58 -0
- data/spec/spec_tests/data/retryable_writes/findOneAndReplace-errorLabels.yml +52 -0
- data/spec/spec_tests/data/retryable_writes/findOneAndReplace-serverErrors.yml +80 -0
- data/spec/spec_tests/data/retryable_writes/findOneAndReplace.yml +63 -0
- data/spec/spec_tests/data/retryable_writes/findOneAndUpdate-errorLabels.yml +52 -0
- data/spec/spec_tests/data/retryable_writes/findOneAndUpdate-serverErrors.yml +79 -0
- data/spec/spec_tests/data/retryable_writes/findOneAndUpdate.yml +62 -0
- data/spec/spec_tests/data/retryable_writes/insertMany-errorLabels.yml +54 -0
- data/spec/spec_tests/data/retryable_writes/insertMany-serverErrors.yml +84 -0
- data/spec/spec_tests/data/retryable_writes/insertMany.yml +74 -0
- data/spec/spec_tests/data/retryable_writes/insertOne-errorLabels.yml +44 -0
- data/spec/spec_tests/data/retryable_writes/insertOne-serverErrors.yml +526 -0
- data/spec/spec_tests/data/retryable_writes/insertOne.yml +61 -0
- data/spec/spec_tests/data/retryable_writes/replaceOne-errorLabels.yml +53 -0
- data/spec/spec_tests/data/retryable_writes/replaceOne-serverErrors.yml +82 -0
- data/spec/spec_tests/data/retryable_writes/replaceOne.yml +66 -0
- data/spec/spec_tests/data/retryable_writes/updateMany.yml +27 -0
- data/spec/spec_tests/data/retryable_writes/updateOne-errorLabels.yml +53 -0
- data/spec/spec_tests/data/retryable_writes/updateOne-serverErrors.yml +82 -0
- data/spec/spec_tests/data/retryable_writes/updateOne.yml +129 -0
- data/spec/spec_tests/data/sdam/errors/error_handling_handshake.yml +54 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-network-error.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-network-timeout-error.yml +37 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-InterruptedAtShutdown.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-InterruptedDueToReplStateChange.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMaster.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMasterNoSlaveOk.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMasterOrSecondary.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-PrimarySteppedDown.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-ShutdownInProgress.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedAtShutdown.yml +51 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedDueToReplStateChange.yml +51 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMaster.yml +51 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMasterNoSlaveOk.yml +51 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMasterOrSecondary.yml +51 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-PrimarySteppedDown.yml +51 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-ShutdownInProgress.yml +51 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-InterruptedAtShutdown.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-InterruptedDueToReplStateChange.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMaster.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMasterNoSlaveOk.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMasterOrSecondary.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-PrimarySteppedDown.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-ShutdownInProgress.yml +60 -0
- data/spec/spec_tests/data/sdam/errors/post-42-InterruptedAtShutdown.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/post-42-InterruptedDueToReplStateChange.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/post-42-NotMaster.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/post-42-NotMasterNoSlaveOk.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/post-42-NotMasterOrSecondary.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/post-42-PrimarySteppedDown.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/post-42-ShutdownInProgress.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/pre-42-InterruptedAtShutdown.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/pre-42-InterruptedDueToReplStateChange.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/pre-42-NotMaster.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/pre-42-NotMasterNoSlaveOk.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/pre-42-NotMasterOrSecondary.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/pre-42-PrimarySteppedDown.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/pre-42-ShutdownInProgress.yml +46 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-InterruptedAtShutdown.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-InterruptedDueToReplStateChange.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-NotMaster.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-NotMasterNoSlaveOk.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-NotMasterOrSecondary.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-PrimarySteppedDown.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-ShutdownInProgress.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-InterruptedAtShutdown.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-InterruptedDueToReplStateChange.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMaster.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMasterNoSlaveOk.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMasterOrSecondary.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-PrimarySteppedDown.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-ShutdownInProgress.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-network.yml +80 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-timeout.yml +80 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedAtShutdown.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedDueToReplStateChange.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMaster.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMasterNoSlaveOk.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMasterOrSecondary.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-PrimarySteppedDown.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-ShutdownInProgress.yml +89 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-network.yml +80 -0
- data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-timeout.yml +80 -0
- data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-InterruptedAtShutdown.yml +64 -0
- data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-InterruptedDueToReplStateChange.yml +64 -0
- data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMaster.yml +64 -0
- data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMasterNoSlaveOk.yml +64 -0
- data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMasterOrSecondary.yml +64 -0
- data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-PrimarySteppedDown.yml +64 -0
- data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-ShutdownInProgress.yml +64 -0
- data/spec/spec_tests/data/sdam/rs/compatible.yml +43 -0
- data/spec/spec_tests/data/sdam/rs/compatible_unknown.yml +33 -0
- data/spec/spec_tests/data/sdam/rs/discover_arbiters.yml +43 -0
- data/spec/spec_tests/data/sdam/rs/discover_arbiters_replicaset.yml +43 -0
- data/spec/spec_tests/data/sdam/rs/discover_ghost.yml +35 -0
- data/spec/spec_tests/data/sdam/rs/discover_ghost_replicaset.yml +41 -0
- data/spec/spec_tests/data/sdam/rs/discover_hidden.yml +50 -0
- data/spec/spec_tests/data/sdam/rs/discover_hidden_replicaset.yml +50 -0
- data/spec/spec_tests/data/sdam/rs/discover_passives.yml +81 -0
- data/spec/spec_tests/data/sdam/rs/discover_passives_replicaset.yml +81 -0
- data/spec/spec_tests/data/sdam/rs/discover_primary.yml +42 -0
- data/spec/spec_tests/data/sdam/rs/discover_primary_replicaset.yml +42 -0
- data/spec/spec_tests/data/sdam/rs/discover_rsother.yml +49 -0
- data/spec/spec_tests/data/sdam/rs/discover_rsother_replicaset.yml +66 -0
- data/spec/spec_tests/data/sdam/rs/discover_secondary.yml +43 -0
- data/spec/spec_tests/data/sdam/rs/discover_secondary_replicaset.yml +43 -0
- data/spec/spec_tests/data/sdam/rs/discovery.yml +203 -0
- data/spec/spec_tests/data/sdam/rs/equal_electionids.yml +55 -0
- data/spec/spec_tests/data/sdam/rs/hosts_differ_from_seeds.yml +36 -0
- data/spec/spec_tests/data/sdam/rs/incompatible_arbiter.yml +34 -0
- data/spec/spec_tests/data/sdam/rs/incompatible_ghost.yml +32 -0
- data/spec/spec_tests/data/sdam/rs/incompatible_other.yml +34 -0
- data/spec/spec_tests/data/sdam/rs/ls_timeout.yml +243 -0
- data/spec/spec_tests/data/sdam/rs/member_reconfig.yml +72 -0
- data/spec/spec_tests/data/sdam/rs/member_standalone.yml +64 -0
- data/spec/spec_tests/data/sdam/rs/new_primary.yml +78 -0
- data/spec/spec_tests/data/sdam/rs/new_primary_new_electionid.yml +116 -0
- data/spec/spec_tests/data/sdam/rs/new_primary_new_setversion.yml +116 -0
- data/spec/spec_tests/data/sdam/rs/new_primary_wrong_set_name.yml +75 -0
- data/spec/spec_tests/data/sdam/rs/non_rs_member.yml +32 -0
- data/spec/spec_tests/data/sdam/rs/normalize_case.yml +51 -0
- data/spec/spec_tests/data/sdam/rs/normalize_case_me.yml +100 -0
- data/spec/spec_tests/data/sdam/rs/null_election_id.yml +171 -0
- data/spec/spec_tests/data/sdam/rs/primary_becomes_ghost.yml +63 -0
- data/spec/spec_tests/data/sdam/rs/primary_becomes_mongos.yml +56 -0
- data/spec/spec_tests/data/sdam/rs/primary_becomes_standalone.yml +54 -0
- data/spec/spec_tests/data/sdam/rs/primary_changes_set_name.yml +61 -0
- data/spec/spec_tests/data/sdam/rs/primary_disconnect.yml +58 -0
- data/spec/spec_tests/data/sdam/rs/primary_disconnect_electionid.yml +184 -0
- data/spec/spec_tests/data/sdam/rs/primary_disconnect_setversion.yml +184 -0
- data/spec/spec_tests/data/sdam/rs/primary_hint_from_secondary_with_mismatched_me.yml +62 -0
- data/spec/spec_tests/data/sdam/rs/primary_mismatched_me.yml +26 -0
- data/spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml +73 -0
- data/spec/spec_tests/data/sdam/rs/primary_reports_new_member.yml +171 -0
- data/spec/spec_tests/data/sdam/rs/primary_to_no_primary_mismatched_me.yml +79 -0
- data/spec/spec_tests/data/sdam/rs/primary_wrong_set_name.yml +29 -0
- data/spec/spec_tests/data/sdam/rs/repeated.yml +101 -0
- data/spec/spec_tests/data/sdam/rs/replicaset_rsnp.yml +20 -0
- data/spec/spec_tests/data/sdam/rs/response_from_removed.yml +67 -0
- data/spec/spec_tests/data/sdam/rs/ruby_primary_address_change.yml +31 -0
- data/spec/spec_tests/data/sdam/rs/ruby_secondary_wrong_set_name_with_primary_second.yml +73 -0
- data/spec/spec_tests/data/sdam/rs/sec_not_auth.yml +53 -0
- data/spec/spec_tests/data/sdam/rs/secondary_ignore_ok_0.yml +85 -0
- data/spec/spec_tests/data/sdam/rs/secondary_mismatched_me.yml +27 -0
- data/spec/spec_tests/data/sdam/rs/secondary_wrong_set_name.yml +30 -0
- data/spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary.yml +73 -0
- data/spec/spec_tests/data/sdam/rs/setversion_without_electionid.yml +77 -0
- data/spec/spec_tests/data/sdam/rs/stepdown_change_set_name.yml +63 -0
- data/spec/spec_tests/data/sdam/rs/too_new.yml +43 -0
- data/spec/spec_tests/data/sdam/rs/too_old.yml +39 -0
- data/spec/spec_tests/data/sdam/rs/topology_version_equal.yml +66 -0
- data/spec/spec_tests/data/sdam/rs/topology_version_greater.yml +189 -0
- data/spec/spec_tests/data/sdam/rs/topology_version_less.yml +62 -0
- data/spec/spec_tests/data/sdam/rs/unexpected_mongos.yml +28 -0
- data/spec/spec_tests/data/sdam/rs/use_setversion_without_electionid.yml +114 -0
- data/spec/spec_tests/data/sdam/rs/wrong_set_name.yml +37 -0
- data/spec/spec_tests/data/sdam/sharded/compatible.yml +38 -0
- data/spec/spec_tests/data/sdam/sharded/discover_single_mongos.yml +23 -0
- data/spec/spec_tests/data/sdam/sharded/ls_timeout_mongos.yml +97 -0
- data/spec/spec_tests/data/sdam/sharded/mongos_disconnect.yml +110 -0
- data/spec/spec_tests/data/sdam/sharded/multiple_mongoses.yml +50 -0
- data/spec/spec_tests/data/sdam/sharded/non_mongos_removed.yml +45 -0
- data/spec/spec_tests/data/sdam/sharded/normalize_uri_case.yml +32 -0
- data/spec/spec_tests/data/sdam/sharded/ruby_primary_different_address.yml +21 -0
- data/spec/spec_tests/data/sdam/sharded/ruby_primary_mismatched_me.yml +22 -0
- data/spec/spec_tests/data/sdam/sharded/too_new.yml +36 -0
- data/spec/spec_tests/data/sdam/sharded/too_old.yml +36 -0
- data/spec/spec_tests/data/sdam/single/compatible.yml +26 -0
- data/spec/spec_tests/data/sdam/single/direct_connection_external_ip.yml +36 -0
- data/spec/spec_tests/data/sdam/single/direct_connection_mongos.yml +35 -0
- data/spec/spec_tests/data/sdam/single/direct_connection_replicaset.yml +22 -0
- data/spec/spec_tests/data/sdam/single/direct_connection_rsarbiter.yml +37 -0
- data/spec/spec_tests/data/sdam/single/direct_connection_rsprimary.yml +36 -0
- data/spec/spec_tests/data/sdam/single/direct_connection_rssecondary.yml +37 -0
- data/spec/spec_tests/data/sdam/single/direct_connection_slave.yml +34 -0
- data/spec/spec_tests/data/sdam/single/direct_connection_standalone.yml +34 -0
- data/spec/spec_tests/data/sdam/single/direct_connection_unavailable_seed.yml +28 -0
- data/spec/spec_tests/data/sdam/single/direct_connection_wrong_set_name.yml +38 -0
- data/spec/spec_tests/data/sdam/single/discover_standalone.yml +34 -0
- data/spec/spec_tests/data/sdam/single/discover_unavailable_seed.yml +28 -0
- data/spec/spec_tests/data/sdam/single/ls_timeout_standalone.yml +35 -0
- data/spec/spec_tests/data/sdam/single/not_ok_response.yml +42 -0
- data/spec/spec_tests/data/sdam/single/ruby_primary_different_address.yml +24 -0
- data/spec/spec_tests/data/sdam/single/ruby_primary_mismatched_me.yml +25 -0
- data/spec/spec_tests/data/sdam/single/standalone_removed.yml +34 -0
- data/spec/spec_tests/data/sdam/single/too_new.yml +26 -0
- data/spec/spec_tests/data/sdam/single/too_old.yml +24 -0
- data/spec/spec_tests/data/sdam/single/too_old_then_upgraded.yml +46 -0
- data/spec/spec_tests/data/sdam_integration/cancel-server-check.yml +96 -0
- data/spec/spec_tests/data/sdam_integration/connectTimeoutMS.yml +88 -0
- data/spec/spec_tests/data/sdam_integration/find-network-error.yml +83 -0
- data/spec/spec_tests/data/sdam_integration/find-shutdown-error.yml +116 -0
- data/spec/spec_tests/data/sdam_integration/insert-network-error.yml +86 -0
- data/spec/spec_tests/data/sdam_integration/insert-shutdown-error.yml +115 -0
- data/spec/spec_tests/data/sdam_integration/isMaster-command-error.yml +168 -0
- data/spec/spec_tests/data/sdam_integration/isMaster-network-error.yml +162 -0
- data/spec/spec_tests/data/sdam_integration/isMaster-timeout.yml +229 -0
- data/spec/spec_tests/data/sdam_integration/rediscover-quickly-after-step-down.yml +87 -0
- data/spec/spec_tests/data/sdam_monitoring/discovered_standalone.yml +70 -0
- data/spec/spec_tests/data/sdam_monitoring/replica_set_other_chain.yml +222 -0
- data/spec/spec_tests/data/sdam_monitoring/replica_set_other_change.yml +225 -0
- data/spec/spec_tests/data/sdam_monitoring/replica_set_primary_address_change.yml +251 -0
- data/spec/spec_tests/data/sdam_monitoring/replica_set_with_me_mismatch.yml +111 -0
- data/spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_and_secondary.yml +198 -0
- data/spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_removal.yml +175 -0
- data/spec/spec_tests/data/sdam_monitoring/replica_set_with_removal.yml +110 -0
- data/spec/spec_tests/data/sdam_monitoring/replica_set_with_second_seed_removal.yml +106 -0
- data/spec/spec_tests/data/sdam_monitoring/required_replica_set.yml +107 -0
- data/spec/spec_tests/data/sdam_monitoring/standalone.yml +70 -0
- data/spec/spec_tests/data/sdam_monitoring/standalone_repeated.yml +86 -0
- data/spec/spec_tests/data/sdam_monitoring/standalone_suppress_equal_description_changes.yml +73 -0
- data/spec/spec_tests/data/sdam_monitoring/standalone_to_rs_with_me_mismatch.yml +90 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest.yml +25 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_multiple.yml +26 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.yml +20 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimary.yml +15 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimaryNearest.yml +15 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Primary.yml +18 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred.yml +25 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred_non_matching.yml +20 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary.yml +25 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred.yml +25 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred_non_matching.yml +20 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_non_matching.yml +20 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest.yml +32 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_multiple.yml +33 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_non_matching.yml +25 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Primary.yml +26 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred.yml +28 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred_non_matching.yml +28 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary.yml +30 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred.yml +30 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_non_matching.yml +28 -0
- data/spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary_non_matching.yml +25 -0
- data/spec/spec_tests/data/server_selection/Sharded/read/Nearest.yml +21 -0
- data/spec/spec_tests/data/server_selection/Sharded/read/Primary.yml +19 -0
- data/spec/spec_tests/data/server_selection/Sharded/read/PrimaryPreferred.yml +21 -0
- data/spec/spec_tests/data/server_selection/Sharded/read/Secondary.yml +21 -0
- data/spec/spec_tests/data/server_selection/Sharded/read/SecondaryPreferred.yml +21 -0
- data/spec/spec_tests/data/server_selection/Single/read/SecondaryPreferred.yml +18 -0
- data/spec/spec_tests/data/server_selection/Unknown/read/SecondaryPreferred.yml +10 -0
- data/spec/spec_tests/data/transactions/abort.yml +413 -0
- data/spec/spec_tests/data/transactions/bulk.yml +267 -0
- data/spec/spec_tests/data/transactions/causal-consistency.yml +175 -0
- data/spec/spec_tests/data/transactions/commit.yml +603 -0
- data/spec/spec_tests/data/transactions/count.yml +67 -0
- data/spec/spec_tests/data/transactions/create-collection.yml +131 -0
- data/spec/spec_tests/data/transactions/create-index.yml +152 -0
- data/spec/spec_tests/data/transactions/delete.yml +192 -0
- data/spec/spec_tests/data/transactions/error-labels.yml +1027 -0
- data/spec/spec_tests/data/transactions/errors-client.yml +56 -0
- data/spec/spec_tests/data/transactions/errors.yml +133 -0
- data/spec/spec_tests/data/transactions/findOneAndDelete.yml +134 -0
- data/spec/spec_tests/data/transactions/findOneAndReplace.yml +148 -0
- data/spec/spec_tests/data/transactions/findOneAndUpdate.yml +236 -0
- data/spec/spec_tests/data/transactions/insert.yml +390 -0
- data/spec/spec_tests/data/transactions/isolation.yml +133 -0
- data/spec/spec_tests/data/transactions/mongos-pin-auto.yml +1671 -0
- data/spec/spec_tests/data/transactions/mongos-recovery-token.yml +348 -0
- data/spec/spec_tests/data/transactions/pin-mongos.yml +556 -0
- data/spec/spec_tests/data/transactions/read-concern.yml +623 -0
- data/spec/spec_tests/data/transactions/read-pref.yml +348 -0
- data/spec/spec_tests/data/transactions/reads.yml +261 -0
- data/spec/spec_tests/data/transactions/retryable-abort-errorLabels.yml +124 -0
- data/spec/spec_tests/data/transactions/retryable-abort.yml +1315 -0
- data/spec/spec_tests/data/transactions/retryable-commit-errorLabels.yml +132 -0
- data/spec/spec_tests/data/transactions/retryable-commit.yml +1460 -0
- data/spec/spec_tests/data/transactions/retryable-writes.yml +216 -0
- data/spec/spec_tests/data/transactions/run-command.yml +197 -0
- data/spec/spec_tests/data/transactions/transaction-options-repl.yml +117 -0
- data/spec/spec_tests/data/transactions/transaction-options.yml +781 -0
- data/spec/spec_tests/data/transactions/update.yml +246 -0
- data/spec/spec_tests/data/transactions/write-concern.yml +554 -0
- data/spec/spec_tests/data/transactions_api/callback-aborts.yml +170 -0
- data/spec/spec_tests/data/transactions_api/callback-commits.yml +204 -0
- data/spec/spec_tests/data/transactions_api/callback-retry.yml +215 -0
- data/spec/spec_tests/data/transactions_api/commit-retry.yml +324 -0
- data/spec/spec_tests/data/transactions_api/commit-transienttransactionerror-4.2.yml +139 -0
- data/spec/spec_tests/data/transactions_api/commit-transienttransactionerror.yml +175 -0
- data/spec/spec_tests/data/transactions_api/commit-writeconcernerror.yml +216 -0
- data/spec/spec_tests/data/transactions_api/commit.yml +193 -0
- data/spec/spec_tests/data/transactions_api/transaction-options.yml +274 -0
- data/spec/spec_tests/data/uri_options/auth-options.yml +49 -0
- data/spec/spec_tests/data/uri_options/compression-options.yml +51 -0
- data/spec/spec_tests/data/uri_options/concern-options.yml +55 -0
- data/spec/spec_tests/data/uri_options/connection-options.yml +149 -0
- data/spec/spec_tests/data/uri_options/connection-pool-options.yml +26 -0
- data/spec/spec_tests/data/uri_options/read-preference-options.yml +66 -0
- data/spec/spec_tests/data/uri_options/ruby-auth-options.yml +12 -0
- data/spec/spec_tests/data/uri_options/ruby-connection-options.yml +58 -0
- data/spec/spec_tests/data/uri_options/tls-options.yml +364 -0
- data/spec/spec_tests/dns_seedlist_discovery_spec.rb +76 -0
- data/spec/spec_tests/gridfs_spec.rb +52 -0
- data/spec/spec_tests/max_staleness_spec.rb +9 -0
- data/spec/spec_tests/read_write_concern_connection_string_spec.rb +10 -0
- data/spec/spec_tests/read_write_concern_document_spec.rb +74 -0
- data/spec/spec_tests/read_write_concern_operaton_spec.rb +10 -0
- data/spec/spec_tests/retryable_reads_spec.rb +47 -0
- data/spec/spec_tests/retryable_writes_spec.rb +19 -0
- data/spec/spec_tests/sdam_integration_spec.rb +13 -0
- data/spec/spec_tests/sdam_monitoring_spec.rb +93 -0
- data/spec/spec_tests/sdam_spec.rb +239 -0
- data/spec/spec_tests/server_selection_rtt_spec.rb +30 -0
- data/spec/spec_tests/server_selection_spec.rb +9 -0
- data/spec/spec_tests/transactions_api_spec.rb +10 -0
- data/spec/spec_tests/transactions_spec.rb +10 -0
- data/spec/spec_tests/uri_options_spec.rb +74 -0
- data/spec/stress/cleanup_spec.rb +58 -0
- data/spec/stress/connection_pool_stress_spec.rb +201 -0
- data/spec/stress/connection_pool_timing_spec.rb +181 -0
- data/spec/stress/fork_reconnect_stress_spec.rb +109 -0
- data/spec/support/authorization.rb +51 -153
- data/spec/support/aws_utils/base.rb +134 -0
- data/spec/support/aws_utils/inspector.rb +224 -0
- data/spec/support/aws_utils/orchestrator.rb +370 -0
- data/spec/support/aws_utils/provisioner.rb +360 -0
- data/spec/support/aws_utils.rb +62 -0
- data/spec/support/background_thread_registry.rb +67 -0
- data/spec/support/certificates/README.md +105 -0
- data/spec/support/certificates/atlas-ocsp-ca.crt +28 -0
- data/spec/support/certificates/atlas-ocsp.crt +41 -0
- data/spec/support/certificates/ca.crt +76 -0
- data/spec/support/certificates/client-encrypted.key +30 -0
- data/spec/support/certificates/client-int.crt +78 -0
- data/spec/support/certificates/client-second-level-bundle.pem +179 -0
- data/spec/support/certificates/client-second-level.crt +74 -0
- data/spec/support/certificates/client-second-level.key +27 -0
- data/spec/support/certificates/client-second-level.pem +101 -0
- data/spec/support/certificates/client-x509.crt +78 -0
- data/spec/support/certificates/client-x509.key +27 -0
- data/spec/support/certificates/client-x509.pem +105 -0
- data/spec/support/certificates/client.crt +74 -0
- data/spec/support/certificates/client.key +27 -0
- data/spec/support/certificates/client.pem +90 -90
- data/spec/support/certificates/crl.pem +10 -8
- data/spec/support/certificates/crl_client_revoked.pem +11 -10
- data/spec/support/certificates/multi-ca.crt +152 -0
- data/spec/support/certificates/python-ca.crt +76 -0
- data/spec/support/certificates/server-int.crt +78 -0
- data/spec/support/certificates/server-second-level-bundle.pem +179 -0
- data/spec/support/certificates/server-second-level.crt +74 -0
- data/spec/support/certificates/server-second-level.key +27 -0
- data/spec/support/certificates/server-second-level.pem +101 -0
- data/spec/support/certificates/server.pem +99 -32
- data/spec/support/client_registry.rb +247 -0
- data/spec/support/client_registry_macros.rb +23 -0
- data/spec/support/cluster_config.rb +207 -0
- data/spec/support/cluster_tools.rb +376 -0
- data/spec/support/common_shortcuts.rb +342 -0
- data/spec/support/constraints.rb +16 -0
- data/spec/support/crypt/corpus/corpus-key-aws.json +33 -0
- data/spec/support/crypt/corpus/corpus-key-local.json +31 -0
- data/spec/support/crypt/corpus/corpus-schema.json +2057 -0
- data/spec/support/crypt/corpus/corpus.json +3657 -0
- data/spec/support/crypt/corpus/corpus_encrypted.json +4152 -0
- data/spec/support/crypt/data_keys/key_document_aws.json +34 -0
- data/spec/support/crypt/data_keys/key_document_local.json +31 -0
- data/spec/support/crypt/external/external-key.json +31 -0
- data/spec/support/crypt/external/external-schema.json +19 -0
- data/spec/support/crypt/limits/limits-doc.json +102 -0
- data/spec/support/crypt/limits/limits-key.json +31 -0
- data/spec/support/crypt/limits/limits-schema.json +1405 -0
- data/spec/support/crypt/schema_maps/schema_map_aws.json +17 -0
- data/spec/support/crypt/schema_maps/schema_map_aws_key_alt_names.json +12 -0
- data/spec/support/crypt/schema_maps/schema_map_local.json +18 -0
- data/spec/support/crypt/schema_maps/schema_map_local_key_alt_names.json +12 -0
- data/spec/support/crypt.rb +154 -0
- data/spec/support/dns.rb +13 -0
- data/spec/support/event_subscriber.rb +212 -0
- data/spec/support/json_ext_formatter.rb +13 -0
- data/spec/support/keyword_struct.rb +26 -0
- data/spec/support/local_resource_registry.rb +34 -0
- data/spec/support/matchers.rb +35 -0
- data/spec/support/monitoring_ext.rb +16 -0
- data/spec/support/ocsp +1 -0
- data/spec/support/primary_socket.rb +21 -0
- data/spec/support/sdam_formatter_integration.rb +116 -0
- data/spec/support/session_registry.rb +52 -0
- data/spec/support/shared/protocol.rb +2 -0
- data/spec/support/shared/scram_conversation.rb +100 -0
- data/spec/support/shared/server_selector.rb +109 -63
- data/spec/support/shared/session.rb +907 -0
- data/spec/support/spec_config.rb +560 -0
- data/spec/support/spec_setup.rb +70 -0
- data/spec/support/utils.rb +534 -0
- data.tar.gz.sig +0 -0
- metadata +2229 -653
- metadata.gz.sig +0 -0
- data/lib/csasl/csasl.bundle +0 -0
- data/lib/mongo/cluster/app_metadata.rb +0 -146
- data/lib/mongo/cluster/cursor_reaper.rb +0 -174
- data/lib/mongo/cluster/topology/replica_set.rb +0 -317
- data/lib/mongo/event/description_changed.rb +0 -72
- data/lib/mongo/event/member_discovered.rb +0 -65
- data/lib/mongo/event/primary_elected.rb +0 -55
- data/lib/mongo/event/standalone_discovered.rb +0 -53
- data/lib/mongo/operation/commands/aggregate/result.rb +0 -89
- data/lib/mongo/operation/commands/aggregate.rb +0 -64
- data/lib/mongo/operation/commands/collections_info/result.rb +0 -41
- data/lib/mongo/operation/commands/collections_info.rb +0 -71
- data/lib/mongo/operation/commands/command.rb +0 -47
- data/lib/mongo/operation/commands/create.rb +0 -45
- data/lib/mongo/operation/commands/drop.rb +0 -45
- data/lib/mongo/operation/commands/drop_database.rb +0 -45
- data/lib/mongo/operation/commands/find/result.rb +0 -62
- data/lib/mongo/operation/commands/find.rb +0 -27
- data/lib/mongo/operation/commands/get_more/result.rb +0 -62
- data/lib/mongo/operation/commands/get_more.rb +0 -27
- data/lib/mongo/operation/commands/indexes.rb +0 -73
- data/lib/mongo/operation/commands/list_collections/result.rb +0 -94
- data/lib/mongo/operation/commands/list_collections.rb +0 -48
- data/lib/mongo/operation/commands/list_indexes/result.rb +0 -98
- data/lib/mongo/operation/commands/list_indexes.rb +0 -48
- data/lib/mongo/operation/commands/map_reduce/result.rb +0 -119
- data/lib/mongo/operation/commands/map_reduce.rb +0 -60
- data/lib/mongo/operation/commands/parallel_scan/result.rb +0 -64
- data/lib/mongo/operation/commands/parallel_scan.rb +0 -53
- data/lib/mongo/operation/commands/user_query.rb +0 -72
- data/lib/mongo/operation/commands/users_info/result.rb +0 -44
- data/lib/mongo/operation/commands/users_info.rb +0 -48
- data/lib/mongo/operation/commands.rb +0 -29
- data/lib/mongo/operation/executable.rb +0 -42
- data/lib/mongo/operation/limited.rb +0 -37
- data/lib/mongo/operation/object_id_generator.rb +0 -36
- data/lib/mongo/operation/read/get_more.rb +0 -52
- data/lib/mongo/operation/read/query/result.rb +0 -40
- data/lib/mongo/operation/read/query.rb +0 -55
- data/lib/mongo/operation/read.rb +0 -16
- data/lib/mongo/operation/read_preference.rb +0 -61
- data/lib/mongo/operation/specifiable.rb +0 -507
- data/lib/mongo/operation/takes_write_concern.rb +0 -35
- data/lib/mongo/operation/write/bulk/bulkable.rb +0 -83
- data/lib/mongo/operation/write/bulk/delete/result.rb +0 -71
- data/lib/mongo/operation/write/bulk/delete.rb +0 -71
- data/lib/mongo/operation/write/bulk/insert/result.rb +0 -129
- data/lib/mongo/operation/write/bulk/insert.rb +0 -96
- data/lib/mongo/operation/write/bulk/legacy_mergable.rb +0 -87
- data/lib/mongo/operation/write/bulk/mergable.rb +0 -71
- data/lib/mongo/operation/write/bulk/update/result.rb +0 -205
- data/lib/mongo/operation/write/bulk/update.rb +0 -81
- data/lib/mongo/operation/write/bulk.rb +0 -20
- data/lib/mongo/operation/write/command/create_index.rb +0 -55
- data/lib/mongo/operation/write/command/create_user.rb +0 -42
- data/lib/mongo/operation/write/command/delete.rb +0 -56
- data/lib/mongo/operation/write/command/drop_index.rb +0 -56
- data/lib/mongo/operation/write/command/insert.rb +0 -66
- data/lib/mongo/operation/write/command/remove_user.rb +0 -41
- data/lib/mongo/operation/write/command/update.rb +0 -63
- data/lib/mongo/operation/write/command/update_user.rb +0 -42
- data/lib/mongo/operation/write/command/writable.rb +0 -57
- data/lib/mongo/operation/write/command.rb +0 -23
- data/lib/mongo/operation/write/create_index.rb +0 -67
- data/lib/mongo/operation/write/create_user.rb +0 -50
- data/lib/mongo/operation/write/delete/result.rb +0 -40
- data/lib/mongo/operation/write/delete.rb +0 -75
- data/lib/mongo/operation/write/drop_index.rb +0 -63
- data/lib/mongo/operation/write/gle.rb +0 -49
- data/lib/mongo/operation/write/idable.rb +0 -63
- data/lib/mongo/operation/write/insert/result.rb +0 -62
- data/lib/mongo/operation/write/insert.rb +0 -71
- data/lib/mongo/operation/write/remove_user.rb +0 -48
- data/lib/mongo/operation/write/update/result.rb +0 -160
- data/lib/mongo/operation/write/update.rb +0 -85
- data/lib/mongo/operation/write/update_user.rb +0 -50
- data/lib/mongo/operation/write/write_command_enabled.rb +0 -62
- data/lib/mongo/operation/write.rb +0 -27
- data/lib/mongo/server/connectable.rb +0 -119
- data/lib/mongo/server/connection_pool/queue.rb +0 -197
- data/lib/mongo/server/description/inspector/description_changed.rb +0 -57
- data/lib/mongo/server/description/inspector/member_discovered.rb +0 -59
- data/lib/mongo/server/description/inspector/primary_elected.rb +0 -60
- data/lib/mongo/server/description/inspector/standalone_discovered.rb +0 -56
- data/lib/mongo/server/description/inspector.rb +0 -81
- data/lib/mongo/server_selector/selectable.rb +0 -281
- data/lib/mongo/write_concern/normalizable.rb +0 -52
- data/spec/mongo/cluster/app_metadata_spec.rb +0 -104
- data/spec/mongo/command_monitoring_spec.rb +0 -64
- data/spec/mongo/connection_string_spec.rb +0 -115
- data/spec/mongo/crud_spec.rb +0 -41
- data/spec/mongo/gridfs_spec.rb +0 -50
- data/spec/mongo/max_staleness_spec.rb +0 -126
- data/spec/mongo/operation/commands/aggregate/result_spec.rb +0 -80
- data/spec/mongo/operation/commands/aggregate_spec.rb +0 -72
- data/spec/mongo/operation/commands/collections_info_spec.rb +0 -40
- data/spec/mongo/operation/commands/command_spec.rb +0 -80
- data/spec/mongo/operation/commands/indexes_spec.rb +0 -31
- data/spec/mongo/operation/commands/map_reduce_spec.rb +0 -125
- data/spec/mongo/operation/read/get_more_spec.rb +0 -53
- data/spec/mongo/operation/read/query_spec.rb +0 -102
- data/spec/mongo/operation/read_preference_spec.rb +0 -245
- data/spec/mongo/operation/write/bulk/delete_spec.rb +0 -223
- data/spec/mongo/operation/write/bulk/insert_spec.rb +0 -250
- data/spec/mongo/operation/write/bulk/update_spec.rb +0 -220
- data/spec/mongo/operation/write/command/delete_spec.rb +0 -106
- data/spec/mongo/operation/write/command/insert_spec.rb +0 -105
- data/spec/mongo/operation/write/command/update_spec.rb +0 -110
- data/spec/mongo/operation/write/create_index_spec.rb +0 -63
- data/spec/mongo/operation/write/create_user_spec.rb +0 -44
- data/spec/mongo/operation/write/delete_spec.rb +0 -215
- data/spec/mongo/operation/write/drop_index_spec.rb +0 -51
- data/spec/mongo/operation/write/insert_spec.rb +0 -291
- data/spec/mongo/operation/write/remove_user_spec.rb +0 -46
- data/spec/mongo/operation/write/update_spec.rb +0 -256
- data/spec/mongo/operation/write/update_user_spec.rb +0 -46
- data/spec/mongo/sdam_monitoring_spec.rb +0 -60
- data/spec/mongo/sdam_spec.rb +0 -84
- data/spec/mongo/server/connection_pool/queue_spec.rb +0 -190
- data/spec/mongo/server/description/inspector/description_changed_spec.rb +0 -78
- data/spec/mongo/server/description/inspector/primary_elected_spec.rb +0 -94
- data/spec/mongo/server_selection_rtt_spec.rb +0 -85
- data/spec/mongo/server_selection_spec.rb +0 -93
- data/spec/support/certificates/ca.pem +0 -17
- data/spec/support/certificates/client_cert.pem +0 -21
- data/spec/support/certificates/client_key.pem +0 -28
- data/spec/support/certificates/client_key_encrypted.pem +0 -30
- data/spec/support/certificates/password_protected.pem +0 -51
- data/spec/support/command_monitoring/bulkWrite.yml +0 -73
- data/spec/support/command_monitoring/command.yml +0 -42
- data/spec/support/command_monitoring/find.yml +0 -268
- data/spec/support/command_monitoring/insertMany.yml +0 -81
- data/spec/support/command_monitoring/updateMany.yml +0 -67
- data/spec/support/command_monitoring/updateOne.yml +0 -95
- data/spec/support/command_monitoring.rb +0 -376
- data/spec/support/connection_string.rb +0 -228
- data/spec/support/connection_string_tests/invalid-uris.yml +0 -193
- data/spec/support/connection_string_tests/valid-auth.yml +0 -256
- data/spec/support/connection_string_tests/valid-options.yml +0 -30
- data/spec/support/connection_string_tests/valid-unix_socket-absolute.yml +0 -197
- data/spec/support/connection_string_tests/valid-unix_socket-relative.yml +0 -213
- data/spec/support/connection_string_tests/valid-warnings.yml +0 -55
- data/spec/support/crud/read.rb +0 -154
- data/spec/support/crud/write.rb +0 -224
- data/spec/support/crud.rb +0 -271
- data/spec/support/crud_tests/read/aggregate-out.yml +0 -28
- data/spec/support/crud_tests/read/count-collation.yml +0 -15
- data/spec/support/crud_tests/read/count.yml +0 -36
- data/spec/support/crud_tests/write/findOneAndReplace-upsert.yml +0 -47
- data/spec/support/crud_tests/write/findOneAndReplace.yml +0 -142
- data/spec/support/crud_tests/write/findOneAndUpdate.yml +0 -160
- data/spec/support/crud_tests/write/insertMany.yml +0 -23
- data/spec/support/crud_tests/write/replaceOne-collation.yml +0 -23
- data/spec/support/crud_tests/write/replaceOne.yml +0 -86
- data/spec/support/crud_tests/write/updateMany-collation.yml +0 -27
- data/spec/support/crud_tests/write/updateMany.yml +0 -82
- data/spec/support/crud_tests/write/updateOne-collation.yml +0 -24
- data/spec/support/crud_tests/write/updateOne.yml +0 -79
- data/spec/support/gridfs.rb +0 -637
- data/spec/support/gridfs_tests/delete.yml +0 -157
- data/spec/support/gridfs_tests/download.yml +0 -210
- data/spec/support/helpers.rb +0 -140
- data/spec/support/max_staleness/Unknown/SmallMaxStaleness.yml +0 -14
- data/spec/support/sdam/rs/discover_arbiters.yml +0 -41
- data/spec/support/sdam/rs/discover_passives.yml +0 -77
- data/spec/support/sdam/rs/discover_primary.yml +0 -40
- data/spec/support/sdam/rs/discover_secondary.yml +0 -41
- data/spec/support/sdam/rs/discovery.yml +0 -195
- data/spec/support/sdam/rs/equal_electionids.yml +0 -48
- data/spec/support/sdam/rs/ghost_discovered.yml +0 -39
- data/spec/support/sdam/rs/hosts_differ_from_seeds.yml +0 -34
- data/spec/support/sdam/rs/member_reconfig.yml +0 -68
- data/spec/support/sdam/rs/member_standalone.yml +0 -60
- data/spec/support/sdam/rs/new_primary.yml +0 -74
- data/spec/support/sdam/rs/new_primary_new_electionid.yml +0 -101
- data/spec/support/sdam/rs/new_primary_new_setversion.yml +0 -101
- data/spec/support/sdam/rs/new_primary_wrong_set_name.yml +0 -71
- data/spec/support/sdam/rs/non_rs_member.yml +0 -31
- data/spec/support/sdam/rs/normalize_case.yml +0 -49
- data/spec/support/sdam/rs/null_election_id.yml +0 -152
- data/spec/support/sdam/rs/primary_becomes_standalone.yml +0 -52
- data/spec/support/sdam/rs/primary_changes_set_name.yml +0 -57
- data/spec/support/sdam/rs/primary_disconnect.yml +0 -56
- data/spec/support/sdam/rs/primary_disconnect_electionid.yml +0 -159
- data/spec/support/sdam/rs/primary_disconnect_setversion.yml +0 -159
- data/spec/support/sdam/rs/primary_mismatched_me.yml +0 -37
- data/spec/support/sdam/rs/primary_reports_new_member.yml +0 -163
- data/spec/support/sdam/rs/primary_to_no_primary_mismatched_me.yml +0 -75
- data/spec/support/sdam/rs/primary_wrong_set_name.yml +0 -27
- data/spec/support/sdam/rs/response_from_removed.yml +0 -63
- data/spec/support/sdam/rs/rsother_discovered.yml +0 -62
- data/spec/support/sdam/rs/sec_not_auth.yml +0 -49
- data/spec/support/sdam/rs/secondary_mismatched_me.yml +0 -37
- data/spec/support/sdam/rs/secondary_wrong_set_name.yml +0 -28
- data/spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml +0 -69
- data/spec/support/sdam/rs/set_version_without_electionid.yml +0 -69
- data/spec/support/sdam/rs/setversion_without_electionid.yml +0 -69
- data/spec/support/sdam/rs/stepdown_change_set_name.yml +0 -59
- data/spec/support/sdam/rs/unexpected_mongos.yml +0 -26
- data/spec/support/sdam/rs/use_setversion_without_electionid.yml +0 -99
- data/spec/support/sdam/rs/wrong_set_name.yml +0 -35
- data/spec/support/sdam/sharded/mongos_disconnect.yml +0 -104
- data/spec/support/sdam/sharded/multiple_mongoses.yml +0 -46
- data/spec/support/sdam/sharded/non_mongos_removed.yml +0 -41
- data/spec/support/sdam/sharded/normalize_uri_case.yml +0 -32
- data/spec/support/sdam/sharded/single_mongos.yml +0 -33
- data/spec/support/sdam/single/direct_connection_external_ip.yml +0 -34
- data/spec/support/sdam/single/direct_connection_mongos.yml +0 -33
- data/spec/support/sdam/single/direct_connection_rsarbiter.yml +0 -35
- data/spec/support/sdam/single/direct_connection_rsprimary.yml +0 -34
- data/spec/support/sdam/single/direct_connection_rssecondary.yml +0 -35
- data/spec/support/sdam/single/direct_connection_slave.yml +0 -32
- data/spec/support/sdam/single/direct_connection_standalone.yml +0 -32
- data/spec/support/sdam/single/not_ok_response.yml +0 -38
- data/spec/support/sdam/single/standalone_removed.yml +0 -32
- data/spec/support/sdam/single/unavailable_seed.yml +0 -28
- data/spec/support/sdam_monitoring/replica_set_with_removal.yml +0 -106
- data/spec/support/sdam_monitoring/required_replica_set.yml +0 -84
- data/spec/support/sdam_monitoring/standalone.yml +0 -70
- data/spec/support/sdam_monitoring.rb +0 -144
- data/spec/support/server_discovery_and_monitoring.rb +0 -219
- data/spec/support/server_selection/selection/ReplicaSetNoPrimary/read/Nearest.yml +0 -26
- data/spec/support/server_selection/selection/ReplicaSetNoPrimary/read/Nearest_multiple.yml +0 -27
- data/spec/support/server_selection/selection/ReplicaSetNoPrimary/read/Nearest_non_matching.yml +0 -21
- data/spec/support/server_selection/selection/ReplicaSetNoPrimary/read/Primary.yml +0 -21
- data/spec/support/server_selection/selection/ReplicaSetNoPrimary/read/PrimaryPreferred.yml +0 -26
- data/spec/support/server_selection/selection/ReplicaSetNoPrimary/read/PrimaryPreferred_non_matching.yml +0 -21
- data/spec/support/server_selection/selection/ReplicaSetNoPrimary/read/Secondary.yml +0 -26
- data/spec/support/server_selection/selection/ReplicaSetNoPrimary/read/SecondaryPreferred.yml +0 -26
- data/spec/support/server_selection/selection/ReplicaSetNoPrimary/read/SecondaryPreferred_non_matching.yml +0 -21
- data/spec/support/server_selection/selection/ReplicaSetNoPrimary/read/Secondary_non_matching.yml +0 -21
- data/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/Nearest.yml +0 -33
- data/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/Nearest_multiple.yml +0 -34
- data/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/Nearest_non_matching.yml +0 -26
- data/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/Primary.yml +0 -29
- data/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/PrimaryPreferred.yml +0 -29
- data/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/PrimaryPreferred_non_matching.yml +0 -29
- data/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/Secondary.yml +0 -31
- data/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/SecondaryPreferred.yml +0 -31
- data/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/SecondaryPreferred_non_matching.yml +0 -29
- data/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/Secondary_non_matching.yml +0 -26
- data/spec/support/server_selection/selection/Sharded/read/SecondaryPreferred.yml +0 -26
- data/spec/support/server_selection/selection/Single/read/SecondaryPreferred.yml +0 -19
- data/spec/support/server_selection/selection/Unknown/read/SecondaryPreferred.yml +0 -11
- data/spec/support/server_selection.rb +0 -163
- data/spec/support/server_selection_rtt.rb +0 -41
- data/spec/support/travis.rb +0 -14
- /data/spec/{support → spec_tests/data}/command_monitoring/deleteMany.yml +0 -0
- /data/spec/{support → spec_tests/data}/command_monitoring/deleteOne.yml +0 -0
- /data/spec/{support → spec_tests/data}/command_monitoring/insertOne.yml +0 -0
- /data/spec/{support/connection_string_tests → spec_tests/data/connection_string}/valid-host_identifiers.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/read/aggregate-collation.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/read/aggregate.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/read/distinct-collation.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/read/distinct.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/read/find-collation.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/read/find.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/write/deleteMany-collation.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/write/deleteMany.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/write/deleteOne-collation.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/write/deleteOne.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/write/findOneAndDelete-collation.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/write/findOneAndDelete.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/write/findOneAndReplace-collation.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/write/findOneAndUpdate-collation.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/write/insertOne.yml +0 -0
- /data/spec/{support/crud_tests → spec_tests/data/crud}/write/replaceOne-upsert.yml +0 -0
- /data/spec/{support/gridfs_tests → spec_tests/data/gridfs}/download_by_name.yml +0 -0
- /data/spec/{support/gridfs_tests → spec_tests/data/gridfs}/upload.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetNoPrimary/DefaultNoMaxStaleness.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetNoPrimary/Incompatible.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetNoPrimary/LastUpdateTime.yml +0 -0
- /data/spec/{support/max_staleness/ReplicaSetNoPrimary/NoKnownServers.yml → spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml} +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetNoPrimary/Nearest.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetNoPrimary/Nearest2.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred_tags.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetNoPrimary/Secondary.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred_tags.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetNoPrimary/ZeroMaxStaleness.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/DefaultNoMaxStaleness.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/Incompatible.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/LastUpdateTime.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/LongHeartbeat.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/LongHeartbeat2.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/MaxStalenessTooSmall.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/Nearest.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/Nearest2.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/Nearest_tags.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred_incompatible.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags2.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/Secondary_tags.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/Secondary_tags2.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/ReplicaSetWithPrimary/ZeroMaxStaleness.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/Sharded/Incompatible.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/Sharded/SmallMaxStaleness.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/Single/Incompatible.yml +0 -0
- /data/spec/{support → spec_tests/data}/max_staleness/Single/SmallMaxStaleness.yml +0 -0
- /data/spec/{support → spec_tests/data}/sdam_monitoring/replica_set_with_no_primary.yml +0 -0
- /data/spec/{support → spec_tests/data}/sdam_monitoring/replica_set_with_primary.yml +0 -0
- /data/spec/{support/server_selection/selection → spec_tests/data/server_selection}/ReplicaSetNoPrimary/read/Secondary_multi_tags.yml +0 -0
- /data/spec/{support/server_selection/selection → spec_tests/data/server_selection}/ReplicaSetNoPrimary/read/Secondary_multi_tags2.yml +0 -0
- /data/spec/{support/server_selection/selection → spec_tests/data/server_selection}/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml +0 -0
- /data/spec/{support/server_selection/rtt → spec_tests/data/server_selection_rtt}/first_value.yml +0 -0
- /data/spec/{support/server_selection/rtt → spec_tests/data/server_selection_rtt}/first_value_zero.yml +0 -0
- /data/spec/{support/server_selection/rtt → spec_tests/data/server_selection_rtt}/value_test_1.yml +0 -0
- /data/spec/{support/server_selection/rtt → spec_tests/data/server_selection_rtt}/value_test_2.yml +0 -0
- /data/spec/{support/server_selection/rtt → spec_tests/data/server_selection_rtt}/value_test_3.yml +0 -0
- /data/spec/{support/server_selection/rtt → spec_tests/data/server_selection_rtt}/value_test_4.yml +0 -0
- /data/spec/{support/server_selection/rtt → spec_tests/data/server_selection_rtt}/value_test_5.yml +0 -0
@@ -0,0 +1,76 @@
|
|
1
|
+
Certificate:
|
2
|
+
Data:
|
3
|
+
Version: 3 (0x2)
|
4
|
+
Serial Number: 210471 (0x33627)
|
5
|
+
Signature Algorithm: sha256WithRSAEncryption
|
6
|
+
Issuer: CN = Ruby Driver CA, OU = Drivers, O = MongoDB, L = New York City, ST = New York, C = US
|
7
|
+
Validity
|
8
|
+
Not Before: Feb 14 20:57:50 2019 GMT
|
9
|
+
Not After : Feb 14 20:57:50 2039 GMT
|
10
|
+
Subject: CN = Ruby Driver CA, OU = Drivers, O = MongoDB, L = New York City, ST = New York, C = US
|
11
|
+
Subject Public Key Info:
|
12
|
+
Public Key Algorithm: rsaEncryption
|
13
|
+
RSA Public-Key: (2048 bit)
|
14
|
+
Modulus:
|
15
|
+
00:96:71:17:e8:aa:87:dc:16:8e:cb:90:4c:2c:61:
|
16
|
+
11:d1:1d:9d:b8:04:75:18:8a:f1:41:37:2e:06:e6:
|
17
|
+
cb:67:2c:16:f3:24:f4:53:02:33:06:1c:6e:e7:7e:
|
18
|
+
83:14:44:a4:43:b6:5d:f1:4d:68:e7:8f:fe:4c:f7:
|
19
|
+
ca:01:e5:d2:c1:2b:a5:93:2c:cd:12:58:c3:e1:6f:
|
20
|
+
b2:31:c6:05:44:5b:99:61:99:f5:06:d0:a3:ad:de:
|
21
|
+
8f:a2:73:a1:46:94:30:e7:f7:4b:5d:fb:34:76:7e:
|
22
|
+
87:a5:26:89:0e:f9:8a:e7:12:5b:ff:11:71:e4:dd:
|
23
|
+
87:2d:e0:a9:26:a3:1b:7d:c4:00:b8:11:3a:05:f7:
|
24
|
+
00:f6:3b:80:7d:1b:0c:a3:38:42:0b:a2:17:e4:4a:
|
25
|
+
c8:00:09:c8:a0:ad:d0:73:12:66:60:3d:ce:41:07:
|
26
|
+
56:11:e5:06:9a:af:9b:ec:29:65:b6:56:b1:2a:b3:
|
27
|
+
b2:2d:10:c4:75:05:eb:1d:cb:c4:b4:2d:8f:e9:08:
|
28
|
+
3a:6d:67:e3:0a:81:6a:d5:97:9d:a0:08:f2:70:1c:
|
29
|
+
9d:9e:4b:e3:9b:42:4d:02:91:93:b8:bf:e7:e9:69:
|
30
|
+
7e:ef:ab:fc:a6:6a:69:35:37:ee:d9:b7:6f:c5:12:
|
31
|
+
38:93:4f:09:ea:84:f4:21:df:5a:50:e0:89:c8:da:
|
32
|
+
94:e1
|
33
|
+
Exponent: 65537 (0x10001)
|
34
|
+
X509v3 extensions:
|
35
|
+
X509v3 Basic Constraints:
|
36
|
+
CA:TRUE
|
37
|
+
X509v3 Subject Alternative Name:
|
38
|
+
DNS:localhost, IP Address:127.0.0.1
|
39
|
+
Signature Algorithm: sha256WithRSAEncryption
|
40
|
+
40:d9:19:82:d2:54:f5:eb:d5:f9:e1:85:b1:38:eb:d3:60:c2:
|
41
|
+
be:b7:7c:0a:59:90:0f:00:30:09:c9:7e:e1:83:7d:ce:d2:d6:
|
42
|
+
28:e8:21:3e:4e:ea:ee:47:eb:89:c0:e4:13:72:51:d2:3c:48:
|
43
|
+
06:06:86:51:55:da:24:0f:86:fa:1f:27:d6:98:58:ef:13:3f:
|
44
|
+
8f:2b:57:05:ad:d1:40:99:8f:35:2d:f7:13:9e:19:a5:1a:23:
|
45
|
+
5e:29:28:b8:cb:e4:7c:7a:2f:81:7f:1f:72:2f:2c:d2:a5:cc:
|
46
|
+
f1:fe:83:45:30:8d:23:d0:42:a5:f0:9d:e9:02:b5:09:ff:05:
|
47
|
+
72:af:00:ea:8b:38:41:88:3a:3c:75:6e:8b:5e:f3:b0:30:d3:
|
48
|
+
fb:ff:6f:4e:68:62:2a:30:6b:3e:06:3f:a2:a6:02:91:f1:f5:
|
49
|
+
5d:31:e7:f4:f0:07:9d:a6:1f:04:fa:23:7f:1e:d3:d3:30:d1:
|
50
|
+
3d:55:46:d8:2f:da:4b:fc:4d:d2:93:0a:51:bf:78:e4:07:3f:
|
51
|
+
15:77:7a:2b:20:81:54:9a:9f:21:09:86:47:81:85:dc:e4:50:
|
52
|
+
37:34:18:b0:43:91:2a:a2:9c:97:fe:a2:1a:02:91:6d:71:b3:
|
53
|
+
65:e1:c7:00:17:d5:26:d9:69:17:3b:ec:e1:5f:77:e8:19:4b:
|
54
|
+
a3:8c:2a:e0
|
55
|
+
-----BEGIN CERTIFICATE-----
|
56
|
+
MIIDkzCCAnugAwIBAgIDAzYnMA0GCSqGSIb3DQEBCwUAMHUxFzAVBgNVBAMTDlJ1
|
57
|
+
YnkgRHJpdmVyIENBMRAwDgYDVQQLEwdEcml2ZXJzMRAwDgYDVQQKEwdNb25nb0RC
|
58
|
+
MRYwFAYDVQQHEw1OZXcgWW9yayBDaXR5MREwDwYDVQQIEwhOZXcgWW9yazELMAkG
|
59
|
+
A1UEBhMCVVMwHhcNMTkwMjE0MjA1NzUwWhcNMzkwMjE0MjA1NzUwWjB1MRcwFQYD
|
60
|
+
VQQDEw5SdWJ5IERyaXZlciBDQTEQMA4GA1UECxMHRHJpdmVyczEQMA4GA1UEChMH
|
61
|
+
TW9uZ29EQjEWMBQGA1UEBxMNTmV3IFlvcmsgQ2l0eTERMA8GA1UECBMITmV3I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r8LXUPIGt
|
19
|
+
UJicODvbtcJgC9aKcRUQtMQQqffCHS87EIKBODzh27//SrD/naL+Nv8jSwuFHl4r
|
20
|
+
tDRYVms7uua2+IGV3r4CUU6euT5LTdT7vSjZNVRT1UmhYSRkf43QYF0AzcBQrRhQ
|
21
|
+
3cWlkLolJOuG8VMhqQCfUINcitJEpgBGbunJBWmTetjydeBycz0S2akVDwWb6cvA
|
22
|
+
FmfN8j/nNf2CWZ8r10g3PUzw2H0b9y7t0klcrgjJudu09OoMeyPZgUsc7Y60fAQC
|
23
|
+
clDLSQWwO9IDBhYlAAut5p/y97R02RHfJXSWOj0eHy3m9+E/ldBpq43KDP+1EYb8
|
24
|
+
6TGwpYQhSgoPJbDDIgtx1EYQ7QRCTUJ6KVjbYfz9M3WJg6iS4G0bKRBbbYRDCO6h
|
25
|
+
gZm40mCOVO2gsnMxu/QVuU7GIIWej7zYZJ6aQRvtwXJbI3vMYQeW1sqSKBYpgRoY
|
26
|
+
dANNTeeIsz9PTGdEIr/aZp7SCSoIoE8i6zC4I2l22niUy1HlzqQ9ZgXD7ujDyBeq
|
27
|
+
b/65HR4SB5XjKbQiPqvstSbBOg7pD5od+edlJyakcAF8+jW1spoLu80AIQA+HnZw
|
28
|
+
ZAKL8t7rTejKECrouqeImAKXaJOq2vdDBlPMtU/Wer2hIY/miacG3D+41nOM6i+8
|
29
|
+
gnQKe+4WxZkEf1r8j2iQx8eb0ehtM7ZPun3iwuBdXKv53mRGhgDFidYp4R21NTZj
|
30
|
+
-----END RSA PRIVATE KEY-----
|
@@ -0,0 +1,78 @@
|
|
1
|
+
Certificate:
|
2
|
+
Data:
|
3
|
+
Version: 3 (0x2)
|
4
|
+
Serial Number: 148609 (0x24481)
|
5
|
+
Signature Algorithm: sha256WithRSAEncryption
|
6
|
+
Issuer: CN = Ruby Driver CA, OU = Drivers, O = MongoDB, L = New York City, ST = New York, C = US
|
7
|
+
Validity
|
8
|
+
Not Before: May 30 22:24:53 2019 GMT
|
9
|
+
Not After : May 30 22:24:53 2039 GMT
|
10
|
+
Subject: CN = intermediate-client, OU = Ruby Driver, O = MongoDB, L = New York City, ST = New York, C = US
|
11
|
+
Subject Public Key Info:
|
12
|
+
Public Key Algorithm: rsaEncryption
|
13
|
+
RSA Public-Key: (2048 bit)
|
14
|
+
Modulus:
|
15
|
+
00:a0:8e:fd:8b:92:49:40:d4:e6:f0:d9:0f:e8:b1:
|
16
|
+
20:26:79:1c:d2:47:5b:dc:60:6d:5b:4e:e2:ee:b6:
|
17
|
+
93:57:28:90:c0:3e:0e:8b:5f:d7:c8:90:a1:69:02:
|
18
|
+
81:8b:12:50:de:9f:5a:9d:47:cc:83:73:6a:a9:17:
|
19
|
+
36:44:04:24:e2:57:bd:7f:df:51:a5:f6:34:00:8d:
|
20
|
+
40:05:fa:54:fa:83:7a:9d:11:9f:51:ad:fd:a4:c4:
|
21
|
+
b8:40:04:9f:8a:bd:e6:cd:4f:23:86:bd:25:21:25:
|
22
|
+
01:ef:38:49:90:d4:f5:95:d2:1f:46:fe:61:96:0f:
|
23
|
+
9c:86:77:c8:bc:a5:c2:4b:34:d5:9c:15:2c:57:7a:
|
24
|
+
48:a0:a1:f6:6c:24:90:fc:cd:3b:19:e5:41:97:ef:
|
25
|
+
86:6d:f3:7b:ab:ea:42:cb:82:4d:81:8a:19:64:24:
|
26
|
+
8c:ea:0a:45:54:be:91:67:90:a7:43:1a:30:48:35:
|
27
|
+
98:f6:ce:cd:56:f2:6e:ec:50:5a:e3:e0:e1:3e:53:
|
28
|
+
85:7e:ba:b2:01:ba:da:94:9e:17:e0:3c:70:bb:b7:
|
29
|
+
85:d6:e5:de:fd:2a:78:24:6e:91:bf:82:94:e4:44:
|
30
|
+
4e:b2:ee:d1:c0:25:c9:2c:2c:c0:7b:1f:cb:cf:79:
|
31
|
+
1e:b2:96:a9:c6:c9:3a:e4:1d:37:06:07:17:65:6f:
|
32
|
+
85:cb
|
33
|
+
Exponent: 65537 (0x10001)
|
34
|
+
X509v3 extensions:
|
35
|
+
X509v3 Basic Constraints:
|
36
|
+
CA:TRUE
|
37
|
+
X509v3 Key Usage:
|
38
|
+
Certificate Sign
|
39
|
+
X509v3 Subject Alternative Name:
|
40
|
+
DNS:localhost, IP Address:127.0.0.1
|
41
|
+
Signature Algorithm: sha256WithRSAEncryption
|
42
|
+
60:09:93:0a:44:32:28:84:ab:a2:30:91:02:4a:82:30:df:90:
|
43
|
+
a0:11:76:44:94:cc:f5:b3:53:69:dc:cf:97:dd:70:fd:99:fb:
|
44
|
+
0a:0c:5e:f2:7b:ee:4e:88:09:42:ef:ab:ff:18:ac:85:7a:6d:
|
45
|
+
13:47:e4:ea:63:00:a3:92:29:22:e3:08:6c:c1:07:68:52:0a:
|
46
|
+
0e:a5:e2:3c:a9:ec:f6:94:8e:72:f3:2c:a2:89:6f:a9:0c:42:
|
47
|
+
49:ce:23:4a:aa:8d:0b:70:88:99:38:92:58:60:f7:8c:96:16:
|
48
|
+
42:a8:d8:8b:92:c9:8f:c1:dd:49:2e:ff:68:bd:fa:2c:2f:93:
|
49
|
+
f4:11:67:2b:c7:f9:4b:6f:85:b3:37:bd:08:83:40:94:6a:44:
|
50
|
+
c2:d9:e9:91:47:70:79:6c:4d:23:20:73:0f:74:9f:33:7d:9d:
|
51
|
+
3e:74:b1:e8:55:0a:c5:2e:59:b4:9a:9d:95:82:cd:27:5f:63:
|
52
|
+
b5:00:03:61:58:54:e8:5b:42:5d:f7:03:5d:e4:b7:b0:20:f8:
|
53
|
+
0b:3c:0b:b8:fb:68:36:ef:be:67:27:c1:b1:ca:ff:09:9a:77:
|
54
|
+
1d:97:69:b3:33:ef:bf:4e:ae:0f:78:9f:a8:73:10:77:b5:a9:
|
55
|
+
e7:41:12:82:e1:25:94:cb:67:82:56:66:4d:00:d3:3a:7c:48:
|
56
|
+
4b:50:40:cc
|
57
|
+
-----BEGIN CERTIFICATE-----
|
58
|
+
MIIDqTCCApGgAwIBAgIDAkSBMA0GCSqGSIb3DQEBCwUAMH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6ICULvq/8YrIV6bRNH5OpjAKOSKSLjCGzBB2hSCg6l4jyp7PaUjnLz
|
74
|
+
LKKJb6kMQknOI0qqjQtwiJk4klhg94yWFkKo2IuSyY/B3Uku/2i9+iwvk/QRZyvH
|
75
|
+
+UtvhbM3vQiDQJRqRMLZ6ZFHcHlsTSMgcw90nzN9nT50sehVCsUuWbSanZWCzSdf
|
76
|
+
Y7UAA2FYVOhbQl33A13kt7Ag+As8C7j7aDbvvmcnwbHK/wmadx2XabMz779Org94
|
77
|
+
n6hzEHe1qedBEoLhJZTLZ4JWZk0A0zp8SEtQQMw=
|
78
|
+
-----END CERTIFICATE-----
|
@@ -0,0 +1,179 @@
|
|
1
|
+
Certificate:
|
2
|
+
Data:
|
3
|
+
Version: 3 (0x2)
|
4
|
+
Serial Number: 403728 (0x62910)
|
5
|
+
Signature Algorithm: sha256WithRSAEncryption
|
6
|
+
Issuer: CN = intermediate-client, OU = Ruby Driver, O = MongoDB, L = New York City, ST = New York, C = US
|
7
|
+
Validity
|
8
|
+
Not Before: May 30 22:28:04 2019 GMT
|
9
|
+
Not After : May 30 22:28:04 2039 GMT
|
10
|
+
Subject: CN = localhost, OU = Ruby Driver, O = MongoDB, L = New York City, ST = New York, C = US
|
11
|
+
Subject Public Key Info:
|
12
|
+
Public Key Algorithm: rsaEncryption
|
13
|
+
RSA Public-Key: (2048 bit)
|
14
|
+
Modulus:
|
15
|
+
00:93:97:c2:b6:1b:ca:ba:e7:c4:64:5a:a9:f7:1f:
|
16
|
+
32:ba:6d:83:fb:71:83:86:a1:d8:62:65:ba:bc:f0:
|
17
|
+
ac:3c:c9:bd:85:79:03:72:1f:5d:fc:4e:ae:3d:85:
|
18
|
+
2d:6b:da:4c:c1:b3:dc:c3:c3:c1:b4:9d:f2:8e:2f:
|
19
|
+
97:68:31:44:2b:b9:c9:8c:8b:f7:89:e1:f0:d6:0b:
|
20
|
+
23:87:c6:5d:44:f3:9b:3d:c4:70:e2:03:c2:f2:0e:
|
21
|
+
c6:b5:60:f7:28:44:71:d5:3e:9e:6c:5e:a7:1a:29:
|
22
|
+
f0:9b:21:e3:be:b3:e0:0f:0d:c4:12:97:46:12:0b:
|
23
|
+
4f:84:61:79:65:3f:b2:45:90:e9:62:36:e7:9c:95:
|
24
|
+
00:93:79:69:b9:5c:b8:e6:37:ce:30:72:55:d9:19:
|
25
|
+
5f:6c:1a:9f:4d:af:9d:f2:ec:28:62:82:cf:27:3b:
|
26
|
+
83:0d:12:39:64:04:4e:68:84:8e:50:d9:52:83:db:
|
27
|
+
df:50:69:5a:83:0e:be:57:35:cc:c9:5b:bb:25:7b:
|
28
|
+
6c:db:39:be:b7:76:db:b7:fc:3c:29:68:2e:2f:f3:
|
29
|
+
06:90:ff:37:c6:29:3c:fd:90:36:c4:44:87:b3:eb:
|
30
|
+
40:c4:fa:83:5e:e5:23:b3:13:bc:f6:89:7c:5e:bb:
|
31
|
+
18:0f:f3:d0:18:62:f2:0d:3a:72:9c:a3:22:ef:8c:
|
32
|
+
95:99
|
33
|
+
Exponent: 65537 (0x10001)
|
34
|
+
X509v3 extensions:
|
35
|
+
X509v3 Subject Alternative Name:
|
36
|
+
DNS:localhost, IP Address:127.0.0.1
|
37
|
+
Signature Algorithm: sha256WithRSAEncryption
|
38
|
+
53:66:80:0a:e4:a2:ec:d5:9f:af:f4:23:15:a1:82:27:e5:66:
|
39
|
+
a9:7f:55:e3:12:0d:ed:8d:09:0a:d9:ed:37:d6:7b:58:ce:7e:
|
40
|
+
85:72:f2:d4:9f:4e:bc:e4:27:fe:90:6a:4c:a9:49:74:50:5e:
|
41
|
+
2b:5c:16:50:d6:d2:6f:c0:39:d6:fa:03:74:5e:79:e0:bd:eb:
|
42
|
+
ac:8d:11:86:9e:fd:06:22:c2:c0:e2:33:c0:5a:be:d0:4e:8c:
|
43
|
+
8e:22:0f:8c:c1:19:56:3e:74:21:8e:7f:54:b5:cd:73:7b:70:
|
44
|
+
34:2d:e4:45:df:c4:b1:a9:84:ac:26:a8:cd:7f:0f:59:7b:d9:
|
45
|
+
a4:5e:65:02:f6:be:11:b7:ee:f4:9e:b9:b8:1f:1c:94:da:0e:
|
46
|
+
1c:0e:3d:c0:e4:40:e7:1d:98:5c:df:22:9f:82:21:c3:a0:52:
|
47
|
+
1e:f4:e0:2d:07:96:f6:39:32:83:4e:88:0e:66:e2:11:18:b7:
|
48
|
+
bc:30:e5:6d:4f:76:05:bf:ed:ff:98:b1:06:64:94:46:e5:46:
|
49
|
+
d5:0e:b7:9a:c6:91:c5:29:78:83:a3:d1:40:c2:de:6e:ad:67:
|
50
|
+
6b:fd:0f:0e:0c:b2:d5:6f:2c:19:d2:0d:83:5b:c7:22:ba:8a:
|
51
|
+
35:2a:58:39:8b:87:e8:76:b5:3b:38:1e:7c:80:47:5c:73:be:
|
52
|
+
83:96:16:65
|
53
|
+
-----BEGIN CERTIFICATE-----
|
54
|
+
MIIDjTCCAnWgAwIBAgIDBikQMA0GCSqGSIb3DQEBCwUAMH4xHDAaBgNVBAMTE2lu
|
55
|
+
dGVybWVkaWF0ZS1jbGllbnQxFDASBgNVBAsTC1J1YnkgRHJpdmVyMRAwDgYDVQQK
|
56
|
+
EwdNb25nb0RCMRYwFAYDVQQHEw1OZXcgWW9yayBDaXR5MREwDwYDVQQIEwhOZXcg
|
57
|
+
WW9yazELMAkGA1UEBhMCVVMwHhcNMTkwNTMwMjIyODA0WhcNMzkwNTMwMjIyODA0
|
58
|
+
WjB0MRIwEAYDVQQDEwlsb2NhbGhvc3QxFDASBgNVBAsTC1J1YnkgRHJpdmVyMRAw
|
59
|
+
DgYDVQQKEwdNb25nb0RCMRYwFAYDVQQHEw1OZXcgWW9yayBDaXR5MREwDwYDVQQI
|
60
|
+
EwhOZXcgWW9yazELMAkGA1UEBhMCVVMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
|
61
|
+
ggEKAoIBAQCTl8K2G8q658RkWqn3HzK6bYP7cYOGodhiZbq88Kw8yb2FeQNyH138
|
62
|
+
Tq49hS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c44VNUFwDAP6IlZ8/du
|
94
|
+
fwbTMl9FebN9gYAM1RoIlts7Wl60PK485BjLcb5as/NQSXZqLacY1D7pG/Xae1+g
|
95
|
+
q46/rXnCP1w/jHYS60EaeaFlAoGAacwZGRcohbQx+QXOexRb8lesp4/OW/rC8lC6
|
96
|
+
NmLm3iTCUSINkLyqqmMgympQcyPGyecFVBTSJbJ/DxabiUR+YoyWRF+imZ8ufois
|
97
|
+
FLL5temRhrJAV7kuwZj92+8Vp8miVRfo7G8Kienakd72s5GS/aUaFo3ihk0/5+zN
|
98
|
+
5tAWa8UCgYEAovak6JyEl8SShNjLhJepF6STMkY0tm15K4kBvYQd9Jn5ubm9tK0I
|
99
|
+
ZuenxJJSsKz/tLKaT4AK92r7lQp9nUFgiH1x4EM138UUihMbK1oPju+jukGMOwvk
|
100
|
+
bkMIiIDRc+G+NURpaNLC3xzeV9/uUND4rJ2RxZvhCGcYlbJRbzoYcM0=
|
101
|
+
-----END RSA PRIVATE KEY-----
|
102
|
+
Certificate:
|
103
|
+
Data:
|
104
|
+
Version: 3 (0x2)
|
105
|
+
Serial Number: 148609 (0x24481)
|
106
|
+
Signature Algorithm: sha256WithRSAEncryption
|
107
|
+
Issuer: CN = Ruby Driver CA, OU = Drivers, O = MongoDB, L = New York City, ST = New York, C = US
|
108
|
+
Validity
|
109
|
+
Not Before: May 30 22:24:53 2019 GMT
|
110
|
+
Not After : May 30 22:24:53 2039 GMT
|
111
|
+
Subject: CN = intermediate-client, OU = Ruby Driver, O = MongoDB, L = New York City, ST = New York, C = US
|
112
|
+
Subject Public Key Info:
|
113
|
+
Public Key Algorithm: rsaEncryption
|
114
|
+
RSA Public-Key: (2048 bit)
|
115
|
+
Modulus:
|
116
|
+
00:a0:8e:fd:8b:92:49:40:d4:e6:f0:d9:0f:e8:b1:
|
117
|
+
20:26:79:1c:d2:47:5b:dc:60:6d:5b:4e:e2:ee:b6:
|
118
|
+
93:57:28:90:c0:3e:0e:8b:5f:d7:c8:90:a1:69:02:
|
119
|
+
81:8b:12:50:de:9f:5a:9d:47:cc:83:73:6a:a9:17:
|
120
|
+
36:44:04:24:e2:57:bd:7f:df:51:a5:f6:34:00:8d:
|
121
|
+
40:05:fa:54:fa:83:7a:9d:11:9f:51:ad:fd:a4:c4:
|
122
|
+
b8:40:04:9f:8a:bd:e6:cd:4f:23:86:bd:25:21:25:
|
123
|
+
01:ef:38:49:90:d4:f5:95:d2:1f:46:fe:61:96:0f:
|
124
|
+
9c:86:77:c8:bc:a5:c2:4b:34:d5:9c:15:2c:57:7a:
|
125
|
+
48:a0:a1:f6:6c:24:90:fc:cd:3b:19:e5:41:97:ef:
|
126
|
+
86:6d:f3:7b:ab:ea:42:cb:82:4d:81:8a:19:64:24:
|
127
|
+
8c:ea:0a:45:54:be:91:67:90:a7:43:1a:30:48:35:
|
128
|
+
98:f6:ce:cd:56:f2:6e:ec:50:5a:e3:e0:e1:3e:53:
|
129
|
+
85:7e:ba:b2:01:ba:da:94:9e:17:e0:3c:70:bb:b7:
|
130
|
+
85:d6:e5:de:fd:2a:78:24:6e:91:bf:82:94:e4:44:
|
131
|
+
4e:b2:ee:d1:c0:25:c9:2c:2c:c0:7b:1f:cb:cf:79:
|
132
|
+
1e:b2:96:a9:c6:c9:3a:e4:1d:37:06:07:17:65:6f:
|
133
|
+
85:cb
|
134
|
+
Exponent: 65537 (0x10001)
|
135
|
+
X509v3 extensions:
|
136
|
+
X509v3 Basic Constraints:
|
137
|
+
CA:TRUE
|
138
|
+
X509v3 Key Usage:
|
139
|
+
Certificate Sign
|
140
|
+
X509v3 Subject Alternative Name:
|
141
|
+
DNS:localhost, IP Address:127.0.0.1
|
142
|
+
Signature Algorithm: sha256WithRSAEncryption
|
143
|
+
60:09:93:0a:44:32:28:84:ab:a2:30:91:02:4a:82:30:df:90:
|
144
|
+
a0:11:76:44:94:cc:f5:b3:53:69:dc:cf:97:dd:70:fd:99:fb:
|
145
|
+
0a:0c:5e:f2:7b:ee:4e:88:09:42:ef:ab:ff:18:ac:85:7a:6d:
|
146
|
+
13:47:e4:ea:63:00:a3:92:29:22:e3:08:6c:c1:07:68:52:0a:
|
147
|
+
0e:a5:e2:3c:a9:ec:f6:94:8e:72:f3:2c:a2:89:6f:a9:0c:42:
|
148
|
+
49:ce:23:4a:aa:8d:0b:70:88:99:38:92:58:60:f7:8c:96:16:
|
149
|
+
42:a8:d8:8b:92:c9:8f:c1:dd:49:2e:ff:68:bd:fa:2c:2f:93:
|
150
|
+
f4:11:67:2b:c7:f9:4b:6f:85:b3:37:bd:08:83:40:94:6a:44:
|
151
|
+
c2:d9:e9:91:47:70:79:6c:4d:23:20:73:0f:74:9f:33:7d:9d:
|
152
|
+
3e:74:b1:e8:55:0a:c5:2e:59:b4:9a:9d:95:82:cd:27:5f:63:
|
153
|
+
b5:00:03:61:58:54:e8:5b:42:5d:f7:03:5d:e4:b7:b0:20:f8:
|
154
|
+
0b:3c:0b:b8:fb:68:36:ef:be:67:27:c1:b1:ca:ff:09:9a:77:
|
155
|
+
1d:97:69:b3:33:ef:bf:4e:ae:0f:78:9f:a8:73:10:77:b5:a9:
|
156
|
+
e7:41:12:82:e1:25:94:cb:67:82:56:66:4d:00:d3:3a:7c:48:
|
157
|
+
4b:50:40:cc
|
158
|
+
-----BEGIN CERTIFICATE-----
|
159
|
+
MIIDqTCCApGgAwIBAgIDAkSBMA0GCSqGSIb3DQEBCwUAMHUxFzAVBgNVBAMTDlJ1
|
160
|
+
YnkgRHJpdmVyIENBMRAwDgYDVQQLEwdEcml2ZXJzMRAwDgYDVQQKEwdNb25nb0RC
|
161
|
+
MRYwFAYDVQQHEw1OZXcgWW9yayBDaXR5MREwDwYDVQQIEwhOZXcgWW9yazELMAkG
|
162
|
+
A1UEBhMCVVMwHhcNMTkwNTMwMjIyNDUzWhcNMzkwNTMwMjIyNDUzWjB+MRwwGgYD
|
163
|
+
VQQDExNpbnRlcm1lZGlhdGUtY2xpZW50MRQwEgYDVQQLEwtSdWJ5IERyaXZlcjEQ
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QMw=
|
179
|
+
-----END CERTIFICATE-----
|
@@ -0,0 +1,74 @@
|
|
1
|
+
Certificate:
|
2
|
+
Data:
|
3
|
+
Version: 3 (0x2)
|
4
|
+
Serial Number: 403728 (0x62910)
|
5
|
+
Signature Algorithm: sha256WithRSAEncryption
|
6
|
+
Issuer: CN = intermediate-client, OU = Ruby Driver, O = MongoDB, L = New York City, ST = New York, C = US
|
7
|
+
Validity
|
8
|
+
Not Before: May 30 22:28:04 2019 GMT
|
9
|
+
Not After : May 30 22:28:04 2039 GMT
|
10
|
+
Subject: CN = localhost, OU = Ruby Driver, O = MongoDB, L = New York City, ST = New York, C = US
|
11
|
+
Subject Public Key Info:
|
12
|
+
Public Key Algorithm: rsaEncryption
|
13
|
+
RSA Public-Key: (2048 bit)
|
14
|
+
Modulus:
|
15
|
+
00:93:97:c2:b6:1b:ca:ba:e7:c4:64:5a:a9:f7:1f:
|
16
|
+
32:ba:6d:83:fb:71:83:86:a1:d8:62:65:ba:bc:f0:
|
17
|
+
ac:3c:c9:bd:85:79:03:72:1f:5d:fc:4e:ae:3d:85:
|
18
|
+
2d:6b:da:4c:c1:b3:dc:c3:c3:c1:b4:9d:f2:8e:2f:
|
19
|
+
97:68:31:44:2b:b9:c9:8c:8b:f7:89:e1:f0:d6:0b:
|
20
|
+
23:87:c6:5d:44:f3:9b:3d:c4:70:e2:03:c2:f2:0e:
|
21
|
+
c6:b5:60:f7:28:44:71:d5:3e:9e:6c:5e:a7:1a:29:
|
22
|
+
f0:9b:21:e3:be:b3:e0:0f:0d:c4:12:97:46:12:0b:
|
23
|
+
4f:84:61:79:65:3f:b2:45:90:e9:62:36:e7:9c:95:
|
24
|
+
00:93:79:69:b9:5c:b8:e6:37:ce:30:72:55:d9:19:
|
25
|
+
5f:6c:1a:9f:4d:af:9d:f2:ec:28:62:82:cf:27:3b:
|
26
|
+
83:0d:12:39:64:04:4e:68:84:8e:50:d9:52:83:db:
|
27
|
+
df:50:69:5a:83:0e:be:57:35:cc:c9:5b:bb:25:7b:
|
28
|
+
6c:db:39:be:b7:76:db:b7:fc:3c:29:68:2e:2f:f3:
|
29
|
+
06:90:ff:37:c6:29:3c:fd:90:36:c4:44:87:b3:eb:
|
30
|
+
40:c4:fa:83:5e:e5:23:b3:13:bc:f6:89:7c:5e:bb:
|
31
|
+
18:0f:f3:d0:18:62:f2:0d:3a:72:9c:a3:22:ef:8c:
|
32
|
+
95:99
|
33
|
+
Exponent: 65537 (0x10001)
|
34
|
+
X509v3 extensions:
|
35
|
+
X509v3 Subject Alternative Name:
|
36
|
+
DNS:localhost, IP Address:127.0.0.1
|
37
|
+
Signature Algorithm: sha256WithRSAEncryption
|
38
|
+
53:66:80:0a:e4:a2:ec:d5:9f:af:f4:23:15:a1:82:27:e5:66:
|
39
|
+
a9:7f:55:e3:12:0d:ed:8d:09:0a:d9:ed:37:d6:7b:58:ce:7e:
|
40
|
+
85:72:f2:d4:9f:4e:bc:e4:27:fe:90:6a:4c:a9:49:74:50:5e:
|
41
|
+
2b:5c:16:50:d6:d2:6f:c0:39:d6:fa:03:74:5e:79:e0:bd:eb:
|
42
|
+
ac:8d:11:86:9e:fd:06:22:c2:c0:e2:33:c0:5a:be:d0:4e:8c:
|
43
|
+
8e:22:0f:8c:c1:19:56:3e:74:21:8e:7f:54:b5:cd:73:7b:70:
|
44
|
+
34:2d:e4:45:df:c4:b1:a9:84:ac:26:a8:cd:7f:0f:59:7b:d9:
|
45
|
+
a4:5e:65:02:f6:be:11:b7:ee:f4:9e:b9:b8:1f:1c:94:da:0e:
|
46
|
+
1c:0e:3d:c0:e4:40:e7:1d:98:5c:df:22:9f:82:21:c3:a0:52:
|
47
|
+
1e:f4:e0:2d:07:96:f6:39:32:83:4e:88:0e:66:e2:11:18:b7:
|
48
|
+
bc:30:e5:6d:4f:76:05:bf:ed:ff:98:b1:06:64:94:46:e5:46:
|
49
|
+
d5:0e:b7:9a:c6:91:c5:29:78:83:a3:d1:40:c2:de:6e:ad:67:
|
50
|
+
6b:f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N
|
24
|
+
5tAWa8UCgYEAovak6JyEl8SShNjLhJepF6STMkY0tm15K4kBvYQd9Jn5ubm9tK0I
|
25
|
+
ZuenxJJSsKz/tLKaT4AK92r7lQp9nUFgiH1x4EM138UUihMbK1oPju+jukGMOwvk
|
26
|
+
bkMIiIDRc+G+NURpaNLC3xzeV9/uUND4rJ2RxZvhCGcYlbJRbzoYcM0=
|
27
|
+
-----END RSA PRIVATE KEY-----
|
@@ -0,0 +1,101 @@
|
|
1
|
+
Certificate:
|
2
|
+
Data:
|
3
|
+
Version: 3 (0x2)
|
4
|
+
Serial Number: 403728 (0x62910)
|
5
|
+
Signature Algorithm: sha256WithRSAEncryption
|
6
|
+
Issuer: CN = intermediate-client, OU = Ruby Driver, O = MongoDB, L = New York City, ST = New York, C = US
|
7
|
+
Validity
|
8
|
+
Not Before: May 30 22:28:04 2019 GMT
|
9
|
+
Not After : May 30 22:28:04 2039 GMT
|
10
|
+
Subject: CN = localhost, OU = Ruby Driver, O = MongoDB, L = New York City, ST = New York, C = US
|
11
|
+
Subject Public Key Info:
|
12
|
+
Public Key Algorithm: rsaEncryption
|
13
|
+
RSA Public-Key: (2048 bit)
|
14
|
+
Modulus:
|
15
|
+
00:93:97:c2:b6:1b:ca:ba:e7:c4:64:5a:a9:f7:1f:
|
16
|
+
32:ba:6d:83:fb:71:83:86:a1:d8:62:65:ba:bc:f0:
|
17
|
+
ac:3c:c9:bd:85:79:03:72:1f:5d:fc:4e:ae:3d:85:
|
18
|
+
2d:6b:da:4c:c1:b3:dc:c3:c3:c1:b4:9d:f2:8e:2f:
|
19
|
+
97:68:31:44:2b:b9:c9:8c:8b:f7:89:e1:f0:d6:0b:
|
20
|
+
23:87:c6:5d:44:f3:9b:3d:c4:70:e2:03:c2:f2:0e:
|
21
|
+
c6:b5:60:f7:28:44:71:d5:3e:9e:6c:5e:a7:1a:29:
|
22
|
+
f0:9b:21:e3:be:b3:e0:0f:0d:c4:12:97:46:12:0b:
|
23
|
+
4f:84:61:79:65:3f:b2:45:90:e9:62:36:e7:9c:95:
|
24
|
+
00:93:79:69:b9:5c:b8:e6:37:ce:30:72:55:d9:19:
|
25
|
+
5f:6c:1a:9f:4d:af:9d:f2:ec:28:62:82:cf:27:3b:
|
26
|
+
83:0d:12:39:64:04:4e:68:84:8e:50:d9:52:83:db:
|
27
|
+
df:50:69:5a:83:0e:be:57:35:cc:c9:5b:bb:25:7b:
|
28
|
+
6c:db:39:be:b7:76:db:b7:fc:3c:29:68:2e:2f:f3:
|
29
|
+
06:90:ff:37:c6:29:3c:fd:90:36:c4:44:87:b3:eb:
|
30
|
+
40:c4:fa:83:5e:e5:23:b3:13:bc:f6:89:7c:5e:bb:
|
31
|
+
18:0f:f3:d0:18:62:f2:0d:3a:72:9c:a3:22:ef:8c:
|
32
|
+
95:99
|
33
|
+
Exponent: 65537 (0x10001)
|
34
|
+
X509v3 extensions:
|
35
|
+
X509v3 Subject Alternative Name:
|
36
|
+
DNS:localhost, IP Address:127.0.0.1
|
37
|
+
Signature Algorithm: sha256WithRSAEncryption
|
38
|
+
53:66:80:0a:e4:a2:ec:d5:9f:af:f4:23:15:a1:82:27:e5:66:
|
39
|
+
a9:7f:55:e3:12:0d:ed:8d:09:0a:d9:ed:37:d6:7b:58:ce:7e:
|
40
|
+
85:72:f2:d4:9f:4e:bc:e4:27:fe:90:6a:4c:a9:49:74:50:5e:
|
41
|
+
2b:5c:16:50:d6:d2:6f:c0:39:d6:fa:03:74:5e:79:e0:bd:eb:
|
42
|
+
ac:8d:11:86:9e:fd:06:22:c2:c0:e2:33:c0:5a:be:d0:4e:8c:
|
43
|
+
8e:22:0f:8c:c1:19:56:3e:74:21:8e:7f:54:b5:cd:73:7b:70:
|
44
|
+
34:2d:e4:45:df:c4:b1:a9:84:ac:26:a8:cd:7f:0f:59:7b:d9:
|
45
|
+
a4:5e:65:02:f6:be:11:b7:ee:f4:9e:b9:b8:1f:1c:94:da:0e:
|
46
|
+
1c:0e:3d:c0:e4:40:e7:1d:98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jHYS60EaeaFlAoGAacwZGRcohbQx+QXOexRb8lesp4/OW/rC8lC6
|
96
|
+
NmLm3iTCUSINkLyqqmMgympQcyPGyecFVBTSJbJ/DxabiUR+YoyWRF+imZ8ufois
|
97
|
+
FLL5temRhrJAV7kuwZj92+8Vp8miVRfo7G8Kienakd72s5GS/aUaFo3ihk0/5+zN
|
98
|
+
5tAWa8UCgYEAovak6JyEl8SShNjLhJepF6STMkY0tm15K4kBvYQd9Jn5ubm9tK0I
|
99
|
+
ZuenxJJSsKz/tLKaT4AK92r7lQp9nUFgiH1x4EM138UUihMbK1oPju+jukGMOwvk
|
100
|
+
bkMIiIDRc+G+NURpaNLC3xzeV9/uUND4rJ2RxZvhCGcYlbJRbzoYcM0=
|
101
|
+
-----END RSA PRIVATE KEY-----
|
@@ -0,0 +1,78 @@
|
|
1
|
+
Certificate:
|
2
|
+
Data:
|
3
|
+
Version: 3 (0x2)
|
4
|
+
Serial Number: 602210 (0x93062)
|
5
|
+
Signature Algorithm: sha256WithRSAEncryption
|
6
|
+
Issuer: CN = Ruby Driver CA, OU = Drivers, O = MongoDB, L = New York City, ST = New York, C = US
|
7
|
+
Validity
|
8
|
+
Not Before: Sep 4 21:17:42 2019 GMT
|
9
|
+
Not After : Sep 4 21:17:42 2039 GMT
|
10
|
+
Subject: CN = localhost, OU = x509, O = MongoDB, L = New York City, ST = New York, C = US
|
11
|
+
Subject Public Key Info:
|
12
|
+
Public Key Algorithm: rsaEncryption
|
13
|
+
RSA Public-Key: (2048 bit)
|
14
|
+
Modulus:
|
15
|
+
00:c4:e6:20:8f:58:42:53:51:24:64:b4:d0:25:cf:
|
16
|
+
79:e0:71:f8:9e:97:35:a8:df:fa:d9:63:eb:63:b2:
|
17
|
+
b4:77:60:af:8e:09:6d:72:50:bc:ea:7c:57:3f:17:
|
18
|
+
51:b0:05:85:e8:3b:67:4b:97:84:61:bb:68:09:b4:
|
19
|
+
96:da:c8:3b:7d:53:b8:10:fe:0d:71:2f:b8:5d:83:
|
20
|
+
86:3f:06:57:e2:6c:d5:2f:c8:6c:74:fb:d8:6f:77:
|
21
|
+
df:ba:6d:52:61:3c:33:76:a5:5f:62:68:af:a4:e8:
|
22
|
+
dc:36:2a:b9:54:47:91:ec:4f:09:b9:2e:ef:37:4d:
|
23
|
+
d7:04:db:48:fc:8d:c2:44:f1:9f:79:21:f0:06:fe:
|
24
|
+
b4:e5:50:3c:cf:d1:3f:59:b5:8d:dc:d0:39:31:53:
|
25
|
+
95:42:d7:92:c3:c9:d5:93:48:e8:dc:16:ce:61:ec:
|
26
|
+
6f:ce:91:5c:91:2e:59:18:1f:fc:a8:ff:52:51:cf:
|
27
|
+
10:c0:be:a0:ad:cb:63:98:30:66:0e:42:e3:ca:6b:
|
28
|
+
2d:f8:92:c7:24:a7:03:65:96:0a:9c:ce:09:e7:ae:
|
29
|
+
c2:a7:ea:6c:54:bb:e8:24:62:31:48:fb:d0:df:e1:
|
30
|
+
a2:3c:5f:d2:89:29:de:4f:6b:73:88:2a:68:57:08:
|
31
|
+
7a:1e:aa:bd:70:79:e7:dc:f5:e1:9f:39:83:7b:70:
|
32
|
+
55:bb
|
33
|
+
Exponent: 65537 (0x10001)
|
34
|
+
X509v3 extensions:
|
35
|
+
X509v3 Key Usage:
|
36
|
+
Digital Signature
|
37
|
+
X509v3 Extended Key Usage:
|
38
|
+
TLS Web Client Authentication
|
39
|
+
X509v3 Subject Alternative Name:
|
40
|
+
DNS:localhost, IP Address:127.0.0.1
|
41
|
+
Signature Algorithm: sha256WithRSAEncryption
|
42
|
+
92:04:8c:a5:56:c0:01:37:65:ff:d2:0e:5b:be:dd:78:9c:e2:
|
43
|
+
45:3d:fc:34:e5:23:f3:75:fb:70:3b:06:9f:e9:63:e9:f0:8a:
|
44
|
+
14:54:3d:d9:6a:22:af:04:00:25:95:80:e8:83:0b:c7:6f:f0:
|
45
|
+
f1:58:2b:07:86:6b:e3:eb:b0:ea:09:b2:5e:15:05:14:89:2b:
|
46
|
+
02:99:09:97:6d:49:19:ac:c2:50:91:2b:03:e6:75:ce:27:9d:
|
47
|
+
8f:c0:b5:cd:b2:1f:7d:66:75:c7:d1:a7:16:b3:cf:8b:1e:9b:
|
48
|
+
e4:46:da:e2:02:2c:55:74:56:8c:e6:d9:27:53:9f:b2:f5:09:
|
49
|
+
ba:fe:df:e2:e1:b7:7d:43:8a:9d:bb:f0:3d:b9:d4:ce:26:8f:
|
50
|
+
d9:cc:e6:2e:1c:81:fc:6e:a0:5f:01:23:68:9d:fe:1b:ee:03:
|
51
|
+
69:f1:10:af:5a:0e:dc:96:e2:56:ae:ca:35:b3:08:61:34:37:
|
52
|
+
e1:e6:53:ef:68:84:87:f4:56:c5:49:45:08:90:46:3e:1c:b5:
|
53
|
+
40:08:f7:09:51:d7:24:53:49:b5:b1:2f:85:39:b9:0b:0e:f9:
|
54
|
+
05:ea:a3:d0:47:6d:69:6b:9c:25:8e:ad:61:01:86:96:28:3b:
|
55
|
+
fd:6f:78:79:66:b1:cc:de:fc:18:45:cf:84:f1:d0:e2:46:4f:
|
56
|
+
f8:9d:95:a4
|
57
|
+
-----BEGIN CERTIFICATE-----
|
58
|
+
MIIDnzCCAoegAwIBAgIDCTBiMA0GCSqGSIb3DQEBCwUAMHUxFzAVBgNVBAMTDlJ1
|
59
|
+
YnkgRHJpdmVyIENBMRAwDgYDVQQLEwdEcml2ZXJzMRAwDgYDVQQKEwdNb25nb0RC
|
60
|
+
MRYwFAYDVQQHEw1OZXcgWW9yayBDaXR5MREwDwYDVQQIEwhOZXcgWW9yazELMAkG
|
61
|
+
A1UEBhMCVVMwHhcNMTkwOTA0MjExNzQyWhcNMzkwOTA0MjExNzQyWjBtMRIwEAYD
|
62
|
+
VQQDEwlsb2NhbGhvc3QxDTALBgNVBAsTBHg1MDkxEDAOBgNVBAoTB01vbmdvREIx
|
63
|
+
FjAUBgNVBAcTDU5ldyBZb3JrIENpdHkxETAPBgNVBAgTCE5ldyBZb3JrMQswCQYD
|
64
|
+
VQQGEwJVUz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