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 63866239e7
commit 8b111ec4c6
1 changed files with 1 additions and 1 deletions

View File

@ -709,7 +709,7 @@ disable_userland_proxy() {
oracle_atps() { oracle_atps() {
echo "Managing Oracle Autonomous Database..." 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 HOST=$(echo $INFO | jq -r '.database' | jq -r '.host')
export SERVICE=$(echo $INFO | jq -r '.database' | jq -r '.service') export SERVICE=$(echo $INFO | jq -r '.database' | jq -r '.service')
export PASSWORD=$(echo $INFO | jq -r '.database' | jq -r '.password') export PASSWORD=$(echo $INFO | jq -r '.database' | jq -r '.password')