Class PropertyBasedArtifactUrlResolver

java.lang.Object
org.eclipse.hawkbit.artifact.urlresolver.PropertyBasedArtifactUrlResolver
All Implemented Interfaces:
ArtifactUrlResolver

public class PropertyBasedArtifactUrlResolver extends Object implements ArtifactUrlResolver
Implementation for ArtifactUrlHandler for creating urls to download resource based on patterns configured by PropertyBasedArtifactUrlResolverProperties.

This mechanism can be used to generate links to arbitrary file hosting infrastructure. However, the hawkBit update server supports hosting files as well in the following

invalid reference
UrlProtocol#getRef()
patterns:

Default:
{protocol}://{hostname}:{port}{contextPath}/{tenant}/controller/v1/{controllerId} /softwaremodules/{softwareModuleId}/artifacts/{artifactFileName}

Default (MD5SUM files): {protocol}://{hostname}:{port}{contextPath}/{tenant}/controller/v1/{controllerId}/ softwaremodules/{softwareModuleId}/artifacts/{artifactFileName}.MD5SUM