Change platform datalake url in Saagie

In some specific situations, you will need to configure the url to access the platform dalalake. This article will discuss the following situations:

This can be done during platform installation, see Configure Platform.

Finally, retrieve your configuration status, making sure to replace <variable>:

  • <realm> is the prefix that was determined during Saagie installation.

  • <saagie_host> is your Saagie URL.

  • <username> and <password> must be the credentials of an admin user.

  • <platform_id> is the id of the platform being configured.

# Authentication Query
TOKEN = $(curl -X POST -H "Content-Type:application/json" -H "Saagie-Realm:<realm>" https://<saagie_host>/authentication/api/open/authenticate --data '{"login":"<username>", "password":"<password>"}')

# Query reading Datalake url setting
curl -X GET -H "Content-Type:application/json" -H "Saagie-Realm:<realm>" -H "Authorization: Bearer $TOKEN" https://<saagie_host>/settings/api/v1/settings/platforms/datalakeUrls