You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by "Patrick Wiener (Jira)" <ji...@apache.org> on 2020/03/01 13:50:00 UTC
[jira] [Created] (STREAMPIPES-100) Remove iconUrl option from
pipeline element builder
Patrick Wiener created STREAMPIPES-100:
------------------------------------------
Summary: Remove iconUrl option from pipeline element builder
Key: STREAMPIPES-100
URL: https://issues.apache.org/jira/browse/STREAMPIPES-100
Project: StreamPipes
Issue Type: Bug
Reporter: Patrick Wiener
Pipeline elements should use *.withAssets()* to propagate PE icons. So *.iconUrl()* is not needed anymore. Especially in the case of the pipeline elements all JVM container, this causes the unexpected behaviour of registering the corresponding PE algorithms in Consul, since *.iconUrl()* calls the correspondig config, which in turn registers itself.
We should mark iconUrl() as deprecated and remove the method call from the PE config.
{code:java}
@Deprecated
/**
* @deprecated: Use {@link #withAssets(String...)} instead
*/
public BU iconUrl(String iconUrl) {
elementDescription.setIconUrl(iconUrl);
return me();
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)