Skip to content

Allow to retrieve statuses of all jobs from the Orchestration API #8893

@lawrencechong

Description

@lawrencechong

Following Instructions to trigger v1/pre-aggregations/jobs to Retrieving statuses of jobs returns this error

curl \
  -d '{
    "action": "get",
  }' \
  -H "Content-Type: application/json" \
  -X GET \
  http://mycubejs.com:4000/cubejs-api/v1/pre-aggregations/jobs
{"error":"SyntaxError: Expected double-quoted property name in JSON at position 25","stack":"SyntaxError: Expected double-quoted property name in JSON at position 25\n    at JSON.parse (<anonymous>)\n    at parse (/cube/node_modules/body-parser/lib/types/json.js:92:19)\n    at /cube/node_modules/body-parser/lib/read.js:128:18\n    at AsyncResource.runInAsyncScope (node:async_hooks:206:9)\n    at invokeCallback (/cube/node_modules/raw-body/index.js:238:16)\n    at done (/cube/node_modules/raw-body/index.js:227:7)\n    at IncomingMessage.onEnd (/cube/node_modules/raw-body/index.js:287:7)\n    at IncomingMessage.emit (node:events:519:28)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)"}

Details

  • self hosted
  • updated configs to include jobs scope
  • our system has 1 cubestore router and 3 cubestore workers
  • running in dev mode without auth

Metadata

Metadata

Assignees

Labels

api:orchestrationIssues related to Orchestration API

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions