chore(extensions-docs): update extensions doc assets to recent development state (#152)
Co-authored-by: dominikriemer <dominikriemer@users.noreply.github.com>
diff --git a/docs/pe/org.apache.streampipes.connect.iiot.protocol.stream.httpserver.md b/docs/pe/org.apache.streampipes.connect.iiot.protocol.stream.httpserver.md
index 3fd6323..366b7cc 100644
--- a/docs/pe/org.apache.streampipes.connect.iiot.protocol.stream.httpserver.md
+++ b/docs/pe/org.apache.streampipes.connect.iiot.protocol.stream.httpserver.md
@@ -30,7 +30,6 @@
***
-
## Description
This adapter provides an HTTP endpoint for ingesting events.
@@ -46,7 +45,7 @@
Provides an option to define the event schema manually.
##### Import from file
-Use a file with example data to automatically detect a first event schema
+Use a file with example data to automatically detect a first event schema.
***
diff --git a/docs/pe/org.apache.streampipes.processors.transformation.jvm.processor.staticmetadata.md b/docs/pe/org.apache.streampipes.processors.transformation.jvm.processor.staticmetadata.md
new file mode 100644
index 0000000..6400ed6
--- /dev/null
+++ b/docs/pe/org.apache.streampipes.processors.transformation.jvm.processor.staticmetadata.md
@@ -0,0 +1,74 @@
+---
+id: org.apache.streampipes.processors.transformation.jvm.processor.staticmetadata
+title: Static Metadata Enricher
+sidebar_label: Static Metadata Enricher
+---
+
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~
+ -->
+
+
+Enrich a data stream by dynamically adding fields based on user-provided static metadata configuration.
+
+---
+
+## Description
+
+The Static Metadata Enricher is designed to enrich a data stream by dynamically adding fields based on user-provided
+metadata configuration. Users can specify static properties, and the processor will process each event, adding fields
+according to the provided key-value pairs. The output strategy is determined dynamically based on the provided metadata.
+For added convenience, users also have the option of uploading a CSV file with metadata information.
+
+### Configuration
+
+For each metadata entry, configure the following three options:
+
+- **Runtime Name:** A unique identifier for the property during runtime.
+- **Value:** The value associated with the property.
+- **Data Type:** The data type of the property value.
+
+#### Using CSV Option
+
+Alternatively, you can utilize the CSV upload feature by creating a CSV file with the following format:
+
+```
+Runtime Name,Runtime Value,Data Type
+sensorType,Temperature,String
+maxSensorValue,100.0,Float
+minSensorValue,0,Float
+```
+
+## Example
+### Input Event
+
+```json
+{
+ "reading": 25.5
+}
+```
+
+### Output Event
+
+```json
+{
+ "reading": 25.5,
+ "sensorType": "Temperature",
+ "maxSensorValue": 100.0,
+ "minSensorValue": 0.0
+}
+```
diff --git a/website-v2/sidebars.json b/website-v2/sidebars.json
index 27610b8..3d977fa 100644
--- a/website-v2/sidebars.json
+++ b/website-v2/sidebars.json
@@ -121,6 +121,7 @@
"pe/org.apache.streampipes.processors.transformation.jvm.processor.booloperator.edge",
"pe/org.apache.streampipes.processors.transformation.jvm.split-array",
"pe/org.apache.streampipes.processors.enricher.jvm.processor.math.staticmathop",
+ "pe/org.apache.streampipes.processors.transformation.jvm.processor.staticmetadata",
"pe/org.apache.streampipes.processors.transformation.jvm.stringoperator.counter",
"pe/org.apache.streampipes.processors.transformation.jvm.stringoperator.timer",
"pe/org.apache.streampipes.processors.transformation.jvm.processor.stringoperator.state",
diff --git a/website-v2/static/img/pipeline-elements/org.apache.streampipes.processors.transformation.jvm.processor.staticmetadata/icon.png b/website-v2/static/img/pipeline-elements/org.apache.streampipes.processors.transformation.jvm.processor.staticmetadata/icon.png
new file mode 100644
index 0000000..61caf18
--- /dev/null
+++ b/website-v2/static/img/pipeline-elements/org.apache.streampipes.processors.transformation.jvm.processor.staticmetadata/icon.png
Binary files differ