Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1087

Avoid to read input entities if no notification or audit are requested

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.11, 2.0.4, 2.1.0
    • Component/s: core
    • Labels:
      None

      Description

      The LogicInvocationHandler is an aspect triggered around any Logic method execution.

      As very first step before proceeding with actual invocation, it blindly invokes the resolveBeanReference() method implemented by all Logic classes, that often involves in turn to read the entity matching the provided input from the internal storage.

      Such read should instead be performed only if there is (a) at least one notification defined or (b) audit requested for the current invocation.

        Attachments

          Activity

            People

            • Assignee:
              ilgrosso Francesco Chicchiriccò
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: