HHH-17736 Improve Atlas for atps
This commit is contained in:
parent
63866239e7
commit
8b111ec4c6
|
@ -709,7 +709,7 @@ disable_userland_proxy() {
|
|||
|
||||
oracle_atps() {
|
||||
echo "Managing Oracle Autonomous Database..."
|
||||
export INFO=$(curl -s -k -L -X GET "https://api.atlas-controller.oraclecloud.com/ords/atlas/admin/database?type=autonomous&hostname=`hostname`" -H 'accept: application/json')
|
||||
export INFO=$(curl -s -k -L -X GET "https://api.atlas-controller.oraclecloud.com/ords/atlas/admin/database?type=autonomous2&hostname=`hostname`" -H 'accept: application/json')
|
||||
export HOST=$(echo $INFO | jq -r '.database' | jq -r '.host')
|
||||
export SERVICE=$(echo $INFO | jq -r '.database' | jq -r '.service')
|
||||
export PASSWORD=$(echo $INFO | jq -r '.database' | jq -r '.password')
|
||||
|
|
Loading…
Reference in New Issue