Add REST endpoint to Clinical Gateway (/gateway/config) so that it is possible for the dataservice to initialize connections to the Sonador cloud
Add an endpoint (intended to be consumed from the QT frontend) which is able to provide Sonador credentials to the Gateway Data service so that it is able to connect to the Sonador cloud and begin the transfer of data.
Requirements:
- Process a POST request which includes the Sonador URL, the access ID/secret of the account to be used for interfacing with Sonador, and the gateway ID to be used by the data service.
- Verify the credentials and gateway ID by connecting to Sonador and downloading the configuration.
- Save the credentials to the Sonador configuration file.
- Restart the Orthanc instance.