Skip to content

[DSIP-14][Improvement] Add api tests and integration tests for Apache DolphinScheduler  #10411

@welsh-wen

Description

@welsh-wen

Search before asking

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

Description

Reason:

  1. Make sure that every time you submit new code, the business API interface logic dependencies are fine.
  2. Supplement the lack of unit testing, the connectivity between interfaces and interfaces.

Process:

  1. Sort out the overall use cases of DS, including: project management, resource management, security center, data source center,
  2. Hierarchical use cases above: P0, P1, P2, P3
  3. We give priority to converting P0 level use cases into API interface automation test cases

Use case

None.

Related issues

None.

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

API Test samples

https://dolphinscheduler.apache.org/zh-cn/development/api-test.html

Current Test cases

Project manage page

Level 1 module Level 2 module issue status
Project Workflow Relation
Project WorkflowIn Stances
Project TaskIn Stances
Project Add, delete, and check

Workflow Definition (The workflow type)

Level 1 module Level 2 module issue status
WorkflowDefinition Shell type #10512
WorkflowDefinition Sub_process type
WorkflowDefinition Shell type
WorkflowDefinition Procedure type
WorkflowDefinition Spark type
WorkflowDefinition Flink type
WorkflowDefinition MapReduce type
WorkflowDefinition Python type
WorkflowDefinition Dependent type
WorkflowDefinition Http type
WorkflowDefinition DataX type
WorkflowDefinition Pigeon type
WorkflowDefinition Sqoop type
WorkflowDefinition Condition type
WorkflowDefinition Data_Quality type
WorkflowDefinition Switch type
WorkflowDefinition SeaTunnel type
WorkflowDefinition AmazonEMR type
WorkflowDefinition Trigger type
WorkflowDefinition Zeppelin type
WorkflowDefinition Jupyter type

Resource manage page

Level 1 module Level 2 module issue status
Resource File Manage
Resource Resource Manage
Resource Function Manage
Resource Task Group Option
Resource Task Group Queue

Datasource manage page

Level 1 module Level 2 module issue status
Datasource Add, delete, and check

Monitor manage page

Level 1 module Level 2 module issue status
Monitor Master
Monitor Worker
Monitor DB
Monitor Statistics
Monitor Event List
Monitor Alarm List

Security manage page

Level 1 module Level 2 module issue status
Security Tenant Manage
Security User Manage
Security Alarm Group Manage
Security Alarm Instance Manage
Security Worker Group Manage #13859 WIP
Security Yarn Queue Manage
Security Environment Manage
Security K8s Namespace Manage
Security Token Manage

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions