Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Remove unused tasks and replace used with prebuilt tasks
Browse files Browse the repository at this point in the history
FLPATH-291 https://issues.redhat.com/browse/FLPATH-291

Signed-off-by: Yaron Dayagi <ydayagi@redhat.com>
  • Loading branch information
ydayagi committed Jun 15, 2023
1 parent 067ff08 commit 4fb40cc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 469 deletions.
4 changes: 4 additions & 0 deletions workflow-examples/run_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ run_simple_flow() {
{
"key": "url",
"value": "http://localhost:8080/actuator/health"
},
{
"key": "method",
"value": "get"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.concurrent.Executors;

import com.redhat.parodos.examples.simple.task.LoggingWorkFlowTask;
import com.redhat.parodos.examples.simple.task.RestAPIWorkFlowTask;
import com.redhat.parodos.tasks.rest.RestWorkFlowTask;
import com.redhat.parodos.workflow.annotation.Infrastructure;
import com.redhat.parodos.workflow.annotation.WorkFlowProperties;
import com.redhat.parodos.workflow.consts.WorkFlowConstants;
Expand All @@ -45,8 +45,8 @@ public class SimpleWorkFlowConfiguration {

// START Sequential Example (WorkflowTasks and Workflow Definitions)
@Bean
RestAPIWorkFlowTask restCallTask() {
return new RestAPIWorkFlowTask();
RestWorkFlowTask restCallTask() {
return new RestWorkFlowTask();
}

@Bean
Expand All @@ -57,7 +57,7 @@ LoggingWorkFlowTask loggingTask() {
@Bean(name = "simpleSequentialWorkFlow" + WorkFlowConstants.INFRASTRUCTURE_WORKFLOW)
@Infrastructure
@WorkFlowProperties(version = "${git.commit.id}")
WorkFlow simpleSequentialWorkFlowTask(@Qualifier("restCallTask") RestAPIWorkFlowTask restCallTask,
WorkFlow simpleSequentialWorkFlowTask(@Qualifier("restCallTask") RestWorkFlowTask restCallTask,
@Qualifier("loggingTask") LoggingWorkFlowTask loggingTask) {
// @formatter:off
return SequentialFlow
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4fb40cc

Please sign in to comment.