This repository was archived by the owner on May 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 591
This repository was archived by the owner on May 14, 2025. It is now read-only.
Step Context section is not populated on the UI #5557
Copy link
Copy link
Closed
Labels
status/need-feedbackCalling participant to provide feedbackCalling participant to provide feedbacktype/bugIs a bug reportIs a bug report
Milestone
Description
Description:
When Something is added to the step context, it should appear in the STEP CONTEXT section within step execution details(Used to work on 2.10.3). But after upgrading to 2.11.1, this is not happening, however the BATCH_STEP_EXECUTION_CONTEXT already holds the data. So may be something in the SCDF-UI application is broken? Are we expecting a fix for this anytime soon?
Release versions:
Spring Cloud Data Flow 2.11.1
Custom apps:
public Job job() {
return jobBuilderFactory.get("job")
.flow(stepBuilderFactory.get("jobStep1")
.tasklet(new Tasklet() {
@Override
public RepeatStatus execute(StepContribution contribution,
ChunkContext chunkContext) throws Exception {
contribution.getStepExecution().getExecutionContext().put("akshay", "step context");
logger.info("Job was run");
return RepeatStatus.FINISHED;
}
}).listener(new StepExecutionListener() {
@Override
public void beforeStep(StepExecution stepExecution) {
// TODO Auto-generated method stub
}
@Override
public ExitStatus afterStep(StepExecution stepExecution) {
stepExecution.getExecutionContext().put("akshay2", "exec listener");
return stepExecution.getExitStatus();
}
}).build()).build().build();
}
Steps to reproduce:
Used the target jar for the attached zip to register on scdf-2.11.1.
scdf-task-app.zip
Additional context:
tried by setting the attributed to step context by using JobBuilderfactory and also using execution Listener. Both of them didn't work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status/need-feedbackCalling participant to provide feedbackCalling participant to provide feedbacktype/bugIs a bug reportIs a bug report
