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

Resolve properties bug in DroolsPDPIntegrityMonitor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Beijing Release
    • None
    • None

      If it is ever the case that the "http.server.services", "http.server.services.TEST.host" , "http.server.services.TEST.managed", or " "http.server.services.TEST.swagger" properties are not defined in "feature-state-management.properties" they are assigned default values in the DroolsPDPIntegrityMonitor class.

      However, in the case that default values are used, the values (and their respective keys) are not added to the stateManagementProperties object, which is later passed when instantiating the DroolsPDPIntegrityMonitor object.

      Fix was to simply check if null values were read from the properties file. If that is the case then default values are assigned and added to the properties object needed later.

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

              Created:
              Updated:
              Resolved: