Skip to content

Fix ruleset filtering to only include rulesets with tools.enabled=true #2

@lgrateau

Description

@lgrateau

Issue Description

Currently, the extract_highest_version_rulesets method in DecisionServerManager.py is only checking for the existence of the tools.enabled property, but not verifying that its value is specifically set to "true".

Current Behavior

Rulesets are included if they have the tools.enabled property, regardless of its value.

Expected Behavior

Only rulesets with tools.enabled set to "true" (case-insensitive) should be included.

Solution

Update the filter condition in extract_highest_version_rulesets to check that tools.enabled equals "true" (case-insensitive).

Additional Context

This fix ensures proper filtering of decision services that should be exposed as tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions