Skip to content

Commit 7a87469

Browse files
Merge pull request #48 from shadab-mohammad-oracle/patch-10
Update README.md
2 parents 376908d + a9000cd commit 7a87469

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
4141
-d host=localhost \
4242
-d port=3390 \
4343
-d username=snare \
44-
-d password="abcdABCD1234##" \
44+
-d password="" \
4545
-d database=snarepoc \
4646
-d interval=1 \
4747
-d period=10 \
@@ -58,7 +58,7 @@ curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
5858
-d host=localhost \
5959
-d port=3390 \
6060
-d username=snare \
61-
-d password="abcdABCD1234##" \
61+
-d password="" \
6262
-d database=snarepoc \
6363
-d interval=1 \
6464
-d period=10 \
@@ -169,19 +169,19 @@ This section shows how to set up SSH tunnels to connect to remote databases from
169169

170170
### Oracle Autonomous Database (ADB) SSH Tunnel
171171
```bash
172-
ssh -fNT -v -L 1522:10.180.2.238:1521 opc@168.138.10.135 -i "/Users/shadab/Downloads/OracleContent/Keys/mydemo_vcn.priv"
172+
ssh -fNT -v -L 1522:10.180.2.238:1521 opc@168.x.x.x -i "mydemo_vcn.priv"
173173
```
174174
### Local Oracle DB SSH Tunnel
175175
```bash
176-
ssh -fNT -v -L 1521:10.180.2.158:1521 opc@168.138.10.135 -i "/Users/shadab/Downloads/OracleContent/Keys/mydemo_vcn.priv"
176+
ssh -fNT -v -L 1521:10.180.2.158:1521 opc@168.x.x.x -i "mydemo_vcn.priv"
177177
```
178178
### PostgreSQL SSH Tunnel
179179
```bash
180-
ssh -fNT -v -L 5432:10.180.2.205:5432 opc@168.138.10.135 -i "/Users/shadab/Downloads/OracleContent/Keys/mydemo_vcn.priv"
180+
ssh -fNT -v -L 5432:10.180.2.205:5432 opc@168.x.x.x -i "mydemo_vcn.priv"
181181
```
182182
### MySQL SSH Tunnel
183183
```bash
184-
ssh -fNT -v -L 3306:10.180.2.30:3306 opc@168.138.10.135 -i "/Users/shadab/Downloads/OracleContent/Keys/mydemo_vcn.priv"
184+
ssh -fNT -v -L 3306:10.180.2.30:3306 opc@168.x.x.x -i "mydemo_vcn.priv"
185185
```
186186
## API Usage Examples
187187

@@ -195,7 +195,7 @@ curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
195195
-d host=localhost \
196196
-d port=5432 \
197197
-d username=ggadmin \
198-
-d password="RAbbithole1234##" \
198+
-d password="" \
199199
-d database=dvdrental \
200200
-d interval=1 \
201201
-d period=5 \
@@ -217,7 +217,7 @@ curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
217217
-d host=localhost \
218218
-d port=3306 \
219219
-d username=admin \
220-
-d password="RAbbithole1234##" \
220+
-d password="" \
221221
-d database=dvdrental \
222222
-d interval=1 \
223223
-d period=5 \
@@ -239,7 +239,7 @@ curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
239239
-d host=localhost \
240240
-d port=1521 \
241241
-d username=mpos \
242-
-d password="abcdABCD1234##" \
242+
-d password="" \
243243
-d database=T1DB04 \
244244
-d interval=1 \
245245
-d period=5 \
@@ -262,9 +262,9 @@ curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
262262
curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
263263
-k \
264264
-d dbtype=oracle \
265-
-d host="(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=localhost))(connect_data=(service_name=g9b8049aad9c64c_spotlightdemo_high.adb.oraclecloud.com))(security=(ssl_server_dn_match=no)))" \
265+
-d host="(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=localhost))(connect_data=(service_name=****_s***_high.adb.oraclecloud.com))(security=(ssl_server_dn_match=no)))" \
266266
-d username=dvdrental \
267-
-d password="RAbbithole1234##" \
267+
-d password="" \
268268
-d interval=1 \
269269
-d period=5 \
270270
| jq .

0 commit comments

Comments
 (0)