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

ansible-rulebook : Raise an error when a condition compares incompatible types

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Ansible Integration
    • None

      When a condition comparison hits type mismatch, log an error.

      For example,

      condition: event.meta.headers == "Hello Testing World"
      

      we cannot be aware if this is type mismatch until an event comes in.

      If an event comes in and event.meta.headers is a Map, not a String, raise an error.

      Note: Log an error only once per condition in order to avoid "flood the logs".

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: