Skip to content

Commit d112554

Browse files
committed
docs: enhance oraclenosql configuration
Signed-off-by: Otavio Santana <[email protected]>
1 parent b2dcb02 commit d112554

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

jnosql-nosql-oracle/src/main/java/org/eclipse/jnosql/databases/oracle/communication/OracleNoSQLConfigurations.java

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -73,25 +73,14 @@ public enum OracleNoSQLConfigurations implements Supplier<String> {
7373
* If set to 0, it defaults to <b>500</b> milliseconds.
7474
*/
7575
TABLE_DELAY_MILLIS("jnosql.oracle.nosql.table.delay.millis"),
76+
7677
/**
7778
* Specifies the deployment type for Oracle NoSQL database.
7879
* Default value: {@link DeploymentType#ON_PREMISES}
79-
* <p>
80-
* When ON_PREMISES is selected for deployment:
81-
* - Credentials required: USER (username) and HOST (hostname or IP address).
82-
* - Connection is established without authentication if USER and HOST are not provided.
83-
* </p>
84-
* <p>
85-
* When CLOUD is selected for deployment:
86-
* - Credentials required: PRIVATE_KEY (private key file path), FINGERPRINT (fingerprint of the public key),
87-
* TENANT (Oracle Cloud tenant ID), USER (Oracle Cloud username), and PASSWORD (Oracle Cloud password).
88-
* - If any of these credentials are not provided, the configuration will be read from a configuration file.
89-
* For more information, see:
90-
* <a href="https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkgettingstarted.htm#Configur">
91-
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkgettingstarted.htm#Configur</a>
92-
* </p>
80+
*
9381
*/
9482
DEPLOYMENT("jnosql.oracle.nosql.deployment"),
83+
9584
/**
9685
* Specifies the Oracle NoSQL database tenant ID for Cloud deployment.
9786
* Relevant for Cloud deployment only.
@@ -109,25 +98,26 @@ public enum OracleNoSQLConfigurations implements Supplier<String> {
10998
* Relevant for Cloud deployment only.
11099
*/
111100
PRIVATE_KEY("jnosql.oracle.nosql.private.key"),
101+
112102
/**
113-
* Define the compartment name in Oracle Cloud Infrastructure
103+
* Define the compartment name in Oracle Cloud Infrastructure.
114104
*/
115105
COMPARTMENT("jnosql.oracle.nosql.compartment"),
106+
116107
/**
117108
* Define the compartment name in Oracle NoSQL on-premise.
118109
*/
119110
NAMESPACE("jnosql.oracle.nosql.namespace"),
120111

121112
/**
122-
* Define the profile name used to load session token in Oracle NoSQL cloud.
113+
* Define the profile name used to load session token in Oracle NoSQL cloud.
123114
*/
124115
PROFILE_NAME("jnosql.oracle.nosql.profile.name"),
125116
/**
126-
* Define the path of configuration file used to load session token in Oracle NoSQL cloud.
117+
* Define the path of configuration file used to load session token in Oracle NoSQL cloud.
127118
*/
128119
CONFIG_FILE("jnosql.oracle.nosql.config.file");
129120

130-
131121
private final String configuration;
132122

133123
OracleNoSQLConfigurations(String configuration) {

0 commit comments

Comments
 (0)