Skip to content

Commit dd1b0df

Browse files
committed
Merge branch 'atp-db-docs' into 'main'
Fix the ATP database docs to reflect the new archive functionality See merge request weblogic-cloud/weblogic-deploy-tooling!1487
2 parents 26b581c + c4fa795 commit dd1b0df

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

documentation/3.0/content/userguide/database/connect-db.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,38 @@ domainInfo:
9090
javax.net.ssl.trustStorePassword : <atp wallet password when generating the wallet from Oracle Cloud Console>
9191
oracle.net.tns_admin: <optional: absolute path of the unzipped wallet root directory (outside of the archive), if the wallet.zip is not included in the archive>
9292
```
93-
The database wallet can be included in the archive file under `atpwallet` zipentry structure
93+
The database wallet can be included in the archive file as a named entry (example uses `rcu` as that name) under the
94+
`dbWallets` archive structure, either as a zip file:
9495

95-
`atpwallet/Walletxyz.zip`
96+
`wlsdeploy/dbWallets/rcu/Walletxyz.zip`
97+
98+
or as the unzipped contents:
99+
100+
- `wlsdeploy/dbWallets/rcu/cwallet.sso`
101+
- `wlsdeploy/dbWallets/rcu/ewallet.p12`
102+
- `wlsdeploy/dbWallets/rcu/ewallet.pem`
103+
- `wlsdeploy/dbWallets/rcu/keystore.jks`
104+
- `wlsdeploy/dbWallets/rcu/ojdbc.properties`
105+
- `wlsdeploy/dbWallets/rcu/sqlnet.ora`
106+
- `wlsdeploy/dbWallets/rcu/tnsnames.ora`
107+
- `wlsdeploy/dbWallets/rcu/truststore.jks`
108+
109+
At runtime, WDT will extract the files (if they are in a zip file) to `$DOMAIN_HOME/wlsdeploy/dbWallets/rcu/` so that they can be
110+
referenced directly from the model using the normal relative path. For example:
111+
112+
```yaml
113+
domainInfo:
114+
RCUDbInfo:
115+
databaseType : 'ATP'
116+
rcu_prefix : DEV
117+
rcu_admin_password: <database admin password is required only when you specify -run_rcu flag>
118+
rcu_schema_password : <RCU schema password>
119+
rcu_db_user : admin
120+
tns.alias : my_atp_db_medium
121+
javax.net.ssl.keyStorePassword : wlsdeploy/dbWallets/rcu/keystore.jks
122+
javax.net.ssl.trustStorePassword : wlsdeploy/dbWallets/rcu/truststore.jks
123+
oracle.net.tns_admin: '@@DOMAIN_HOME@@/wlsdeploy/dbWallets/rcu'
124+
```
96125

97126
Or, by specifying the unzipped root directory of the ATP wallet ZIP file in `oracle.net.tns_admin`.
98127

0 commit comments

Comments
 (0)