Skip to content

Commit

Permalink
HHH-17736 Improve Atlas for atps
Browse files Browse the repository at this point in the history
  • Loading branch information
loiclefevre authored and beikov committed Mar 27, 2024
1 parent 6386623 commit 8b111ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 8b111ec

Please sign in to comment.