The self_uri property in the Tool and ToolVersion data model should serve as a self reference to the resouce being requested. However, as it currently used the internal host, which is always set to 0.0.0.0/locahlost, this will only give the expected result when the service is deployed locally. When exposed over the internet, an external IP or domain has to be set. This PR adds a config variable where the domain of the service can be configured. By default it is set to some dummy value 1.2.3.4, but depending on the deployment, this can be modified to reflect the external host.
The
self_uri
property in theTool
andToolVersion
data model should serve as a self reference to the resouce being requested. However, as it currently used the internal host, which is always set to0.0.0.0/locahlost
, this will only give the expected result when the service is deployed locally. When exposed over the internet, an external IP or domain has to be set. This PR adds a config variable where the domain of the service can be configured. By default it is set to some dummy value1.2.3.4
, but depending on the deployment, this can be modified to reflect the external host.Fixes #17