NextGEOSS Training - Integration of your data processing algorithm onto the NextGEOSS Cloud platform (Part2)
You successfully performed the Part 1: Work session with Cloud resources.
- Open a browser,
- Visit https://www.terradue.com/portal/settings/apikey,
- Click on the button Generate a new API key,
- Type your Terradue's Cloud password,
- Click on the button copy to clipboard,
- Logon on the Developer Cloud Sandbox,
- Type:
export APIKEY=<paste here the API key value>
- Open a browser,
- Visit http://sandbox-ip,
- Click on the link Oozie Web Console,
- Copy the workflow Job Id value,
- Access the Developer Cloud Sandbox,
- Type:
export WORKFLOW=<paste here the workflow Job id value>
- Access the Developer Cloud Sandbox,
- Type:
enclosure=$( opensearch-client "http://$HOSTNAME/sbws/wps/ewf-sen2cor/$WORKFLOW/results/search" enclosure )
echo $enclosure
- Type:
local_result=$( ciop-copy -f -O /tmp/ "$enclosure" )
echo $local_result
- Visit https://store.terradue.com/terradue-training/[USERNAME]
- With [USERNAME] being provided at the registration time on https://www.terradue.com
- Check the previous results.
- Access the Developer Cloud Sandbox,
- Type:
identifier=$( basename $local_result )
echo $identifier
curl -u $USER:$APIKEY -XPUT "https://store.terradue.com/terradue-training/$USER/$identifier" -T "$local_result"
Note: a typical application at this stage could publish results on a managed instance of a Geoserver.
- Open a browser,
- Visit https://catalog.terradue.com
- Build a URL from this template https://catalog.terradue.com/[index-name]/search?format=json
- Visit that link from a new Browser tab
- Access the Developer Cloud Sandbox,
- Type:
opensearch-client "http://$HOSTNAME/sbws/wps/sen2cor/$WORKFLOW/results/search"
- Type:
sh /application/util/ingest.sh
Discover the result(s) metadata on the Data Agency Catalogue (change value of [your-index-linked-to-API-key] with an actual index)
- Open a browser,
- Build a URL from this template https://catalog.terradue.com/[your-index-linked-to-API-key]/search?format=json,
- Visit that link from a new Browser tab
- Search for your identifier value,
- Click on the link enclosure.