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

Improve error handling of drools-pdp when requestID in onset is not valid UUID

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Low
    • Resolution: Done
    • None
    • Istanbul Release
    • None

    Description

      As a ONAP developer, I would like to improve the error handling of drools-pdp when requestID in the incoming ONSET event is not a valid UUID.

      Currently the PDP engine is logging an error in error.log but it is very hard to determine what went wrong. The sample error message is pasted below:

      [2020-08-05T16:21:57.803+00:00|WARN|GsonProtocolCoderToolset|DMAAP-source-DCAE_TOPIC] GsonProtocolCoderToolset [toString()=ProtocolCoderToolset [topic=DCAE_TOPIC, controllerId=org.onap.policy.drools-applications.controlloop.common:controller-frankfurt:DCAE_TOPIC, groupId=org.onap.policy.drools-applications.controlloop.common, artifactId=controller-frankfurt, coders=[CoderFilters [factClass=org.onap.policy.controlloop.CanonicalOnset, filter=org.onap.policy.drools.protocol.coders.JsonProtocolFilter@16c9e378, modelClassLoaderHash=929323597], CoderFilters [factClass=org.onap.policy.controlloop.CanonicalAbated, filter=org.onap.policy.drools.protocol.coders.JsonProtocolFilter@1382a7d8, modelClassLoaderHash=929323597]], customCoder=CustomGsonCoder [toString()=CustomCoder [className=org.onap.policy.controlloop.util.Serialization, staticCoderField=gson]]]]: cannot fetch application class org.onap.policy.controlloop.CanonicalOnset
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jrh3 Jim Hahn
              ramverma Ram Krishna Verma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: