Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declared Beans enhancement : class hierarchies, positional args, field initialization #6

Merged
merged 26 commits into from
Apr 18, 2011

Conversation

sotty
Copy link
Contributor

@sotty sotty commented Apr 18, 2011

The fork also contains the prototypes for PMML support
(drools-pmml and drools-informer modules), but they should be moved to the drools-chance sub-project.

sotty and others added 26 commits April 9, 2011 17:34
…rlying ClassLoader uses a cache.

	- URLClassPathResource added
	- Added a test for URLClassPathResource
…ly define and apply Change-Sets

	- First implementation of ChangeSetHelperImpl
@mdproctor mdproctor merged commit da6e05a into apache:master Apr 18, 2011
@mdproctor
Copy link
Contributor

done

baldimir referenced this pull request in baldimir/drools Feb 11, 2016
[DROOLS-1025] fixed NPE + new test cases
baldimir referenced this pull request in baldimir/drools Mar 13, 2018
tarilabs referenced this pull request in tarilabs/drools Mar 26, 2018
mariofusco pushed a commit that referenced this pull request Mar 27, 2018
* DROOLS-2379: DROOLS-2380: DROOLS:2381: adding test case and partial fix

* Fix DROOLS-2380 DROOLS-2381 (#6)

* Add tests for different types of DMN validator input parameters (#7)
evacchi added a commit to evacchi/drools that referenced this pull request Jun 14, 2018
mariofusco pushed a commit that referenced this pull request Jul 5, 2018
dupliaka pushed a commit to dupliaka/drools that referenced this pull request Apr 1, 2022
dupliaka pushed a commit to dupliaka/drools that referenced this pull request Apr 1, 2022
dupliaka pushed a commit to dupliaka/drools that referenced this pull request Apr 1, 2022
KOGITO-1173 : Kogito Quick Starts Scripts / Kogito with Kafka Update
dupliaka pushed a commit to dupliaka/drools that referenced this pull request Apr 1, 2022
gitgabrio referenced this pull request in gitgabrio/drools Sep 1, 2022
mariofusco pushed a commit that referenced this pull request Sep 2, 2022
…4618)

* [DROOLS-7090] Do not write IndexFile - bring it around with context.
- Experimental draft
- Basically focusing on OnTheFlyDrlTest test case
- Unit tests in efesto and kie-drl passed (with some @disabled)
- Not mind other integrations test errors at the moment

* - Store GeneratedResources map in Context
- RuntimeContext can get GeneratedResources from CompilationContext or scan IndexFile to populate GeneratedResources
- Implement createIndexFiles in CompilationContext
- Add kie-drl-tests-without-index-file for test cases without pre-existing IndexFile

* [DROOLS-7090] Fix kie-maven-plugin/PMML

* - Add getModelType() for CompilerService/RuntimeService so impl classes need to implement it
- Context automatically detects IndexFile from classpath based on engine models in classpath
- CompilationManager.processResource() return type is void
- EfestoCompilationContextImpl.createIndexFiles merges the content if IndexFile already exists

* [DROOLS-7090] Fixing PMML to work with in memory GeneratedResources

* - Clean up legacy "getIndexFile" dependent codes

* - Version bump
- Code smells

* - add EfestoCompilationContext.createIndexFiles overwriting test

* - test fix

* [DROOLS-7090] Add KieRuntimeServiceDrlMapInput native reflection declaration needed by PMML ->  DRL integration (#6)

Co-authored-by: Gabriele Cardosi <gabriele.cardosi@gmail.com>
mariofusco pushed a commit that referenced this pull request Sep 13, 2022
* [DROOLS-7090] Do not write IndexFile - bring it around with context.
- Experimental draft
- Basically focusing on OnTheFlyDrlTest test case
- Unit tests in efesto and kie-drl passed (with some @disabled)
- Not mind other integrations test errors at the moment

* - Store GeneratedResources map in Context
- RuntimeContext can get GeneratedResources from CompilationContext or scan IndexFile to populate GeneratedResources
- Implement createIndexFiles in CompilationContext
- Add kie-drl-tests-without-index-file for test cases without pre-existing IndexFile

* [DROOLS-7066] Replacing FRI with LocalUri

* [DROOLS-7090] Fix kie-maven-plugin/PMML

* - Add getModelType() for CompilerService/RuntimeService so impl classes need to implement it
- Context automatically detects IndexFile from classpath based on engine models in classpath
- CompilationManager.processResource() return type is void
- EfestoCompilationContextImpl.createIndexFiles merges the content if IndexFile already exists

* [DROOLS-7066] Implementing/using ModelLocalUriID inside efesto

* [DROOLS-7066] Implementing/using ModelLocalUriID inside kie-drl

* [DROOLS-7066] WIP

* [DROOLS-7090] Fixing PMML to work with in memory GeneratedResources

* [DROOLS-7066] Fixing PMML tests/DMN integration

* - Clean up legacy "getIndexFile" dependent codes

* [DROOLS-7066] WIP

* [DROOLS-7066] Merge DROOLS-7090

* - Version bump
- Code smells

* - add EfestoCompilationContext.createIndexFiles overwriting test

* - test fix

* [DROOLS-7090] Add KieRuntimeServiceDrlMapInput native reflection declaration needed by PMML ->  DRL integration (#6)

* [DROOLS-7066] Merging with DROOLS-7090

* [DROOLS-7066] Merging with main

* [DROOLS-7066] Fix sonar code-smells

* [DROOLS-7066] Fix as per PR request

* [DROOLS-7066] Increase test code coverage

* [DROOLS-7066] Fix merge conflict

* [DROOLS-7066] Fix reported bugs

* [DROOLS-7066] Fix code smells

* [DROOLS-7066] Fix tests

* [DROOLS-7066] Testing DMNKiePMMLTrustyInvocationEvaluator

* [DROOLS-7066] Increase test code coverage

* [DROOLS-7066] Declare DTOs inside reflective-config needed for native compilation/execution

Co-authored-by: Toshiya Kobayashi <toshiyakobayashi@gmail.com>
rgdoliveira referenced this pull request in kiegroup/drools Dec 11, 2023
* [8.44.2.x-prod] Bump Quarkus version to 2.13.8.Final

* Applied patches after Quarkus downgrade to 2.13.8.Final

* remove -Dfull profile

---------

Co-authored-by: Jenkins CI <noreply@redhat.com>
Co-authored-by: Roberto Oliveira <rguimara@redhat.com>
rgdoliveira added a commit to rgdoliveira/drools that referenced this pull request Jan 18, 2024
Sync main branch with Apache main branch
cimbalek pushed a commit to cimbalek/incubator-kie-drools that referenced this pull request Jan 19, 2024
…he#6)

authentication with quay.io registry using `withDockerRegistry` plugin
in Jenkins

Signed-off-by: Tarun Khandelwal <tarkhand@redhat.com>
cimbalek pushed a commit to cimbalek/incubator-kie-drools that referenced this pull request Jan 19, 2024
* PLANNER-2474 optaplanner CI

* PLANNER-2474 Added multijob buildchain option support (apache#1)

* [PLANNER-2474] optaplanner-quickstarts added to branch_config.yaml

* [PLANNER-2474] Jenkinsfile.buildchain

* [PLANNER-2474] Jenkinsfile.buildchain getBuildChainActionInfo method

* Update Jenkinsfile.buildchain

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* quarkus mapping

* [PLANNER-2474] native and lts changes

* Update Jenkinsfile.buildchain

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update .ci/pull-request-native-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update pull-request-native-config.yaml

* Update .ci/pull-request-native-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update .ci/pull-request-native-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update .ci/pull-request-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update .ci/pull-request-lts-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update .ci/pull-request-lts-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update .ci/pull-request-native-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update .ci/pull-request-native-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update .ci/pull-request-native-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update .ci/pull-request-lts-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update .ci/pull-request-lts-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update .ci/pull-request-lts-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update .ci/pull-request-native-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>

* Update pull-request-lts-config.yaml

* Update pull-request-lts-config.yaml

* Planner 2474 (apache#2)

* update

* fix buildchain project env

* Corrected quarkus git author

* updated lts config

* added LTS env var

* fix

* Update Jenkinsfile.buildchain

* Update Jenkinsfile.buildchain

* Setup job specific envs (apache#3)

* fix (apache#4)

* Take optaplanner-quickstarts into account (apache#5)

* Update dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/VersionUtils.groovy

* Update dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/templates/KogitoJobTemplate.groovy

* apply settingsXmlId

* Update Jenkinsfile.buildchain

* optaplanner-quickstarts mapping

* Update branch.yaml

* Apply suggestions from code review

Co-authored-by: Enrique Mingorance Cano <ginxaco@gmail.com>

* Take SonarCloud into account

* Update Jenkinsfile.buildchain

* Update Jenkinsfile.buildchain

* Update Jenkinsfile.buildchain

* Update Jenkinsfile.buildchain

* Update Jenkinsfile.buildchain

* Update Jenkinsfile.buildchain

* Apply suggestions from code review

* Update Jenkinsfile.buildchain

* updated config (apache#6)

* updated config

* Update Jenkinsfile.buildchain

* Update Jenkinsfile.buildchain

* Update Jenkinsfile.buildchain

* Update Jenkinsfile.buildchain

* Update Jenkinsfile.buildchain

* Apply suggestions from code review

* Update pull-request-config.yaml

* Update pull-request-lts-config.yaml

* Update pull-request-native-config.yaml

* Update pull-request-native-config.yaml

* Update project-dependencies.yaml

* Update project-dependencies-quarkus.yaml

* Update project-dependencies-quarkus.yaml

* Update project-dependencies-quarkus.yaml

* Update project-dependencies.yaml

* Update Jenkinsfile.buildchain

* Update main.yaml

* moved jenkinsfile.buildchain

* Update KogitoJobTemplate.groovy

* Update KogitoJobTemplate.groovy

* Update Jenkinsfile.buildchain

* Update .ci/project-dependencies-quarkus.yaml

* Update project-dependencies-quarkus.yaml

* Update project-dependencies-quarkus.yaml

* Update .ci/pull-request-lts-config.yaml

Co-authored-by: Tristan Radisson <tristan.radisson@gmail.com>
Co-authored-by: radtriste <tradisso@redhat.com>
mariofusco added a commit that referenced this pull request Feb 14, 2024
#5682)

* add antlr4 based drl parser

* bump to drools 8.16.0.Beta

* improve node position discovery

* first c3 integration

* Module reorganization (#2)

* WIP

* Ignore directories

* Add debug. Minor modifications

* WIP

* Fix tests - add comments

* manage null ast nodes and fix failing test

* improve drl parser

* Fix basic completion (#4)

* Add Java grammar, fix DRL grammar, simplify token index calculation, remove template code

* Add ignored tokens to completion

Co-authored-by: livio <livio.bencik@mindsmiths.com>

* add constraints parsing

* - Added DRLParserWrapper to store errors using DRLErrorListener (#5)

- Added MiscDRLParserTest which is being ported from RuleParserTest to enhance coverage.

* Enhance test/grammar coverage. function import, global, exists, not (#6)

* Enhance test/grammar coverage. and, or, listExpression (#7)

* Enhance test/grammar coverage. matches, single quoted string, escape (#9)

- Introduced drlExpression, drlPrimary, drlLiteral, DRL_STRING_LITERAL

* Enhance test/grammar coverage. dialect, invalid lhs (#10)

* Enhance test/grammar coverage. keyword collision (#11)

- Add "DRL_" prefix for DRL keywords for clarification

* Enhance test/grammar coverage. function, attributes, consequence (#12)

* Enhance test/grammar coverage. function, attributes, consequence
- better getText preserving whitespaces
- resolving WARNs because of overlapping keywords

* - No need to declare duplicate keywords

* Enhance test/grammar coverage. OR, inline map (#13)

* OpenRewrite applied for junit5 and assertj (#14)

* Enhance test/grammar coverage. label, consequenceLocation, test refac… (#15)

* Enhance test/grammar coverage. label, consequenceLocation, test refactoring, assertj best practice

* - better test method names

* [DROOLS-7253] Review and improve drools-lsp parser Visitor design (#16)

* [DROOLS-7253] Review and improve drools-lsp parser Visitor design
- Remove currentConstructStack. Utilize return object instead.

* - Remove instance fields. Utilize return objects instead.

* [DROOLS-7270] Enhance test/grammar coverage : andRestriction, orRestriction (#4)

- Removed some unused cast

* [DROOLS-7271] Fully port RuleParserTest as MiscDRLParserTest with @disabled and priority comment (#10)

* [DROOLS-7285] Failed to parse and/or with parentheses in LHS (#15)

* [DROOLS-7286] Failed to parse binding with || (#21)

* [DROOLS-7287] Failed to parse comments in RHS (#23)

* [DROOLS-7287] Failed to parse comments in RHS

* - add rhs string check

* [DROOLS-7515] Parser : Accept plain text in RHS (#26)

* [DROOLS-7515] Parser : Accept plain text in RHS

* - Handle keyword token in RHS

* - Removed sysout

* - Revert statementKeywords. Instead, define DRL_END with newline or EOF

* - fix method name

* [DROOLS-7288] Failed to parse complex parentheses (#27)

* [DROOLS-7288] Failed to parse complex parentheses
- bump to 8.43.0.Final

* additional tests

* [DROOLS-7289] Implement accumulate (#28)

* [DROOLS-7296] Implement from entry-point (#30)

* [DROOLS-7297] Implement import accumulate (#29)

* [DROOLS-7290] Implement BigInteger literal, BigDecimal literal (#31)

* [DROOLS-7292] Implement eval (#32)

* [DROOLS-7293] Implement extends (#33)

* [DROOLS-7294] Implement forall (#34)

* [DROOLS-7298] Implement memberOf (#35)

* [DROOLS-7300] Implement positional constraint (#36)

* [DROOLS-7304] Implement temporal operators (#38)

- Also covers [DROOLS-7303] Implement sliding window

* [DROOLS-7301] Implement query (#37)

- Also partially fixes [DROOLS-7302] Implement semicolon delimiter

* [DROOLS-7295] Implement from collect (#39)

* [DROOLS-7305] Implement type declaration (#40)

- also covers [DROOLS-7291] Implement entry-point declaration
- also covers window declaration

* [DROOLS-7306] Implement unification (#41)

* [DROOLS-7306] Implement unification
- Also [DROOLS-7307] Parse attribute agenda-group

* [DROOLS-7308] Parse attribute without value
- Also [DROOLS-7309] Parse attribute with parentheses

* [DROOLS-7310] parse nested parentheses (#42)

* [DROOLS-7310] parse nested parentheses

* - Adding code commentes and explanations
- Adding more nested level tests

* [DROOLS-7577] drools-lsp : Add comments and explanations for drools-p… (#43)

* [DROOLS-7577] drools-lsp : Add comments and explanations for drools-parser

* removed syntax examples

* [DROOLS-7591] Experiment branch : migrate a new drools-lsp parser into drools (#44)

- Add some methods to call from drools code base

* Move necessary files without any additional modifications

* Update DRL6Expressions.g4 to ANTLR 4 (#47)

* Add DescrDumperTest and fix the expression parser grammar (#48)

* Add DescrDumperTest

* Fix it

* [DROOLS-7591] Experiment branch : migrate a new drools-lsp parser into drools
- New parser is migrated in drools-drl/drools-drl-parser with org.drools.drl10.parser package
- To enable the new parser, run `mvn test -PDRL10`
- At the moment, we get lots of test failures especially in drools-model/drools-model-codegen and drools-test-coverage/test-compiler-integration

* - License header
- Revert an inappropriate test edit
- Removed unnecessary profile
- Clarify unsupported methods
- Removed unnecessary bom dependency

---------

Co-authored-by: mariofusco <mario.fusco@gmail.com>
Co-authored-by: Gabriele Cardosi <gabriele.cardosi@gmail.com>
Co-authored-by: Livio Benčik <lbenc135@gmail.com>
Co-authored-by: livio <livio.bencik@mindsmiths.com>
Co-authored-by: Jiří Locker <jiri.locker@gmail.com>
tkobayas added a commit that referenced this pull request Oct 11, 2024
#5682)

* add antlr4 based drl parser

* bump to drools 8.16.0.Beta

* improve node position discovery

* first c3 integration

* Module reorganization (#2)

* WIP

* Ignore directories

* Add debug. Minor modifications

* WIP

* Fix tests - add comments

* manage null ast nodes and fix failing test

* improve drl parser

* Fix basic completion (#4)

* Add Java grammar, fix DRL grammar, simplify token index calculation, remove template code

* Add ignored tokens to completion

Co-authored-by: livio <livio.bencik@mindsmiths.com>

* add constraints parsing

* - Added DRLParserWrapper to store errors using DRLErrorListener (#5)

- Added MiscDRLParserTest which is being ported from RuleParserTest to enhance coverage.

* Enhance test/grammar coverage. function import, global, exists, not (#6)

* Enhance test/grammar coverage. and, or, listExpression (#7)

* Enhance test/grammar coverage. matches, single quoted string, escape (#9)

- Introduced drlExpression, drlPrimary, drlLiteral, DRL_STRING_LITERAL

* Enhance test/grammar coverage. dialect, invalid lhs (#10)

* Enhance test/grammar coverage. keyword collision (#11)

- Add "DRL_" prefix for DRL keywords for clarification

* Enhance test/grammar coverage. function, attributes, consequence (#12)

* Enhance test/grammar coverage. function, attributes, consequence
- better getText preserving whitespaces
- resolving WARNs because of overlapping keywords

* - No need to declare duplicate keywords

* Enhance test/grammar coverage. OR, inline map (#13)

* OpenRewrite applied for junit5 and assertj (#14)

* Enhance test/grammar coverage. label, consequenceLocation, test refac… (#15)

* Enhance test/grammar coverage. label, consequenceLocation, test refactoring, assertj best practice

* - better test method names

* [DROOLS-7253] Review and improve drools-lsp parser Visitor design (#16)

* [DROOLS-7253] Review and improve drools-lsp parser Visitor design
- Remove currentConstructStack. Utilize return object instead.

* - Remove instance fields. Utilize return objects instead.

* [DROOLS-7270] Enhance test/grammar coverage : andRestriction, orRestriction (#4)

- Removed some unused cast

* [DROOLS-7271] Fully port RuleParserTest as MiscDRLParserTest with @disabled and priority comment (#10)

* [DROOLS-7285] Failed to parse and/or with parentheses in LHS (#15)

* [DROOLS-7286] Failed to parse binding with || (#21)

* [DROOLS-7287] Failed to parse comments in RHS (#23)

* [DROOLS-7287] Failed to parse comments in RHS

* - add rhs string check

* [DROOLS-7515] Parser : Accept plain text in RHS (#26)

* [DROOLS-7515] Parser : Accept plain text in RHS

* - Handle keyword token in RHS

* - Removed sysout

* - Revert statementKeywords. Instead, define DRL_END with newline or EOF

* - fix method name

* [DROOLS-7288] Failed to parse complex parentheses (#27)

* [DROOLS-7288] Failed to parse complex parentheses
- bump to 8.43.0.Final

* additional tests

* [DROOLS-7289] Implement accumulate (#28)

* [DROOLS-7296] Implement from entry-point (#30)

* [DROOLS-7297] Implement import accumulate (#29)

* [DROOLS-7290] Implement BigInteger literal, BigDecimal literal (#31)

* [DROOLS-7292] Implement eval (#32)

* [DROOLS-7293] Implement extends (#33)

* [DROOLS-7294] Implement forall (#34)

* [DROOLS-7298] Implement memberOf (#35)

* [DROOLS-7300] Implement positional constraint (#36)

* [DROOLS-7304] Implement temporal operators (#38)

- Also covers [DROOLS-7303] Implement sliding window

* [DROOLS-7301] Implement query (#37)

- Also partially fixes [DROOLS-7302] Implement semicolon delimiter

* [DROOLS-7295] Implement from collect (#39)

* [DROOLS-7305] Implement type declaration (#40)

- also covers [DROOLS-7291] Implement entry-point declaration
- also covers window declaration

* [DROOLS-7306] Implement unification (#41)

* [DROOLS-7306] Implement unification
- Also [DROOLS-7307] Parse attribute agenda-group

* [DROOLS-7308] Parse attribute without value
- Also [DROOLS-7309] Parse attribute with parentheses

* [DROOLS-7310] parse nested parentheses (#42)

* [DROOLS-7310] parse nested parentheses

* - Adding code commentes and explanations
- Adding more nested level tests

* [DROOLS-7577] drools-lsp : Add comments and explanations for drools-p… (#43)

* [DROOLS-7577] drools-lsp : Add comments and explanations for drools-parser

* removed syntax examples

* [DROOLS-7591] Experiment branch : migrate a new drools-lsp parser into drools (#44)

- Add some methods to call from drools code base

* Move necessary files without any additional modifications

* Update DRL6Expressions.g4 to ANTLR 4 (#47)

* Add DescrDumperTest and fix the expression parser grammar (#48)

* Add DescrDumperTest

* Fix it

* [DROOLS-7591] Experiment branch : migrate a new drools-lsp parser into drools
- New parser is migrated in drools-drl/drools-drl-parser with org.drools.drl10.parser package
- To enable the new parser, run `mvn test -PDRL10`
- At the moment, we get lots of test failures especially in drools-model/drools-model-codegen and drools-test-coverage/test-compiler-integration

* - License header
- Revert an inappropriate test edit
- Removed unnecessary profile
- Clarify unsupported methods
- Removed unnecessary bom dependency

---------

Co-authored-by: mariofusco <mario.fusco@gmail.com>
Co-authored-by: Gabriele Cardosi <gabriele.cardosi@gmail.com>
Co-authored-by: Livio Benčik <lbenc135@gmail.com>
Co-authored-by: livio <livio.bencik@mindsmiths.com>
Co-authored-by: Jiří Locker <jiri.locker@gmail.com>
rgdoliveira pushed a commit to rgdoliveira/drools that referenced this pull request Oct 24, 2024
apache#5682)

* add antlr4 based drl parser

* bump to drools 8.16.0.Beta

* improve node position discovery

* first c3 integration

* Module reorganization (apache#2)

* WIP

* Ignore directories

* Add debug. Minor modifications

* WIP

* Fix tests - add comments

* manage null ast nodes and fix failing test

* improve drl parser

* Fix basic completion (apache#4)

* Add Java grammar, fix DRL grammar, simplify token index calculation, remove template code

* Add ignored tokens to completion

Co-authored-by: livio <livio.bencik@mindsmiths.com>

* add constraints parsing

* - Added DRLParserWrapper to store errors using DRLErrorListener (apache#5)

- Added MiscDRLParserTest which is being ported from RuleParserTest to enhance coverage.

* Enhance test/grammar coverage. function import, global, exists, not (apache#6)

* Enhance test/grammar coverage. and, or, listExpression (apache#7)

* Enhance test/grammar coverage. matches, single quoted string, escape (apache#9)

- Introduced drlExpression, drlPrimary, drlLiteral, DRL_STRING_LITERAL

* Enhance test/grammar coverage. dialect, invalid lhs (apache#10)

* Enhance test/grammar coverage. keyword collision (apache#11)

- Add "DRL_" prefix for DRL keywords for clarification

* Enhance test/grammar coverage. function, attributes, consequence (apache#12)

* Enhance test/grammar coverage. function, attributes, consequence
- better getText preserving whitespaces
- resolving WARNs because of overlapping keywords

* - No need to declare duplicate keywords

* Enhance test/grammar coverage. OR, inline map (apache#13)

* OpenRewrite applied for junit5 and assertj (apache#14)

* Enhance test/grammar coverage. label, consequenceLocation, test refac… (apache#15)

* Enhance test/grammar coverage. label, consequenceLocation, test refactoring, assertj best practice

* - better test method names

* [DROOLS-7253] Review and improve drools-lsp parser Visitor design (apache#16)

* [DROOLS-7253] Review and improve drools-lsp parser Visitor design
- Remove currentConstructStack. Utilize return object instead.

* - Remove instance fields. Utilize return objects instead.

* [DROOLS-7270] Enhance test/grammar coverage : andRestriction, orRestriction (apache#4)

- Removed some unused cast

* [DROOLS-7271] Fully port RuleParserTest as MiscDRLParserTest with @disabled and priority comment (apache#10)

* [DROOLS-7285] Failed to parse and/or with parentheses in LHS (apache#15)

* [DROOLS-7286] Failed to parse binding with || (apache#21)

* [DROOLS-7287] Failed to parse comments in RHS (apache#23)

* [DROOLS-7287] Failed to parse comments in RHS

* - add rhs string check

* [DROOLS-7515] Parser : Accept plain text in RHS (apache#26)

* [DROOLS-7515] Parser : Accept plain text in RHS

* - Handle keyword token in RHS

* - Removed sysout

* - Revert statementKeywords. Instead, define DRL_END with newline or EOF

* - fix method name

* [DROOLS-7288] Failed to parse complex parentheses (apache#27)

* [DROOLS-7288] Failed to parse complex parentheses
- bump to 8.43.0.Final

* additional tests

* [DROOLS-7289] Implement accumulate (apache#28)

* [DROOLS-7296] Implement from entry-point (apache#30)

* [DROOLS-7297] Implement import accumulate (apache#29)

* [DROOLS-7290] Implement BigInteger literal, BigDecimal literal (apache#31)

* [DROOLS-7292] Implement eval (apache#32)

* [DROOLS-7293] Implement extends (apache#33)

* [DROOLS-7294] Implement forall (apache#34)

* [DROOLS-7298] Implement memberOf (apache#35)

* [DROOLS-7300] Implement positional constraint (apache#36)

* [DROOLS-7304] Implement temporal operators (apache#38)

- Also covers [DROOLS-7303] Implement sliding window

* [DROOLS-7301] Implement query (apache#37)

- Also partially fixes [DROOLS-7302] Implement semicolon delimiter

* [DROOLS-7295] Implement from collect (apache#39)

* [DROOLS-7305] Implement type declaration (apache#40)

- also covers [DROOLS-7291] Implement entry-point declaration
- also covers window declaration

* [DROOLS-7306] Implement unification (apache#41)

* [DROOLS-7306] Implement unification
- Also [DROOLS-7307] Parse attribute agenda-group

* [DROOLS-7308] Parse attribute without value
- Also [DROOLS-7309] Parse attribute with parentheses

* [DROOLS-7310] parse nested parentheses (apache#42)

* [DROOLS-7310] parse nested parentheses

* - Adding code commentes and explanations
- Adding more nested level tests

* [DROOLS-7577] drools-lsp : Add comments and explanations for drools-p… (apache#43)

* [DROOLS-7577] drools-lsp : Add comments and explanations for drools-parser

* removed syntax examples

* [DROOLS-7591] Experiment branch : migrate a new drools-lsp parser into drools (apache#44)

- Add some methods to call from drools code base

* Move necessary files without any additional modifications

* Update DRL6Expressions.g4 to ANTLR 4 (apache#47)

* Add DescrDumperTest and fix the expression parser grammar (apache#48)

* Add DescrDumperTest

* Fix it

* [DROOLS-7591] Experiment branch : migrate a new drools-lsp parser into drools
- New parser is migrated in drools-drl/drools-drl-parser with org.drools.drl10.parser package
- To enable the new parser, run `mvn test -PDRL10`
- At the moment, we get lots of test failures especially in drools-model/drools-model-codegen and drools-test-coverage/test-compiler-integration

* - License header
- Revert an inappropriate test edit
- Removed unnecessary profile
- Clarify unsupported methods
- Removed unnecessary bom dependency

---------

Co-authored-by: mariofusco <mario.fusco@gmail.com>
Co-authored-by: Gabriele Cardosi <gabriele.cardosi@gmail.com>
Co-authored-by: Livio Benčik <lbenc135@gmail.com>
Co-authored-by: livio <livio.bencik@mindsmiths.com>
Co-authored-by: Jiří Locker <jiri.locker@gmail.com>
rgdoliveira pushed a commit to rgdoliveira/drools that referenced this pull request Oct 24, 2024
mariofusco pushed a commit that referenced this pull request Nov 22, 2024
…JUnit5 - #6 (#6170)

* More tests migrated

* Migrated tests to Junit5

* Migrated module to JUnit5

* Migrated kie-ci module
rgdoliveira pushed a commit to rgdoliveira/drools that referenced this pull request Nov 25, 2024
…JUnit5 - apache#6 (apache#6170)

* More tests migrated

* Migrated tests to Junit5

* Migrated module to JUnit5

* Migrated kie-ci module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants