Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1259

Kie Scanner is not reading updated Rules when the rule file has aggregate functions like collect, accumulate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 6.2.0.Final
    • core engine
    • Hide

      List of steps involved -

      • I updated Rule in workbench, Build and Deployed.
      • My local maven repository is updated with the Latest rule
      • I had configured my kieScanner to run every 1 min to look for the artifact changes.
      • Kie scanner executes and updated the Artifact. I could see in the console that Kie Scanner has updated the following artifact.
      • But it is not invoking the rules which has collect / accumulate functions in my DRL file
      • I tried to execute the scanner with simple DRL file which does not have any of these functions. Kie scanner gets executed and could see response of updated DRL file.
      Show
      List of steps involved - I updated Rule in workbench, Build and Deployed. My local maven repository is updated with the Latest rule I had configured my kieScanner to run every 1 min to look for the artifact changes. Kie scanner executes and updated the Artifact. I could see in the console that Kie Scanner has updated the following artifact. But it is not invoking the rules which has collect / accumulate functions in my DRL file I tried to execute the scanner with simple DRL file which does not have any of these functions. Kie scanner gets executed and could see response of updated DRL file.
    • Compatibility/Configuration
    • High
    • NEW
    • NEW

      I'm trying to implement Kie Scanner in my Maven based REST API which invokes Drools Rule engine. Kie scanner works fine when Aggregate functions are not used in the DRL file. But it is not invoking the Rules, when collect / accumulate function is involved in the DRL.

      I had configured Kie scanner in my applicationContext. That is referred from the forum link shared in the Forum reference tab.

      Please let me know if there is a similar issue already reported or If it is new Please reply back with your comments

            mfusco@redhat.com Mario Fusco
            kavisrikk_jira Kavi sri (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: