The following
sales.json file shows Oracle Call Interface attributes along with the connect descriptor, database credentials, and wallet location values that are configured for the
sales.myexample.com service:
{
"connect_descriptor": "(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=my sales dbserver)
(PORT=1521))
(CONNECT_DATA=
(SERVER=DEDICATED)
(SERVICE_NAME=sales.myexample.com))
)",
"user": "admin",
"password": {
"type": "ocivault",
"value": "ocid1.vaultsecret.my-password-secret-id"
},
"wallet_location" : {
"type" : "ocivault",
"value" : "ocid2.vaultsecret.my-wallet-secret-id"
},
"oci": { "statement_cache_size" : 5,
"prefetch_rows" : 10,
"lob_prefetch_size": 1024,
"session_pool" : { "min" : 4, "max" : 10, "increment" : 2 }
}
}
Similarly, the following
multi.json file shows Oracle Call Interface attributes along with the connect descriptor, database credentials, and wallet location values that are specified for the
sales and
hr objects:
{
"sales" : {
"connect_descriptor": "(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=my sales dbserver)
(PORT=1521))
(CONNECT_DATA=
(SERVER=DEDICATED)
(SERVICE_NAME=sales.myexample.com))
)",
"user": "scott",
"password": {
"type": "ocivault",
"value": "ocid1.vaultsecret.oc1.my-password-secret-id"
},
"wallet_location" : {
"type" : "ocivault",
"value" : "ocid2.vaultsecret.my-wallet-secret-id"
},
"oci":{ "statement_cache_size" : 5,
"prefetch_rows" : 10,
"lob_prefetch_size": 1024,
"session_pool" : { "min" : 4, "max" : 10, "increment" : 2 }
}
},
"hr" : {
"connect_descriptor": "(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=my dbserver.my.example.com)
(PORT=1521))
(CONNECT_DATA=
(SERVER=DEDICATED)
(SERVICE_NAME=hr.my.example.com))
)"
"oci":{
"statement_cache_size" : 6,
"prefetch_rows" : 10
}
}
}