SCDF REST API. List of Task Schedules is empty.

huangapple go评论47阅读模式
英文:

SCDF REST API. List of Task Schedules is empty

问题

根据SCDF文档/tasks/schedules端点应返回任务调度的列表。然而,尽管存在可见于UI的调度,但返回的列表为空,如https://xxx.yyy.zzz/dashboard/#/tasks-jobs/schedules所示。

{"_links":{"self":{"href":"https://xxx.yyy.zzz/tasks/schedules?page=0&size=20"}},"page":{"size":20,"totalElements":0,"totalPages":0,"number":0}}

与此同时,tasks/definitions端点正常运作。

我意识到任务是在服务器数据库中定义的,而调度由skipper管理。可能它只在Kubernetes中的CronJobs中存储信息。

是否有一项设置可以“启用”从skipper检索数据?

我们使用的版本是2.9.3

英文:

According to SCDF documentation, the /tasks/schedules endpoint should return a list of Task Schedules. However, the returned list is empty despite the present schedules, which are visible UI https://xxx.yyy.zzz/dashboard/#/tasks-jobs/schedules.

{"_links":{"self":{"href":"https://xxx.yyy.zzz/tasks/schedules?page=0&size=20"}},"page":{"size":20,"totalElements":0,"totalPages":0,"number":0}}

At the same time, the tasks/definitions endpoint works just fine.

I realise that the tasks are defined in the server database, which the schedules are managed by the skipper. Possibly, it stores info only in CronJobs in Kubernetes.

Is there a setting that "enables" retrieval of data from the skipper?

The version we use is 2.9.3

答案1

得分: 0

SCDF关于任务调度REST API的文档不完整。不仅仅是"创建新任务调度",而且所有调用都需要platform参数。

英文:

SCDF documentation about Task Schedules REST API is not complete. Not only the "Creating a New Task Schedule" but all calls take the platform parameter.

huangapple
  • 本文由 发表于 2023年4月4日 16:40:22
  • 转载请务必保留本文链接:https://go.coder-hub.com/75927233.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定