[Task]: Remove the positive check results from the transforms and the actions
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start with the two GUI check delegates and ActionValidatorUtils.addOkRemark, then inspect the TYPE_RESULT_OK uses under plugins/transforms, the engine classes named in the issue, and translation files. Update checks to report only errors and warnings, retain the constant for CheckResultDialog, and adjust tests that count or expect positive remarks; verify the related pipeline and workflow checks and tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What needs to happen?
Remove the positive check results, ICheckResult.TYPE_RESULT_OK, produced by the check() methods of the transforms and the actions. They are no longer used and are not visible.
The results of the verification of a pipeline or a workflow in Hop GUI skip them:
- HopGuiPipelineCheckDelegate.java#L296:
if (cr.getType() == ICheckResult.TYPE_RESULT_OK) continue; - HopGuiWorkflowCheckDelegate.java#L270: same
CheckResultDialog, which can still show the successful results, is only used by the unit testing plugin to check the location of a CSV file, not to verify the transforms and the actions.
Yet these results are still built, with a message to translate for each of them, which makes the check() methods longer and adds keys to every translation file. For example, "Number of row clones is specified." or "Transform is receiving info from other transforms.".
Where they are produced:
- The transforms: about 175 files under
plugins/transformsuseTYPE_RESULT_OK, plusDummyMetaandInjectorMetain the engine. - The actions: mostly through the validators,
ActionValidatorUtils.addOkRemarkcalled byAndValidatorfor each validated property, and directly inActionAbort. PipelineMetaalso adds one.
Proposal:
- Report only the errors and the warnings in
check(): a valid setting gives no remark. - Remove the messages that are no longer used from the translation files.
- Keep the constant
ICheckResult.TYPE_RESULT_OK, still used byCheckResultDialog. - Update the unit tests that count or expect the positive remarks.
Issue Priority
Priority: 3
Issue Component
Component: Actions, Component: Transforms
- Lingua principale
- Java
- Stelle
- 1.6k
- Fork
- 499
- Merge medio
- 1g 5h
- PR unite (30g)
- 316
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/hop
-
Beam P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
awaiting triage Hop Gui P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
apache/hop#9325 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
awaiting triage Documentation P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
awaiting triage Documentation P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
awaiting triage Documentation P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
CI: LFC/ANTLR caches still use the old lfc/ paths, so the ANTLR jar is downloaded on every runForse già presa @NicoBiernat l’ha presa oggi. Apertabug CI
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
lf-lang/reactor-uc#443 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Card-Forge/forge#13128 ·
I maintainer di solito rispondono entro 1 giorno
-
client documentation
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
ClickHouse/clickhouse-java#3469 ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno