Skip to content

Commit 6cf68b6

Browse files
authored
[Java Sync] Connection Section Reorg (#648)
* connect conflict * security pages * connection security * landing pages * snooty * secrurity options landing page * NR feedback * build errors * label * label fix * NR feedback * force rebuild
1 parent 16d0b82 commit 6cf68b6

14 files changed

+87
-28
lines changed

config/redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ raw: ${prefix}/master -> ${base}/upcoming/
4343
[v5.3-master]: ${prefix}/${version}/fundamentals/data-formats/pojo-customization/ -> ${base}/${version}/data-formats/pojo-customization/
4444
[v5.3-master]: ${prefix}/${version}/fundamentals/data-formats/codecs/ -> ${base}/${version}/data-formats/codecs/
4545
[v5.3-master]: ${prefix}/${version}/fundamentals/connection/ -> ${base}/${version}/connection/
46-
[v5.3-master]: ${prefix}/${version}/fundamentals/connection/connect/ -> ${base}/${version}/connection/connect/
46+
[v5.3-master]: ${prefix}/${version}/fundamentals/connection/connect/ -> ${base}/${version}/connection/mongoclient
4747
[v5.3-master]: ${prefix}/${version}/fundamentals/connection/connection-options/ -> ${base}/${version}/connection/connection-options/
4848
[v5.3-master]: ${prefix}/${version}/fundamentals/connection/mongoclientsettings/ -> ${base}/${version}/connection/mongoclientsettings/
4949
[v5.3-master]: ${prefix}/${version}/fundamentals/connection/network-compression/ -> ${base}/${version}/connection/network-compression/

snooty.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ intersphinx = [
99
toc_landing_pages = [
1010
"/get-started",
1111
"/connection",
12+
"/connection/specify-connection-options",
1213
"/crud",
1314
"/crud/builders",
1415
"/data-formats",
1516
"/api-documentation",
17+
"/security",
1618
"/security/auth"
1719
]
1820

source/connection.txt

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
.. _java-connection-guide:
1+
.. _java-connection-uri-guide:
22

33
================
44
Connection Guide
55
================
66

77
.. toctree::
88

9-
Connect to MongoDB </connection/connect>
10-
Connection Options </connection/connection-options>
11-
MongoClient Settings </connection/mongoclientsettings>
12-
Stable API </connection/stable-api>
13-
Connection Pools </connection/connection-pools>
14-
Network Compression </connection/network-compression>
15-
JNDI Datasource </connection/jndi>
9+
Create a MongoClient </connection/mongoclient>
10+
Specify Connection Options </connection/specify-connection-options>
1611
Connection Troubleshooting </connection/connection-troubleshooting>
17-
AWS Lambda <https://www.mongodb.com/docs/atlas/manage-connections-aws-lambda/>
1812

1913
.. contents:: On this page
2014
:local:
@@ -29,14 +23,9 @@ Learn how to set up a connection and specify connection behavior from your
2923
application to a MongoDB deployment using the driver in the following
3024
sections:
3125

32-
- :ref:`Connect to MongoDB <java-connect-to-mongodb>`
33-
- :ref:`View a List of Connection Options <connection-options>`
34-
- :ref:`Specify Connection Behavior with the MongoClient Class <specify-mongoclient-settings>`
35-
- :ref:`Enable Network Compression <java-compression>`
36-
- :ref:`Enable TLS/SSL on a Connection <tls-ssl>`
37-
- :ref:`Connect to MongoDB by Using a SOCKS5 Proxy <java-connect-socks>`
38-
- :ref:`Connect to MongoDB by Using a JNDI Datasource <jndi>`
39-
- :atlas:`Connect to MongoDB Atlas from AWS Lambda </manage-connections-aws-lambda/>`
26+
- :ref:`Create a MongoClient <java-mongoclient>`
27+
- :ref:`Specify Connection Options <java-specify-connection-options>`
28+
- :ref:`Connection Troubleshooting <java-connection-troubleshooting>`
4029

4130
For information about authenticating with a MongoDB instance,
4231
see the :ref:`<java-authentication-mechanisms>` section.

source/connection/connection-troubleshooting.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ against the connected secondary node if you set the read preference to
245245

246246
You can also specify the ``serverSelectionTimeoutMS`` connection option
247247
to adjust the amount of time in which the driver must select a server. To
248-
learn more, see the :ref:`java-connection-options` guide.
248+
learn more, see the :ref:`java-connection-uri-options` guide.
249249

250250
.. _java-miscellaneous-errors:
251251

source/connection/connect.txt renamed to source/connection/mongoclient.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
.. _java-connect-to-mongodb:
2+
.. _java-mongoclient:
23

3-
==================
4-
Connect to MongoDB
5-
==================
4+
====================
5+
Create a MongoClient
6+
====================
67

78
.. contents:: On this page
89
:local:
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.. _java-specify-connection-options:
2+
3+
==========================
4+
Specify Connection Options
5+
==========================
6+
7+
.. toctree::
8+
9+
MongoClient Settings </connection/specify-connection-options/mongoclientsettings>
10+
Connection URI Options </connection/specify-connection-options/connection-options.txt>
11+
Stable API </connection/specify-connection-options/stable-api>
12+
Network Compression </connection/specify-connection-options/network-compression>
13+
JNDI Datasource </connection/specify-connection-options/jndi>
14+
AWS Lambda <https://www.mongodb.com/docs/atlas/manage-connections-aws-lambda/>
15+
Connection Security Settings </connection/specify-connection-options/security-connection-options>
16+
17+
.. facet::
18+
:name: genre
19+
:values: reference
20+
21+
.. meta::
22+
:keywords: connection string, URI, Atlas, code example
23+
24+
25+
- :ref:`MongoClient Settings <mongoclientsettings>`
26+
- :ref:`Connection URI Options <connection-options>`
27+
- :ref:`Stable API <stable-api-java>`
28+
- :ref:`Network Compression <network-compression>`
29+
- :ref:`JNDI Datasource <jndi>`
30+
- `AWS Lambda <https://www.mongodb.com/docs/atlas/manage-connections-aws-lambda/>`__
31+
- :ref:`Connection Security Options <security-connection-settings>`

source/connection/connection-options.txt renamed to source/connection/specify-connection-options/connection-options.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
.. _java-connection-options:
1+
.. _java-connection-uri-options:
22
.. _connection-options:
33

4-
==================
5-
Connection Options
6-
==================
4+
======================
5+
Connection URI Options
6+
======================
77

88
This section explains MongoDB connection and authentication options
9-
supported by the driver. You can pass the connection options as
9+
supported by the {+driver-short+}. You can pass the connection options as
1010
parameters of the connection URI to specify the behavior of the client.
1111

1212
.. list-table::
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _security-connection-settings:
2+
3+
============================
4+
Connection Security Settings
5+
============================
6+
7+
.. facet::
8+
:name: genre
9+
:values: reference
10+
11+
.. contents:: On this page
12+
:local:
13+
:backlinks: none
14+
:depth: 1
15+
:class: singlecol
16+
17+
MongoDB supports many options for securing your data before and during
18+
transportation. For information about security options, see our :ref:`Security
19+
section <java-security>`, which includes the following:
20+
21+
.. include:: /includes/security/security-pages.rst
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- :ref:`Authentication <authentication-mechanisms>`
2+
- :ref:`In-Use Encryption <java-fle>`
3+
- :ref:`TLS/SSL <tls-ssl>`
4+
- :ref:`SOCKS5 Proxy <java-connect-socks>`
5+
- :ref:`Validate Driver Artifact Signatures <java-validate-signatures>`

source/security.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _java-security:
2+
13
========
24
Security
35
========
@@ -13,4 +15,12 @@ Security
1315
In-Use Encryption </security/encrypt-fields>
1416
TLS/SSL </security/tls>
1517
SOCKS5 Proxy </security/socks>
16-
Validate Driver Artifact Signatures </security/validate-signatures>
18+
Validate Driver Artifact Signatures </security/validate-signatures>
19+
20+
Overview
21+
--------
22+
23+
Learn how to set up security options for your application in the following
24+
sections:
25+
26+
.. include:: /includes/security/security-pages.rst

0 commit comments

Comments
 (0)