Uploaded image for project: 'HERAS-AF XACML Core'
  1. XACMLCORE-218

Performance-Optimize FunctionProcessingException

    Details

    • Type: New Feature
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: None
    • Fix versions: 1.1.0.RELEASE
    • Components: None
    • Labels:
      None
    • Number of Attachments:
      0
    • Number of Comments:
      6
    • Sprint:

      Description

      In the evaluation of functions an error is singalized by a FunctionProcessingException. This means if an error occurs a FunctionProcessingException is thrown that traverses the whole stacktrace up to the place where it is caught and and INDETERMINADTE is returned.
      The problem is that this exception fills in the stracktrace (fillInStacktrace) and that is an expensive operation.

      Implementation hint
      Change the fillInStacktrace method so that it does nothing by default. Add a possibility (e.g. through an Initializer) to enable the fillInStacktrace, e.g. for debugging purposes.
      It can be thoguht of that the PDP can be put into DEV_MODE.
      Additionaly in the functions a "logger.debug"-should be added to print the exception when an error occurs.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: