Skip to content

Commit 8fd7354

Browse files
committed
Update doc links to point to new doc on readthedocs
1 parent ffd4f2c commit 8fd7354

17 files changed

+41
-41
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ have been made by the community.
4646

4747
## <a name="license"></a> License
4848

49-
Copyright (c) 2015, 2022, Oracle and/or its affiliates.
49+
Copyright (c) 2015, 2023, Oracle and/or its affiliates.
5050

5151
This software is dual-licensed to you under the Universal Permissive License
5252
(UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl and Apache License
@@ -68,15 +68,15 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6868
See the License for the specific language governing permissions and
6969
limitations under the License.
7070

71-
[1]: https://oracle.github.io/node-oracledb/doc/api.html#getstarted
72-
[2]: https://oracle.github.io/node-oracledb/INSTALL.html#quickstart
71+
[1]: https://node-oracledb.readthedocs.io/en/latest/user_guide/introduction.html#getstarted
72+
[2]: https://node-oracledb.readthedocs.io/en/latest/user_guide/installation.html#quickstart
7373
[3]: https://github.com/oracle/node-oracledb/issues
7474
[4]: https://oracle.github.io/node-oracledb
7575
[5]: https://node-oracledb.slack.com/
7676
[6]: https://join.slack.com/t/node-oracledb/shared_invite/enQtNDU4Mjc2NzM5OTA2LWMzY2ZlZDY5MDdlMGZiMGRkY2IzYjI5OGU4YTEzZWM5YjQ3ODUzMjcxNWQyNzE4MzM5YjNkYjVmNDk5OWU5NDM
7777
[30]: https://github.com/oracle/node-oracledb/blob/main/examples
7878
[31]: https://github.com/oracle/node-oracledb/blob/main/examples/example.js#L32
79-
[32]: https://oracle.github.io/node-oracledb/doc/api.html
79+
[32]: https://node-oracledb.readthedocs.io/en/latest/
8080
[33]: https://github.com/oracle/node-oracledb/blob/main/CHANGELOG.md
8181
[34]: https://github.com/oracle/node-oracledb/blob/main/test/README.md
8282
[35]: https://github.com/oracle/node-oracledb/blob/main/CONTRIBUTING.md

examples/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
This directory contains [node-oracledb](https://www.npmjs.com/package/oracledb)
44
examples. Documentation is
5-
[here](https://oracle.github.io/node-oracledb/doc/api.html).
5+
[here](https://node-oracledb.readthedocs.io/en/latest/).
66

77
To run the examples:
88

9-
- [Install node-oracledb](https://oracle.github.io/node-oracledb/INSTALL.html#quickstart).
9+
- [Install node-oracledb](https://node-oracledb.readthedocs.io/en/latest/user_guide/installation.html#quickstart).
1010

1111
- Edit `dbconfig.js` and set your username and the database connection string,
1212
for example:

examples/aqmulti.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2019, 2022, Oracle and/or its affiliates. */
1+
/* Copyright (c) 2019, 2023, Oracle and/or its affiliates. */
22

33
/******************************************************************************
44
*
@@ -29,7 +29,7 @@
2929
* Oracle Advanced Queuing (AQ) example passing multiple messages.
3030
*
3131
* Before running this, a queue allowing RAW payloads must be
32-
* created, see https://oracle.github.io/node-oracledb/doc/api.html#aqrawexample
32+
* created, see https://node-oracledb.readthedocs.io/en/latest/user_guide/aq.html#aqrawexample
3333
*
3434
* This example requires node-oracledb 4 or later.
3535
*

examples/aqobject.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2019, 2022, Oracle and/or its affiliates. */
1+
/* Copyright (c) 2019, 2023, Oracle and/or its affiliates. */
22

33
/******************************************************************************
44
*
@@ -30,7 +30,7 @@
3030
*
3131
* Before running this, a queue allowing an Oracle Database object
3232
* payload must be created, see
33-
* https://oracle.github.io/node-oracledb/doc/api.html#aqobjexample
33+
* https://node-oracledb.readthedocs.io/en/latest/user_guide/aq.html#aqobjexample
3434
*
3535
* This example requires node-oracledb 4 or later.
3636
*

examples/aqoptions.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2019, 2022, Oracle and/or its affiliates. */
1+
/* Copyright (c) 2019, 2023, Oracle and/or its affiliates. */
22

33
/******************************************************************************
44
*
@@ -28,8 +28,8 @@
2828
* DESCRIPTION
2929
* Oracle Advanced Queuing (AQ) example setting options and message attributes.
3030
*
31-
* Before running this, a queue allowing RAW payloads must be
32-
* created, see https://oracle.github.io/node-oracledb/doc/api.html#aqrawexample
31+
* Before running this, a queue allowing RAW payloads must be created, see
32+
* https://node-oracledb.readthedocs.io/en/latest/user_guide/aq.html#aqrawexample
3333
*
3434
* This example requires node-oracledb 4 or later.
3535
*

examples/aqraw.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2019, 2022, Oracle and/or its affiliates. */
1+
/* Copyright (c) 2019, 2023, Oracle and/or its affiliates. */
22

33
/******************************************************************************
44
*
@@ -28,8 +28,8 @@
2828
* DESCRIPTION
2929
* Basic Oracle Advanced Queuing (AQ) example passing text messages.
3030
*
31-
* Before running this, a queue allowing RAW payloads must be
32-
* created, see https://oracle.github.io/node-oracledb/doc/api.html#aqrawexample
31+
* Before running this, a queue allowing RAW payloads must be created, see
32+
* https://node-oracledb.readthedocs.io/en/latest/user_guide/aq.html#aqrawexample
3333
*
3434
* This example requires node-oracledb 4 or later.
3535
*

examples/calltimeout.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2018, 2022, Oracle and/or its affiliates. */
1+
/* Copyright (c) 2018, 2023, Oracle and/or its affiliates. */
22

33
/******************************************************************************
44
*
@@ -27,7 +27,7 @@
2727
*
2828
* DESCRIPTION
2929
* Shows how to time out long running database calls.
30-
* See https://oracle.github.io/node-oracledb/doc/api.html#dbcalltimeouts
30+
* See https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#dbcalltimeouts
3131
*
3232
* This example requires node-oracledb 3 (or later) and Oracle Client 18c
3333
* libraries (or later).

examples/connectionpool.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2018, 2022, Oracle and/or its affiliates. */
1+
/* Copyright (c) 2018, 2023, Oracle and/or its affiliates. */
22

33
/******************************************************************************
44
*
@@ -34,7 +34,7 @@
3434
*
3535
* In some networks forced pool termination may hang unless you have
3636
* 'disable_oob=on' in sqlnet.ora, see
37-
* https://oracle.github.io/node-oracledb/doc/api.html#tnsadmin
37+
* https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#limiting-the-time-taken-to-execute-statements
3838
*
3939
* In production applications, set poolMin=poolMax (and poolIncrement=0)
4040
*

examples/dbconfig.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2015, 2022, Oracle and/or its affiliates. */
1+
/* Copyright (c) 2015, 2023, Oracle and/or its affiliates. */
22

33
/******************************************************************************
44
*
@@ -91,10 +91,10 @@ module.exports = {
9191
password : process.env.NODE_ORACLEDB_PASSWORD,
9292

9393
// For information on connection strings see:
94-
// https://oracle.github.io/node-oracledb/doc/api.html#connectionstrings
94+
// https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#connectionstrings
9595
connectString : process.env.NODE_ORACLEDB_CONNECTIONSTRING || "localhost/orclpdb1",
9696

9797
// Setting externalAuth is optional. It defaults to false. See:
98-
// https://oracle.github.io/node-oracledb/doc/api.html#extauth
98+
// https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#extauth
9999
externalAuth : process.env.NODE_ORACLEDB_EXTERNALAUTH ? true : false
100100
};

examples/soda1.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2018, 2022, Oracle and/or its affiliates. */
1+
/* Copyright (c) 2018, 2023, Oracle and/or its affiliates. */
22

33
/******************************************************************************
44
*
@@ -30,7 +30,7 @@
3030
*
3131
* Requires Oracle Database and Client 18.3, or higher.
3232
* The user must have been granted the SODA_APP and CREATE TABLE privileges.
33-
* See https://oracle.github.io/node-oracledb/doc/api.html#sodaoverview
33+
* https://node-oracledb.readthedocs.io/en/latest/user_guide/soda.html#sodaoverview
3434
*
3535
* This example requires node-oracledb 3.0 or later.
3636
*

examples/webapp.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2015, 2022, Oracle and/or its affiliates. */
1+
/* Copyright (c) 2015, 2023, Oracle and/or its affiliates. */
22

33
/******************************************************************************
44
*
@@ -33,7 +33,7 @@
3333
*
3434
* In some networks forced pool termination may hang unless you have
3535
* 'disable_oob=on' in sqlnet.ora, see
36-
* https://oracle.github.io/node-oracledb/doc/api.html#tnsadmin
36+
* https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#limiting-the-time-taken-to-execute-statements
3737
*
3838
* In production applications, set poolMin=poolMax (and poolIncrement=0)
3939
*

lib/util.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2016, 2022, Oracle and/or its affiliates.
1+
// Copyright (c) 2016, 2023, Oracle and/or its affiliates.
22

33
//-----------------------------------------------------------------------------
44
//
@@ -49,7 +49,7 @@ const STAGING_DIR = 'package/Staging';
4949

5050
// getInstallURL returns a string with installation URL
5151
function getInstallURL() {
52-
return ('Node-oracledb installation instructions: https://oracle.github.io/node-oracledb/INSTALL.html');
52+
return ('Node-oracledb installation instructions: https://node-oracledb.readthedocs.io/en/latest/user_guide/installation.html');
5353
}
5454

5555

package/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ The
4848
in GitHub doesn't have an `install` script target by default. This means that
4949
node-gyp will be invoked to compile node-oracledb. This allows installation
5050
from GitHub [source
51-
code](https://oracle.github.io/node-oracledb/INSTALL.html#github) when no
52-
suitable pre-built binary is available.
51+
code](https://node-oracledb.readthedocs.io/en/latest/user_guide/installation.html#github)
52+
when no suitable pre-built binary is available.

test/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ limitations under the License.
4343

4444
## <a name="preparations"></a> 1. Preparations
4545

46-
See [INSTALL](https://oracle.github.io/node-oracledb/INSTALL.html)
46+
See [INSTALL](https://node-oracledb.readthedocs.io/en/latest/user_guide/installation.html)
4747
for installation details.
4848

4949
On macOS, run a command like:
@@ -98,7 +98,7 @@ Set the following environment variables to provide credentials for the test suit
9898

9999
* `NODE_ORACLEDB_CONNECTIONSTRING` provides the connection string that points to your database's location.
100100

101-
* `NODE_ORACLEDB_EXTERNALAUTH` provides the options for external authentication tests. Setting this environment variable to "true" will enable the tests that require external authentication. To ensure external authentication tests works, firstly make sure the Oracle external authentication service is correctly configured. See [Documentation for External Authentication](https://oracle.github.io/node-oracledb/doc/api.html#extauth) for details.
101+
* `NODE_ORACLEDB_EXTERNALAUTH` provides the options for external authentication tests. Setting this environment variable to "true" will enable the tests that require external authentication. To ensure external authentication tests works, firstly make sure the Oracle external authentication service is correctly configured. See [Documentation for External Authentication](https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#extauth) for details.
102102

103103
* `NODE_ORACLEDB_DBA_PRIVILEGE` provides the options for DBA privilege. Setting this environment variable to "true" will enable the tests and utilities that require DBA privilege.
104104

@@ -144,14 +144,14 @@ The following test(s) are automatically skipped if their required environment va
144144
### <a name="externalproxyauth"></a> 3.1 externalProxyAuth.js
145145
This test aims to test the combined usage of external authentication and proxy authentication. To run this test, you need to complete the following prerequisite setups.
146146

147-
* Enable external authentication on the schema user which you used for testing. See [Documentation for External Authentication](https://oracle.github.io/node-oracledb/doc/api.html#extauth) for more information on external authentication. Then use the following command to enable external authentication in the test suite.
147+
* Enable external authentication on the schema user which you used for testing. See [Documentation for External Authentication](https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#extauth) for more information on external authentication. Then use the following command to enable external authentication in the test suite.
148148

149149
```
150150
export NODE_ORACLEDB_EXTERNALAUTH true
151151
152152
```
153153
154-
* Enable proxy authentication on another schema user specified by environment variable `NODE_ORACLEDB_PROXY_SESSION_USER` that connects through the schema user which you used for testing. See [Documentation for Pool Proxy Authentication](https://oracle.github.io/node-oracledb/doc/api.html#pool-proxy-authentication) for more information on proxy authentication. Then use the following command to enable proxy authentication in the test suite.
154+
* Enable proxy authentication on another schema user specified by environment variable `NODE_ORACLEDB_PROXY_SESSION_USER` that connects through the schema user which you used for testing. See [Documentation for Pool Proxy Authentication](https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#pool-proxy-authentication) for more information on proxy authentication. Then use the following command to enable proxy authentication in the test suite.
155155
156156
```
157157
export NODE_ORACLEDB_PROXY_SESSION_USER "Your_Proxy_Authenticating_User"

test/driverName.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2016, 2022, Oracle and/or its affiliates. */
1+
/* Copyright (c) 2016, 2023, Oracle and/or its affiliates. */
22

33
/******************************************************************************
44
*
@@ -31,7 +31,7 @@
3131
* Note that enabling the externalAuth feature requires configuration on the
3232
* database besides setting "externalAuth" attribute to be true. Please refer
3333
* to api doc about the configuration.
34-
* https://oracle.github.io/node-oracledb/doc/api.html#extauth
34+
* https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#extauth
3535
*
3636
*****************************************************************************/
3737

test/externalAuth.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
*
3131
* Note that enabling the externalAuth feature requires configuration on the
3232
* database besides setting "externalAuth" attribute to be true. Please refer
33-
* to api doc about the configuration.
34-
* https://oracle.github.io/node-oracledb/doc/api.html#extauth
33+
* to API documentation about configuration.
34+
* https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#extauth
3535
*
3636
*****************************************************************************/
3737
'use strict';

test/multipleLobInsertion.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
*
3131
* Note that enabling the externalAuth feature requires configuration on the
3232
* database besides setting "externalAuth" attribute to be true. Please refer
33-
* to api doc about the configuration.
34-
* https://oracle.github.io/node-oracledb/doc/api.html#extauth
33+
* to API documentation about configuration.
34+
* https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#extauth
3535
*
3636
*****************************************************************************/
3737
'use strict';

0 commit comments

Comments
 (0)