HHH-17736 Improve Atlas for atps

This commit is contained in:
LLEFEVRE 2024-02-14 11:35:11 +01:00 committed by Christian Beikov
parent c94bd1feef
commit 9891971d03
1 changed files with 1 additions and 1 deletions

View File

@ -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')