DataLinkDC / dinky

Dinky is a real-time data development platform based on Apache Flink, enabling agile data development, deployment and operation.

Home Page:http://www.dinky.org.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature][admin] an openapi support catalogues and task creating

Yangxiaotian opened this issue · comments

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

We need an openapi to create some catalogues and a task in a third-party system.
We are developing this feature.

Use case

url: /openapi/createTaskAndSend2Ds
post a json
{
"cataloguesNames": ["DDP", "test1", "test2"],
"type": "FlinkSql",
"task": { // TaskDTO
"name": "testTask",
"statements": "..."
...
}
}

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Great, I will assign this proposal to you, but when developing openapi, you need to pay attention to permissions, because the token authentication function is not yet perfect.