You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by "Philipp Zehnder (Jira)" <ji...@apache.org> on 2020/01/13 22:02:00 UTC
[jira] [Created] (STREAMPIPES-55) Create resource files for
adapters
Philipp Zehnder created STREAMPIPES-55:
------------------------------------------
Summary: Create resource files for adapters
Key: STREAMPIPES-55
URL: https://issues.apache.org/jira/browse/STREAMPIPES-55
Project: StreamPipes
Issue Type: Improvement
Components: Connect
Reporter: Philipp Zehnder
Remove old way of providing labels "Labels.from(internalId, labels, description)" to "Labels.withId(id)"
An example of the new version is shown in the ROS adapter [1].
* To migrate to the new variant, first create a folder with the full package name in the resource directory.
* Then create a "strings.en" file
** The first two lines contain the adapter title and description
** Then provide the texts for all labels
* Further add an icon (if not already provided) and create a documentation.md file with a detailed explanation of the functionality of the adapter
[1] [https://github.com/apache/incubator-streampipes-extensions/blob/dev/streampipes-connect-adapters/streampipes-connect-adapter/src/main/java/org/apache/streampipes/connect/adapters/ros/RosBridgeAdapter.java]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)