Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.
This repository was archived by the owner on May 14, 2025. It is now read-only.

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

@sanchezjm

Description

@sanchezjm

Hi,

According to the following change

spring-attic/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions