shangeyao opened a new issue, #4423:
URL: https://github.com/apache/streampark/issues/4423
## Summary
StreamPark 3.0 Scala-to-Java migration introduces a large volume of Sonar
findings that are intentional (versioned shims, connector serialization,
deprecated Flink API bridges, SQL dialect conversion regex). These should be
handled via **Sonar project configuration**, not mixed into feature PRs.
## Proposal
Update `.sonarcloud.properties` and `sonar-project.properties` to:
1. Add ASF license headers to Sonar property files
2. Keep CPD exclusions for versioned shims / connector / kubernetes / packer
modules
3. Add documented `sonar.issue.ignore.multicriteria` rules for
migration-specific patterns:
- `javasecurity:S2083` on `SafePathUtils` (validated config paths)
- `java:S100` on Flink shims (`$getXxx` Scala-compat methods)
- `java:S1948` on connector config classes
- `java:S6355` / `java:S1123` / `java:S1133` on deprecated Flink bridge
APIs
- `java:S8786` on `SqlConvertUtils` (dialect conversion regex)
- `java:S112` on client modules (generic `Exception` propagation by
design)
- `java:S1186` on silent Docker/pipe watcher stubs
## Scope
Configuration-only change. No application logic changes.
## Related work
- Separate from #4418 / remove-scala feature PRs
- Should land on `3.0-preview` before or in parallel with migration PRs
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]