Skip to content

[E2E] Migrate Flink deploy tests to REST API and expand version matrix - #4478

Draft
shangeyao wants to merge 1 commit into
apache:devfrom
shangeyao:feature/e2e-api-integration
Draft

[E2E] Migrate Flink deploy tests to REST API and expand version matrix#4478
shangeyao wants to merge 1 commit into
apache:devfrom
shangeyao:feature/e2e-api-integration

Conversation

@shangeyao

Copy link
Copy Markdown
Contributor

Summary

  • Replace Selenium UI E2E with REST API integration tests using @StreamParkApi, ApiClient, and FlinkApiSupport — no browser or frontend interaction required.
  • Expand Flink deploy coverage to versions 1.17.2–2.3.0 (8 versions), with Remote / Yarn Application+Session / K8s Application+Session per version; remove Flink 1.16 and Per-Job mode.
  • Update .github/workflows/e2e.yml to 52 api-e2e jobs (12 CRUD + 40 Flink), remove ui-e2e and Selenium/screen-recording steps.

Scope

Only streampark-e2e/** and .github/workflows/e2e.yml — no console-service or webapp changes.

Test plan

  • CI api-e2e matrix runs on PR (52 jobs)
  • Spotless / license header checks pass
  • Sample CRUD job (e.g. EnvironmentTest) passes
  • Sample Flink job per deploy mode (Remote / Yarn / K8s) passes
  • Verify 1.16 tests and docker resources are removed

Made with Cursor

Replace Selenium UI E2E with API integration tests via StreamParkApiExtension
and FlinkApiSupport. Cover Flink 1.17–2.3 on Remote/Yarn/K8s, remove 1.16,
and update CI to 52 api-e2e jobs without ui-e2e.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sonarqubecloud

sonarqubecloud Bot commented Aug 7, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@shangeyao
shangeyao marked this pull request as draft August 7, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant