diff --git a/.rat-excludes b/.rat-excludes index 5355198b630..6e6a73c922c 100644 --- a/.rat-excludes +++ b/.rat-excludes @@ -1,45 +1,324 @@ -\.rat-excludes -\.gitignore +# .git-blame-ignore-revs +.git-blame-ignore-revs +# .rat-excludes +.rat-excludes +# DISCLAIMER-WIP DISCLAIMER-WIP -LICENSE-.*\.txt -ui-bundle\.zip -\.git-blame-ignore-revs -dependency-reduced-pom\.xml -lunr-2\.3\.9\.min\.js -search-ui\.js -search\.css -branch\.yaml -main\.yaml -mvel\.jj -JavaLexer\.g4 -JavaParser\.g4 -.*\.csv -.*\.sdo -.*\.sdt -TestingEmptyFile\.txt -.*\.test_json -.*\.pmml_json -.*\.drl_json -.*\.dslr -.*DMN.*\.xsd -dmn.xsd -DC\.xsd -DI\.xsd -KiePMML.*\.txt -TargetValueFactoryTest_01\.txt -TargetFieldFactoryTest_01\.txt -.*\.uml +# drools-decisiontables/src/main/java/org/drools/decisiontable/parser/csv/CsvLineParser.java +CsvLineParser.java +# drools-decisiontables/src/test/resources/data/ComplexWorkbook.drl.csv +ComplexWorkbook.drl.csv +# drools-decisiontables/src/test/resources/data/TestCsv.drl.csv +TestCsv.drl.csv +# drools-decisiontables/src/test/resources/org/drools/decisiontable/DeclaresWorkbook.drl.csv +DeclaresWorkbook.drl.csv +# drools-decisiontables/src/test/resources/org/drools/decisiontable/changeSetTestCSV.drl.csv +changeSetTestCSV.drl.csv +# drools-decisiontables/src/test/resources/org/drools/decisiontable/changeSetTestCSV2.drl.csv +changeSetTestCSV2.drl.csv +# drools-decisiontables/src/test/resources/org/drools/decisiontable/columnReplaceTest.drl.csv +columnReplaceTest.drl.csv +# drools-decisiontables/src/test/resources/org/drools/decisiontable/emptyAction.drl.csv +emptyAction.drl.csv +# drools-decisiontables/src/test/resources/org/drools/decisiontable/scannerChangeSetTestCSV.drl.csv +scannerChangeSetTestCSV.drl.csv +# drools-decisiontables/src/test/resources/org/drools/decisiontable/unicode.drl.csv +unicode.drl.csv +# drools-decisiontables/src/test/resources/org/drools/decisiontable/integrationtests/csv/kmoduleCSVTest.dtable.drl.csv +kmoduleCSVTest.dtable.drl.csv +# drools-docs/supplemental-ui/css/search.css +search.css +# drools-docs/supplemental-ui/js/search-ui.js +search-ui.js +# drools-docs/supplemental-ui/js/vendor/lunr-2.3.9.min.js +lunr-2.3.9.min.js +# drools-drl/drools-drl-parser/src/main/antlr4/org/drools/drl/parser/antlr4/JavaLexer.g4 +JavaLexer.g4 +# drools-drl/drools-drl-parser/src/main/antlr4/org/drools/drl/parser/antlr4/JavaParser.g4 +JavaParser.g4 +# drools-drl/drools-drl-parser-tests/src/test/resources/org/drools/drl/parser/antlr4/expander_multiple_constraints.dslr +expander_multiple_constraints.dslr +# drools-drl/drools-drl-parser-tests/src/test/resources/org/drools/drl/parser/antlr4/expander_multiple_constraints_flush.dslr +expander_multiple_constraints_flush.dslr +# drools-drl/drools-drl-parser-tests/src/test/resources/org/drools/drl/parser/antlr4/expander_spread_lines.dslr +expander_spread_lines.dslr +# drools-drlonyaml-parent/drools-drlonyaml-cli-tests/src/test/resources/batch_drl_files/.gitignore +.gitignore +# drools-drlonyaml-parent/drools-drlonyaml-cli-tests/src/test/resources/expected/test1.yml +test1.yml +# drools-drlonyaml-parent/drools-drlonyaml-cli-tests/src/test/resources/expected/test2.drl.txt +test2.drl.txt +# drools-drlonyaml-parent/drools-drlonyaml-cli-tests/src/test/resources/given/test1.drl.txt +test1.drl.txt +# drools-drlonyaml-parent/drools-drlonyaml-todrl/src/main/resources/drl.ftl +drl.ftl +# drools-examples/src/main/resources/org/drools/examples/sudoku/Sample.sdo +Sample.sdo +# drools-impact-analysis/drools-impact-analysis-graph/drools-impact-analysis-graph-graphviz/src/test/resources/org/drools/impact/analysis/graph/graphviz/simple.dot +simple.dot +# drools-model/drools-mvel-parser/src/main/javacc/mvel.jj +mvel.jj +# drools-quarkus-extension/drools-quarkus-integration-test-hotreload/src/main/resources/org/drools/hotreload/adult.txt +adult.txt +# drools-scenario-simulation/drools-scenario-simulation-backend/src/test/resources/folderToTest/testFile.txt +testFile.txt +# drools-test-coverage/test-suite/src/test/resources/org/drools/testcoverage/functional/agenda-group.drl.csv +agenda-group.drl.csv +# drools-test-coverage/test-suite/src/test/resources/org/drools/testcoverage/functional/emptyAction.drl.csv +emptyAction.drl.csv +# drools-test-coverage/test-suite/src/test/resources/org/drools/testcoverage/functional/sample.drl.csv +sample.drl.csv +# drools-test-coverage/test-suite/src/test/resources/org/drools/testcoverage/functional/sample_dates.drl.csv +sample_dates.drl.csv +# drools-test-coverage/test-suite/src/test/resources/org/drools/testcoverage/functional/sequential.drl.csv +sequential.drl.csv +# drools-test-coverage/test-suite/src/test/resources/org/drools/testcoverage/functional/unicode.drl.csv +unicode.drl.csv +# drools-test-coverage/test-suite/src/test/resources/org/drools/testcoverage/functional/decisiontable/PhoneNumberCategory.drl.csv +PhoneNumberCategory.drl.csv +# drools-test-coverage/test-suite/src/test/resources/org/drools/testcoverage/functional/oopath/oopath.drl.csv +oopath.drl.csv +# efesto/documentation/sdt/CompositeKnowledgeBuilderImpl_build.sdt +CompositeKnowledgeBuilderImpl_build.sdt +# efesto/documentation/sdt/PMMLAssemblerService_addResourceAfterRules_withoutConfigurations.sdt +PMMLAssemblerService_addResourceAfterRules_withoutConfigurations.sdt +# efesto/documentation/sdt/PMMLAssemblerService_addResourcesAfterRules_withConfigurations.sdt +PMMLAssemblerService_addResourcesAfterRules_withConfigurations.sdt +# efesto/efesto-core/efesto-common-api/src/test/resources/IndexFile.test_json +IndexFile.test_json +# efesto/efesto-core/efesto-common-api/src/test/resources/TestingEmptyFile.txt +TestingEmptyFile.txt +# efesto/efesto-core/efesto-common-core/src/test/resources/IndexFile.test_json +IndexFile.test_json +# efesto/efesto-core/efesto-common-core/src/test/resources/TestingEmptyFile.txt +TestingEmptyFile.txt +# efesto/efesto-core/efesto-compilation-manager/efesto-compilation-manager-core/src/test/resources/IndexFile.test_json +IndexFile.test_json +# efesto/efesto-core/efesto-runtime-manager/efesto-runtime-manager-core/src/test/resources/IndexFile.test_json +IndexFile.test_json +# kie-archetypes/kie-drools-dmn-archetype/src/test/resources/projects/integrationtestDefaults/goal.txt +goal.txt +# kie-archetypes/kie-drools-exec-model-archetype/src/test/resources/projects/integrationtestDefaults/goal.txt +goal.txt +# kie-archetypes/kie-drools-exec-model-ruleunit-archetype/src/test/resources/projects/integrationtestDefaults/goal.txt +goal.txt +# kie-archetypes/kie-drools-yaml-archetype/src/test/resources/projects/integrationtestDefaults/goal.txt +goal.txt +# kie-dmn/kie-dmn-backend/src/test/resources/DC.xsd +DC.xsd +# kie-dmn/kie-dmn-backend/src/test/resources/DI.xsd +DI.xsd +# kie-dmn/kie-dmn-backend/src/test/resources/DMN11.xsd +DMN11.xsd +# kie-dmn/kie-dmn-backend/src/test/resources/DMN12.xsd +DMN12.xsd +# kie-dmn/kie-dmn-backend/src/test/resources/DMN13.xsd +DMN13.xsd +# kie-dmn/kie-dmn-backend/src/test/resources/DMN14.xsd +DMN14.xsd +# kie-dmn/kie-dmn-backend/src/test/resources/DMN15.xsd +DMN15.xsd +# kie-dmn/kie-dmn-backend/src/test/resources/DMNDI12.xsd +DMNDI12.xsd +# kie-dmn/kie-dmn-backend/src/test/resources/DMNDI13.xsd +DMNDI13.xsd +# kie-dmn/kie-dmn-backend/src/test/resources/DMNDI15.xsd +DMNDI15.xsd +# kie-dmn/kie-dmn-core/src/test/filtered-resources/org/kie/dmn/core/drools-model drools-model -testFile\.txt -simple\.dot -.*\.log -.*\.lst -checkstyle-cachefile -test.*\.txt -test.*\.yml -drl\.ftl -goal\.txt -adult\.txt -antora\.yml -.*\.iml -CsvLineParser\.java \ No newline at end of file +# kie-dmn/kie-dmn-feel/src/main/resources/dmn.xsd +dmn.xsd +# kie-dmn/kie-dmn-trisotech/src/test/resources/DC.xsd +DC.xsd +# kie-dmn/kie-dmn-trisotech/src/test/resources/DI.xsd +DI.xsd +# kie-dmn/kie-dmn-trisotech/src/test/resources/DMN13.xsd +DMN13.xsd +# kie-dmn/kie-dmn-trisotech/src/test/resources/DMNDI13.xsd +DMNDI13.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20151101/dmn.xsd +dmn.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20180521/DC.xsd +DC.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20180521/DI.xsd +DI.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20180521/DMN12.xsd +DMN12.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20180521/DMNDI12.xsd +DMNDI12.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20191111/DC.xsd +DC.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20191111/DI.xsd +DI.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20191111/DMN13.xsd +DMN13.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20191111/DMNDI13.xsd +DMNDI13.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20211108/DC.xsd +DC.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20211108/DI.xsd +DI.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20211108/DMN14.xsd +DMN14.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20211108/DMNDI13.xsd +DMNDI13.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20230324/DC.xsd +DC.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20230324/DI.xsd +DI.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20230324/DMN15.xsd +DMN15.xsd +# kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20230324/DMNDI15.xsd +DMNDI15.xsd +# kie-drl/kie-drl-implementations/kie-drl-kiesession-local/kie-drl-kiesession-local-runtime/src/test/resources/IndexFile.drl_json +IndexFile.drl_json +# kie-drl/kie-drl-implementations/kie-drl-map-input/kie-drl-map-input-runtime/src/test/resources/IndexFile.drl_json +IndexFile.drl_json +# kie-drl/kie-drl-runtime-common/src/test/resources/IndexFile.drl_json +IndexFile.drl_json +# kie-drl/kie-drl-tests/src/test/resources/IndexFile.drl_json +IndexFile.drl_json +# kie-pmml-trusty/kie-pmml-commons/src/test/resources/IndexFile.pmml_json +IndexFile.pmml_json +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLApplyFactoryTest_01.txt +KiePMMLApplyFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLApplyFactoryTest_02.txt +KiePMMLApplyFactoryTest_02.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLApplyFactoryTest_03.txt +KiePMMLApplyFactoryTest_03.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLCompoundPredicateFactoryTest_01.txt +KiePMMLCompoundPredicateFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLConstantFactoryTest_01.txt +KiePMMLConstantFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLDefineFunctionFactoryTest_01.txt +KiePMMLDefineFunctionFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLDerivedFieldFactoryTest_01.txt +KiePMMLDerivedFieldFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLDerivedFieldFactoryTest_02.txt +KiePMMLDerivedFieldFactoryTest_02.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLDerivedFieldFactoryTest_03.txt +KiePMMLDerivedFieldFactoryTest_03.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLDiscretizeBinFactoryTest_01.txt +KiePMMLDiscretizeBinFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLDiscretizeFactoryTest_01.txt +KiePMMLDiscretizeFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLFalsePredicateFactoryTest_01.txt +KiePMMLFalsePredicateFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLFieldColumnPairFactoryTest_01.txt +KiePMMLFieldColumnPairFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLFieldRefFactoryTest_01.txt +KiePMMLFieldRefFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLInlineTableFactoryTest_01.txt +KiePMMLInlineTableFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLIntervalFactoryTest_01.txt +KiePMMLIntervalFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLLocalTransformationsFactoryTest_01.txt +KiePMMLLocalTransformationsFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLMapValuesFactoryTest_01.txt +KiePMMLMapValuesFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLMiningFieldFactoryTest_01.txt +KiePMMLMiningFieldFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLMiningFieldFactoryTest_02.txt +KiePMMLMiningFieldFactoryTest_02.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLMiningFieldFactoryTest_03.txt +KiePMMLMiningFieldFactoryTest_03.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_01.txt +KiePMMLModelFactoryUtilsTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_02.txt +KiePMMLModelFactoryUtilsTest_02.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_03.txt +KiePMMLModelFactoryUtilsTest_03.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_04.txt +KiePMMLModelFactoryUtilsTest_04.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_05.txt +KiePMMLModelFactoryUtilsTest_05.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_06.txt +KiePMMLModelFactoryUtilsTest_06.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_07.txt +KiePMMLModelFactoryUtilsTest_07.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_08.txt +KiePMMLModelFactoryUtilsTest_08.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_09.txt +KiePMMLModelFactoryUtilsTest_09.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_10.txt +KiePMMLModelFactoryUtilsTest_10.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_11.txt +KiePMMLModelFactoryUtilsTest_11.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_12.txt +KiePMMLModelFactoryUtilsTest_12.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_13.txt +KiePMMLModelFactoryUtilsTest_13.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLModelFactoryUtilsTest_14.txt +KiePMMLModelFactoryUtilsTest_14.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLNormContinuousFactoryTest_01.txt +KiePMMLNormContinuousFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLNormContinuousFactoryTest_02.txt +KiePMMLNormContinuousFactoryTest_02.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLNormDiscreteFactoryTest_01.txt +KiePMMLNormDiscreteFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLParameterFieldFactoryTest_01.txt +KiePMMLParameterFieldFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLRowFactoryTest_01.txt +KiePMMLRowFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLRowFactoryTest_02.txt +KiePMMLRowFactoryTest_02.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLSimplePredicateFactoryTest_01.txt +KiePMMLSimplePredicateFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLSimpleSetPredicateFactoryTest_01.txt +KiePMMLSimpleSetPredicateFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLTargetFactoryTest_01.txt +KiePMMLTargetFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLTargetValueFactoryTest_01.txt +KiePMMLTargetValueFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLTextIndexFactoryTest_01.txt +KiePMMLTextIndexFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLTextIndexNormalizationFactoryTest_01.txt +KiePMMLTextIndexNormalizationFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLTransformationDictionaryFactoryTest_01.txt +KiePMMLTransformationDictionaryFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/KiePMMLTruePredicateFactoryTest_01.txt +KiePMMLTruePredicateFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/TargetFieldFactoryTest_01.txt +TargetFieldFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/TargetValueFactoryTest_01.txt +TargetValueFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-evaluator/kie-pmml-evaluator-core/src/test/resources/IndexFile.pmml_json +IndexFile.pmml_json +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-clustering/kie-pmml-models-clustering-compiler/src/test/resources/KiePMMLClusteringModelFactoryTest_01.txt +KiePMMLClusteringModelFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-mining/kie-pmml-models-mining-compiler/src/test/resources/KiePMMLSegmentFactoryTest_01.txt +KiePMMLSegmentFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-regression/kie-pmml-models-regression-compiler/src/test/resources/KiePMMLClassificationTableFactoryTest_01.txt +KiePMMLClassificationTableFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-regression/kie-pmml-models-regression-compiler/src/test/resources/KiePMMLClassificationTableFactoryTest_02.txt +KiePMMLClassificationTableFactoryTest_02.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-regression/kie-pmml-models-regression-compiler/src/test/resources/KiePMMLRegressionModelFactoryTest_01.txt +KiePMMLRegressionModelFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-regression/kie-pmml-models-regression-compiler/src/test/resources/KiePMMLRegressionTableFactoryTest_01.txt +KiePMMLRegressionTableFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-regression/kie-pmml-models-regression-compiler/src/test/resources/KiePMMLRegressionTableFactoryTest_02.txt +KiePMMLRegressionTableFactoryTest_02.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-regression/kie-pmml-models-regression-compiler/src/test/resources/KiePMMLRegressionTableFactoryTest_03.txt +KiePMMLRegressionTableFactoryTest_03.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-regression/kie-pmml-models-regression-compiler/src/test/resources/KiePMMLRegressionTableFactoryTest_04.txt +KiePMMLRegressionTableFactoryTest_04.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-regression/kie-pmml-models-regression-compiler/src/test/resources/KiePMMLRegressionTableFactoryTest_05.txt +KiePMMLRegressionTableFactoryTest_05.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-regression/kie-pmml-models-regression-compiler/src/test/resources/KiePMMLRegressionTableFactoryTest_06.txt +KiePMMLRegressionTableFactoryTest_06.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-regression/kie-pmml-models-regression-compiler/src/test/resources/KiePMMLRegressionTableFactoryTest_07.txt +KiePMMLRegressionTableFactoryTest_07.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-compiler/src/test/resources/KiePMMLAttributeFactoryTest_01.txt +KiePMMLAttributeFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-compiler/src/test/resources/KiePMMLCharacteristicFactoryTest_01.txt +KiePMMLCharacteristicFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-compiler/src/test/resources/KiePMMLCharacteristicsFactoryTest_01.txt +KiePMMLCharacteristicsFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-compiler/src/test/resources/KiePMMLComplexPartialScoreFactoryTest_01.txt +KiePMMLComplexPartialScoreFactoryTest_01.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-compiler/src/test/resources/KiePMMLComplexPartialScoreFactoryTest_02.txt +KiePMMLComplexPartialScoreFactoryTest_02.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-compiler/src/test/resources/KiePMMLComplexPartialScoreFactoryTest_03.txt +KiePMMLComplexPartialScoreFactoryTest_03.txt +# kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-compiler/src/test/resources/KiePMMLNodeFactoryTest_01.txt +KiePMMLNodeFactoryTest_01.txt diff --git a/drools-examples/src/main/resources/org/drools/examples/troubleticketWithDSL/TroubleTicketWithDSL.dslr b/drools-examples/src/main/resources/org/drools/examples/troubleticketWithDSL/TroubleTicketWithDSL.dslr index 0724162fb72..3d3a6d66dec 100644 --- a/drools-examples/src/main/resources/org/drools/examples/troubleticketWithDSL/TroubleTicketWithDSL.dslr +++ b/drools-examples/src/main/resources/org/drools/examples/troubleticketWithDSL/TroubleTicketWithDSL.dslr @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package org.drools.examples.troubleticket expander ticketing.dsl diff --git a/drools-test-coverage/test-compiler-integration/src/test/java/org/drools/mvel/compiler/lang/ErrorsParserTest.java b/drools-test-coverage/test-compiler-integration/src/test/java/org/drools/mvel/compiler/lang/ErrorsParserTest.java index 3296e941654..397dc192bdf 100644 --- a/drools-test-coverage/test-compiler-integration/src/test/java/org/drools/mvel/compiler/lang/ErrorsParserTest.java +++ b/drools-test-coverage/test-compiler-integration/src/test/java/org/drools/mvel/compiler/lang/ErrorsParserTest.java @@ -48,14 +48,14 @@ public void testExpanderErrorsAfterExpansion() throws Exception { String name = "expander_post_errors.dslr"; Expander expander = new DefaultExpander(); String expanded = expander.expand( this.getReader( name ) ); - + DRLParser parser = parse( name, expanded ); parser.compilationUnit(); assertThat(parser.hasErrors()).isTrue(); assertThat(parser.getErrors().size()).isEqualTo(1); DroolsParserException err = parser.getErrors().get(0); - assertThat(err.getLineNumber()).isEqualTo(6); + assertThat(err.getLineNumber()).isEqualTo(7); } @Test diff --git a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/dsl/test_expansion.dslr b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/dsl/test_expansion.dslr index a2a7d74a9d6..bea217a6aa3 100755 --- a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/dsl/test_expansion.dslr +++ b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/dsl/test_expansion.dslr @@ -1,4 +1,22 @@ -# Example DRL with expansion +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +# Example DRL with expansion # (ie "domain specific language") # declare expanders for domain specific and natural language extensions diff --git a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_line_errors.dslr b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_line_errors.dslr index 23eb4caf3fd..d6f5e7ddf10 100644 --- a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_line_errors.dslr +++ b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_line_errors.dslr @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #this will show error line numbers due to failure to expand package expanderFoo diff --git a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_multiple_constraints.dslr b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_multiple_constraints.dslr index cfb3bdf78b9..3d520dd6eef 100644 --- a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_multiple_constraints.dslr +++ b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_multiple_constraints.dslr @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + //created on: 13/04/2006 package mydsl diff --git a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_multiple_constraints_flush.dslr b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_multiple_constraints_flush.dslr index f352d9196fa..329f3b1addc 100644 --- a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_multiple_constraints_flush.dslr +++ b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_multiple_constraints_flush.dslr @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ //created on: 13/04/2006 package mydsl diff --git a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_post_errors.dslr b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_post_errors.dslr index e57ce42eccc..ccc97d2d9d5 100644 --- a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_post_errors.dslr +++ b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_post_errors.dslr @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ //this will show error line numbers post expansion expander foo.dsl diff --git a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_spread_lines.dslr b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_spread_lines.dslr index 02ae6b5bcca..4e2ccc15ac1 100644 --- a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_spread_lines.dslr +++ b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/compiler/lang/expander_spread_lines.dslr @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ //created on: 13/04/2006 package mydsl diff --git a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/rule_with_expander_dsl.dslr b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/rule_with_expander_dsl.dslr index d38e5dfcd19..6045cc2a5a2 100644 --- a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/rule_with_expander_dsl.dslr +++ b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/rule_with_expander_dsl.dslr @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package test // must be in the following order. diff --git a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/rule_with_expander_dsl_more.dslr b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/rule_with_expander_dsl_more.dslr index 6e58f5c977a..be3ef2d8bdd 100644 --- a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/rule_with_expander_dsl_more.dslr +++ b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/rule_with_expander_dsl_more.dslr @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package test // must be in the following order. diff --git a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/rule_with_expander_multiline.dslr b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/rule_with_expander_multiline.dslr index 287f88821f0..3e76a7dcd07 100644 --- a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/rule_with_expander_multiline.dslr +++ b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/rule_with_expander_multiline.dslr @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ Add 2 percent to all Red cars diff --git a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/test_dslWithIndividualConstraints.dslr b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/test_dslWithIndividualConstraints.dslr index f0248a49998..f42217a3838 100644 --- a/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/test_dslWithIndividualConstraints.dslr +++ b/drools-test-coverage/test-compiler-integration/src/test/resources/org/drools/mvel/integrationtests/test_dslWithIndividualConstraints.dslr @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.drools.mvel.compiler global java.util.List results