英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论