Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-2587

CLC target locking behavior needs to be by-passed for CLC to be effective

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Medium Medium
    • Jakarta Release
    • None
    • None
    • None

      Default policy behavior is that a target is locked by an initial ONSET event. As a policy designer, I need to be able to configure/parameterize this target locking behavior. There are various options implement this:

      • set by a parameter (not desirable)
      • different rules (currently not implemented via rules)
      • enhancing the policy type to be able to specify target locking behavior — proposed solution
        NOTE: Drools-PDP shares state with instances of itself to support geo-redundancy and thus target locking is managed between multiple instances.

      add the following to the common Operational Policy Type (proposed);
                  locking:

                      type: string

                      description: Specify whether target locking is done or not

                      required: true

                      default: true

                  lockingStrategy:

                      type: string

                      description: Configure which locking strategy

                      required: false

                      default: simple

                      constraints:

                          - valid_values: ["simple", "clc-strategy", "my-custom-foo"]

      The lockingStrategy should allow policy designers to specify the target locking behavior according to the needs of the usecase:

      • “simple” strategy: This is supposed to be the default strategy where the current target locking implementation is enforced.
      • “clc-strategy”: This strategy must be chosen when standard target locking is bypassed, and the target conflicts are handled at the CLC policy level.
      • xacml/guard: This strategy makes a request to xacml to perform the check

       

            Unassigned Unassigned
            pdragosh pdragosh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: