{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/hawkbit/issues/385","repository_url":"https://api.github.com/repos/eclipse/hawkbit","labels_url":"https://api.github.com/repos/eclipse/hawkbit/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/hawkbit/issues/385/comments","events_url":"https://api.github.com/repos/eclipse/hawkbit/issues/385/events","html_url":"https://github.com/eclipse/hawkbit/issues/385","id":194369933,"number":385,"title":"The Download link for the artifacts is not switching to hawkbit.url","user":{"login":"EugenWiens","id":7880602,"avatar_url":"https://avatars.githubusercontent.com/u/7880602?v=3","gravatar_id":"","url":"https://api.github.com/users/EugenWiens","html_url":"https://github.com/EugenWiens","followers_url":"https://api.github.com/users/EugenWiens/followers","following_url":"https://api.github.com/users/EugenWiens/following{/other_user}","gists_url":"https://api.github.com/users/EugenWiens/gists{/gist_id}","starred_url":"https://api.github.com/users/EugenWiens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EugenWiens/subscriptions","organizations_url":"https://api.github.com/users/EugenWiens/orgs","repos_url":"https://api.github.com/users/EugenWiens/repos","events_url":"https://api.github.com/users/EugenWiens/events{/privacy}","received_events_url":"https://api.github.com/users/EugenWiens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-08T15:46:49Z","updated_at":"2016-12-08T15:55:35Z","closed_at":null,"body":"I have set the setting hawkbit.url in the application.properties but when I perform a GET to the deploymentBase/ID/ URL the response is wrong. For the download link hawkBit returns localhost:8080...\r\n\r\n            \"_links\": {\r\n              \"download-http\": {\r\n                \"href\":  \"http://localhost:8080/DEFAULT/controller/v1/eugenId/softwaremodules/2/artifacts/fimware.txt\"\r\n              },\r\n              \"md5sum-http\": {\r\n                \"href\": \"http://localhost:8080/DEFAULT/controller/v1/eugenId/softwaremodules/2/artifacts/fimware.txt.MD5SUM\"\r\n              }\r\n            }\r\n"},"comment":{"url":"https://api.github.com/repos/eclipse/hawkbit/issues/comments/265775293","html_url":"https://github.com/eclipse/hawkbit/issues/385#issuecomment-265775293","issue_url":"https://api.github.com/repos/eclipse/hawkbit/issues/385","id":265775293,"user":{"login":"michahirsch","id":10206349,"avatar_url":"https://avatars.githubusercontent.com/u/10206349?v=3","gravatar_id":"","url":"https://api.github.com/users/michahirsch","html_url":"https://github.com/michahirsch","followers_url":"https://api.github.com/users/michahirsch/followers","following_url":"https://api.github.com/users/michahirsch/following{/other_user}","gists_url":"https://api.github.com/users/michahirsch/gists{/gist_id}","starred_url":"https://api.github.com/users/michahirsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michahirsch/subscriptions","organizations_url":"https://api.github.com/users/michahirsch/orgs","repos_url":"https://api.github.com/users/michahirsch/repos","events_url":"https://api.github.com/users/michahirsch/events{/privacy}","received_events_url":"https://api.github.com/users/michahirsch/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T15:55:35Z","updated_at":"2016-12-08T15:55:35Z","body":"hawkBit supports to generate download-links to other hostsnames, because you might want to download from other server than hawkBit itself.\r\n\r\nSo you can checkout the properties in the https://github.com/eclipse/hawkbit/blob/master/hawkbit-autoconfigure/src/main/resources/hawkbitdefaults.properties there you can see \r\n```\r\nhawkbit.artifact.url.protocols.download-http.hostname=localhost\r\nhawkbit.artifact.url.protocols.download-http.port=8080\r\nhawkbit.artifact.url.protocols.download-http.ref={protocol}://{hostname}:{port}/{tenant}/controller/v1/{controllerId}/softwaremodules/{softwareModuleId}/artifacts/{artifactFileName}\r\n```"}}
{"actor":{"display_login":"michahirsch"}}