Skip to content

Commit

Permalink
fix(#3407): Update processing element api for archetypes (#3408)
Browse files Browse the repository at this point in the history
  • Loading branch information
tenthe authored Jan 9, 2025
1 parent 8439185 commit 19eeb1a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM eclipse-temurin:17-jre-alpine
FROM eclipse-temurin:17-jre-focal

COPY ./target/${artifactId}.jar /streampipes-extensions-service.jar

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class ${classNamePrefix}DataProcessor implements IStreamPipesDataProcesso
public IDataProcessorConfiguration declareConfig() {
return DataProcessorConfiguration.create(
${classNamePrefix}DataProcessor::new,
ProcessingElementBuilder.create("${package}.pe.${packageName}.processor")
ProcessingElementBuilder.create("${package}.pe.${packageName}.processor", 0)
.withAssets(ExtensionAssetType.DOCUMENTATION, ExtensionAssetType.ICON)
.withLocales(Locales.EN)
.category(DataProcessorType.AGGREGATE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class ${classNamePrefix}DataSink implements IStreamPipesDataSink {
public IDataSinkConfiguration declareConfig() {
return DataSinkConfiguration.create(
${classNamePrefix}DataSink::new,
DataSinkBuilder.create("${package}.pe.${packageName}.sink")
DataSinkBuilder.create("${package}.pe.${packageName}.sink", 0)
.withAssets(ExtensionAssetType.DOCUMENTATION, ExtensionAssetType.ICON)
.withLocales(Locales.EN)
.category(DataSinkType.UNCATEGORIZED)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public class ${classNamePrefix}GenericAdapter implements StreamPipesAdapter {
public IAdapterConfiguration declareConfig() {
return AdapterConfigurationBuilder.create(
"${package}.pe.${packageName}.genericadapter",
0,
${classNamePrefix}GenericAdapter::new
)
.withCategory(AdapterType.Manufacturing)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public class ${classNamePrefix}SpecificAdapter implements StreamPipesAdapter {
public IAdapterConfiguration declareConfig() {
return AdapterConfigurationBuilder.create(
"${package}.pe.${packageName}.specificadapter",
0,
${classNamePrefix}SpecificAdapter::new
)
.withCategory(AdapterType.Manufacturing)
Expand Down

0 comments on commit 19eeb1a

Please sign in to comment.