Skip to content

Commit eb35443

Browse files
authored
Update documentation links (#905)
* Change docs.mongodb.com to www.mongodb.com/docs * Change docs.mongodb.org to www.mongodb.com/docs * Change www.mongodb.org to www.mongodb.com * Change http to https
1 parent 8849d6e commit eb35443

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+354
-354
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Pull requests should generally be made against the master (default) branch and i
2020
Code should compile with the Java 9 compiler and tests should pass under all Java versions which the driver currently
2121
supports. Currently the Java driver supports a minimum version of Java 8. Please run './gradlew test' to confirm. By default, running the
2222
tests requires that you start a mongod server on localhost, listening on the default port and configured to run with
23-
[`enableTestCommands`](http://docs.mongodb.org/manual/reference/parameters/#param.enableTestCommands), which may be set with the
23+
[`enableTestCommands`](https://www.mongodb.com/docs/manual/reference/parameters/#param.enableTestCommands), which may be set with the
2424
`--setParameter enableTestCommands=1` command-line parameter. At minimum, please test against the latest release version of the MongoDB
2525
server.
2626

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Reference and API documentation is available [here](http://mongodb.github.io/mon
99
## Support / Feedback
1010

1111
For issues with, questions about, or feedback for the MongoDB Java driver, please look into
12-
our [support channels](http://www.mongodb.org/about/support). Please
12+
our [support channels](https://www.mongodb.com/docs/manual/support/). Please
1313
do not email any of the Java driver developers directly with issues or
1414
questions - you're more likely to get an answer on the [MongoDB Community Forums](https://community.mongodb.com/tags/c/drivers-odms-connectors/7/java-driver).
1515

@@ -30,7 +30,7 @@ case in our issue management tool, JIRA:
3030
Bug reports in JIRA for the driver and the Core Server (i.e. SERVER) project are **public**.
3131

3232
If you’ve identified a security vulnerability in a driver or any other
33-
MongoDB project, please report it according to the [instructions here](http://docs.mongodb.org/manual/tutorial/create-a-vulnerability-report).
33+
MongoDB project, please report it according to the [instructions here](https://www.mongodb.com/docs/manual/tutorial/create-a-vulnerability-report).
3434

3535
## Versioning
3636

@@ -99,14 +99,14 @@ $ cd mongo-java-driver
9999
$ ./gradlew check
100100
```
101101

102-
The test suite requires mongod to be running with [`enableTestCommands`](http://docs.mongodb.org/manual/reference/parameters/#param.enableTestCommands), which may be set with the `--setParameter enableTestCommands=1`
102+
The test suite requires mongod to be running with [`enableTestCommands`](https://www.mongodb.com/docs/manual/reference/parameters/#param.enableTestCommands), which may be set with the `--setParameter enableTestCommands=1`
103103
command-line parameter:
104104
```
105105
$ mongod --dbpath ./data/db --logpath ./data/mongod.log --port 27017 --logappend --fork --setParameter enableTestCommands=1
106106
```
107107

108108
If you encounter `"Too many open files"` errors when running the tests then you will need to increase
109-
the number of available file descriptors prior to starting mongod as described in [https://www.mongodb.com/manual/reference/ulimit/](https://www.mongodb.com/manual/reference/ulimit/)
109+
the number of available file descriptors prior to starting mongod as described in [https://www.mongodb.com/docs/manual/reference/ulimit/](https://www.mongodb.com/docs/manual/reference/ulimit/)
110110

111111
## IntelliJ IDEA
112112

bson-scala/src/main/scala-2.13+/org/mongodb/scala/bson/collection/immutable/Document.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ object Document extends SpecificIterableFactory[(String, BsonValue), Document] {
4747
* @param json the JSON stringN
4848
* @return a corresponding `Document` object
4949
* @see org.bson.json.JsonReader
50-
* @see [[http://www.mongodb.com/manual/reference/mongodb-extended-json/ MongoDB Extended JSON]]
50+
* @see [[https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/ MongoDB Extended JSON]]
5151
*/
5252
def apply(json: String): Document = new Document(BsonDocument(json))
5353

bson-scala/src/main/scala-2.13+/org/mongodb/scala/bson/collection/mutable/Document.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ object Document extends SpecificIterableFactory[(String, BsonValue), Document] {
4848
* @param json the JSON string
4949
* @return a corresponding `Document` object
5050
* @see org.bson.json.JsonReader
51-
* @see [[http://www.mongodb.com/manual/reference/mongodb-extended-json/ MongoDB Extended JSON]]
51+
* @see [[https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/ MongoDB Extended JSON]]
5252
*/
5353
def apply(json: String): Document = Document(BsonDocument(json))
5454

bson-scala/src/main/scala-2.13-/org/mongodb/scala/bson/collection/immutable/Document.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ object Document {
4949
* @param json the JSON string
5050
* @return a corresponding `Document` object
5151
* @see org.bson.json.JsonReader
52-
* @see [[http://www.mongodb.com/manual/reference/mongodb-extended-json/ MongoDB Extended JSON]]
52+
* @see [[https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/ MongoDB Extended JSON]]
5353
*/
5454
def apply(json: String): Document = new Document(BsonDocument(json))
5555

bson-scala/src/main/scala-2.13-/org/mongodb/scala/bson/collection/mutable/Document.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ object Document {
4949
* @param json the JSON string
5050
* @return a corresponding `Document` object
5151
* @see org.bson.json.JsonReader
52-
* @see [[http://www.mongodb.com/manual/reference/mongodb-extended-json/ MongoDB Extended JSON]]
52+
* @see [[https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/ MongoDB Extended JSON]]
5353
*/
5454
def apply(json: String): Document = Document(BsonDocument(json))
5555

bson/src/main/org/bson/json/JsonReader.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@
5353
* <ul>
5454
* <li><em>Strict mode</em> that conforms to the <a href="http://www.json.org/">JSON RFC specifications.</a></li>
5555
* <li><em>JavaScript mode</em> that that most JavaScript interpreters can process</li>
56-
* <li><em>Shell mode</em> that the <a href="http://docs.mongodb.org/manual/reference/mongo/#mongo">mongo</a> shell can process.
56+
* <li><em>Shell mode</em> that the <a href="https://www.mongodb.com/docs/manual/reference/mongo/#mongo">mongo</a> shell can process.
5757
* This is also called "extended" JavaScript format.</li>
5858
* </ul>
5959
* For more information about this modes please see
60-
* <a href="http://docs.mongodb.org/manual/reference/mongodb-extended-json/">
61-
* http://docs.mongodb.org/manual/reference/mongodb-extended-json/
60+
* <a href="https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/">
61+
* https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/
6262
* </a>
6363
*
6464
* @since 3.0

driver-core/src/main/com/mongodb/ConnectionString.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545

4646

4747
/**
48-
* <p>Represents a <a href="http://www.mongodb.org/display/DOCS/Connections">Connection String</a>. The Connection String describes the
49-
* hosts to be used and options.</p>
48+
* <p>Represents a <a href="https://www.mongodb.com/docs/manual/reference/connection-string/">Connection String</a>.
49+
* The Connection String describes the hosts to be used and options.</p>
5050
*
5151
* <p>The format of the Connection String is:</p>
5252
* <pre>

driver-core/src/test/resources/atlas-data-lake/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Introduction
1010
============
1111

1212
The YAML and JSON files in this directory tree are platform-independent tests
13-
that drivers can use to assert compatibility with `Atlas Data Lake <https://www.mongodb.com/datalake>`_.
13+
that drivers can use to assert compatibility with `Atlas Data Lake <https://www.mongodb.com/docs/datalake>`_.
1414

1515
Running these integration tests will require a running ``mongohoused``
1616
with data available in its ``test.driverdata`` collection. See the
@@ -33,7 +33,7 @@ The following tests MUST be implemented to fully test compatibility with
3333
Atlas Data Lake.
3434

3535
#. Test that the driver properly constructs and issues a
36-
`killCursors <https://www.mongodb.com/manual/reference/command/killCursors/>`_
36+
`killCursors <https://www.mongodb.com/docs/manual/reference/command/killCursors/>`_
3737
command to Atlas Data Lake. For this test, configure an APM listener on a
3838
client and execute a query that will leave a cursor open on the server (e.g.
3939
specify ``batchSize=2`` for a query that would match 3+ documents). Drivers

driver-core/src/test/resources/client-side-encryption/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ For example, the following matches a command_started_event for an insert of a do
4343
command_name: insert
4444

4545

46-
The values of `$$type` correspond to `these documented string representations of BSON types <https://www.mongodb.com/manual/reference/bson-types/>`_.
46+
The values of `$$type` correspond to `these documented string representations of BSON types <https://www.mongodb.com/docs/manual/reference/bson-types/>`_.
4747

4848

4949
Each YAML file has the following keys:
@@ -548,7 +548,7 @@ The corpus test exhaustively enumerates all ways to encrypt all BSON value types
548548
5. Load `corpus/corpus.json <../corpus/corpus.json>`_ to a variable named ``corpus``. The corpus contains subdocuments with the following fields:
549549

550550
- ``kms`` is either ``aws``, ``azure``, ``gcp``, or ``local``
551-
- ``type`` is a BSON type string `names coming from here <https://www.mongodb.com/manual/reference/operator/query/type/>`_)
551+
- ``type`` is a BSON type string `names coming from here <https://www.mongodb.com/docs/manual/reference/operator/query/type/>`_)
552552
- ``algo`` is either ``rand`` or ``det`` for random or deterministic encryption
553553
- ``method`` is either ``auto``, for automatic encryption or ``explicit`` for explicit encryption
554554
- ``identifier`` is either ``id`` or ``altname`` for the key identifier

0 commit comments

Comments
 (0)