Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SCDF-UI to use the latest cron.expression parameter in the '/tasks/schedules' API #2031

Open
sanchezjm opened this issue Jan 17, 2025 · 1 comment
Labels
type/bug Is a bug report
Milestone

Comments

@sanchezjm
Copy link

sanchezjm commented Jan 17, 2025

Hi,

According to the following change

spring-cloud/spring-cloud-dataflow@cf4e581

with the current version of the ui, tasks cannot be scheduled.

The parameter to create the cron expression was changed from this one

/tasks/schedules?taskDefinitionName=timestamp&scheduleName=timestamp&arguments=&properties=scheduler.cron.expression=30%20*%20*%20*%20MON-FRI

to this one:

/tasks/schedules?taskDefinitionName=timestamp&scheduleName=timestamp&arguments=&properties=deployer.timestamp.cron.expression=30%20*%20*%20*%20MON-FRI

So that, right now, with the current 3.0.0-SNAPSHOT version, it gives the following error message:

"An error occurred
Only deployment property keys starting with 'app.' or 'deployer.' or 'version.' allowed. Not scheduler.cron.expression=30 * * * MON-FRI"

We have seen recent adaptations to the SCDF apis like this one, but they have not taken into account such change
#2021

Many thanks for your attention.

@github-actions github-actions bot added the status/need-triage Team needs to triage and take a first look label Jan 17, 2025
@cppwfs
Copy link
Contributor

cppwfs commented Jan 17, 2025

Thank you for reporting the issue.

@cppwfs cppwfs added type/bug Is a bug report and removed status/need-triage Team needs to triage and take a first look labels Jan 17, 2025
@cppwfs cppwfs added this to the 4.0.x milestone Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Is a bug report
Projects
None yet
Development

No branches or pull requests

2 participants