Skip to content

Commit

Permalink
refactor(#2938): Replace ExtensionsModelSubmitter in archetypes
Browse files Browse the repository at this point in the history
  • Loading branch information
tenthe committed Jun 17, 2024
1 parent e072d6c commit 6ce0f9d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
import org.apache.streampipes.messaging.mqtt.SpMqttProtocolFactory;
import org.apache.streampipes.messaging.nats.SpNatsProtocolFactory;
import org.apache.streampipes.messaging.pulsar.SpPulsarProtocolFactory;
import org.apache.streampipes.service.extensions.ExtensionsModelSubmitter;
import org.apache.streampipes.service.extensions.StreamPipesExtensionsServiceBase;
import org.apache.streampipes.wrapper.standalone.runtime.StandaloneStreamPipesRuntimeProvider;

import ${package}.pe.${packageName}.${classNamePrefix}DataProcessor;
import ${package}.pe.${packageName}.${classNamePrefix}DataSink;
import ${package}.pe.${packageName}.${classNamePrefix}GenericAdapter;
import ${package}.pe.${packageName}.${classNamePrefix}SpecificAdapter;

public class Init extends ExtensionsModelSubmitter {
public class Init extends StreamPipesExtensionsServiceBase {

public static void main(String[] args) {
new Init().init();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
import org.apache.streampipes.messaging.mqtt.SpMqttProtocolFactory;
import org.apache.streampipes.messaging.pulsar.SpPulsarProtocolFactory;
import org.apache.streampipes.messaging.nats.SpNatsProtocolFactory;
import org.apache.streampipes.service.extensions.ExtensionsModelSubmitter;
import org.apache.streampipes.service.extensions.StreamPipesExtensionsServiceBase;

public class Init extends ExtensionsModelSubmitter {
public class Init extends StreamPipesExtensionsServiceBase {

public static void main(String[] args) throws Exception {
new Init().init();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
import org.apache.streampipes.messaging.mqtt.SpMqttProtocolFactory;
import org.apache.streampipes.messaging.pulsar.SpPulsarProtocolFactory;
import org.apache.streampipes.messaging.nats.SpNatsProtocolFactory;
import org.apache.streampipes.service.extensions.ExtensionsModelSubmitter;
import org.apache.streampipes.service.extensions.StreamPipesExtensionsServiceBase;

import ${package}.config.ConfigKeys;
import ${package}.pe.sink.${packageName}.${classNamePrefix}Controller;

public class Init extends ExtensionsModelSubmitter {
public class Init extends StreamPipesExtensionsServiceBase {

public static void main(String[] args) throws Exception {
new Init().init();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
import org.apache.streampipes.pe.flink.processor.urldereferencing.UrlDereferencingController;
import org.apache.streampipes.pe.flink.processor.wordcount.WordCountController;
import org.apache.streampipes.pe.flink.sink.elasticsearch.ElasticSearchController;
import org.apache.streampipes.service.extensions.ExtensionsModelSubmitter;
import org.apache.streampipes.service.extensions.StreamPipesExtensionsServiceBase;
import org.apache.streampipes.wrapper.flink.FlinkRuntimeProvider;


public class AllFlinkPipelineElementsInit extends ExtensionsModelSubmitter {
public class AllFlinkPipelineElementsInit extends StreamPipesExtensionsServiceBase {

public static void main(String[] args) {
new AllFlinkPipelineElementsInit().init();
Expand Down
2 changes: 1 addition & 1 deletion streampipes-maven-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The streampipes-maven-plugin can either be started from the command line or embe

### Prerequisites

The plugin must be started from a module which contains an `Init` class which inherits `ExtensionsModelSubmitter`.
The plugin must be started from a module which contains an `Init` class which inherits `StreamPipesExtensionsServiceBase`.
By default, the goal runs in the `package` phase.

### Command line
Expand Down

0 comments on commit 6ce0f9d

Please sign in to comment.