Remove event context from Operation post processor 52/111352/1
authorJim Hahn <jrh3@att.com>
Mon, 17 Aug 2020 22:45:58 +0000 (18:45 -0400)
committerJim Hahn <jrh3@att.com>
Mon, 17 Aug 2020 22:48:11 +0000 (18:48 -0400)
commit2c789f6a45f50da129d05ff3ea20acd9f45774d0
treecc4d10e4e8d6a91d6ba0d0a26f8eb411dcd234c7
parentf5eeaaeaeadf04571d8881f497c770ee1bbbdde5
Remove event context from Operation post processor

Some operations, notably A&AI, post-process data by putting it into the
event context.  However, with the new strategy, the event context may
not be populated.  Modified the code to see if the context exists before
putting the data into it.

Issue-ID: POLICY-2746
Change-Id: Ie3b1bd13b4ac5ee59629daaebc05a62e6ef3c804
Signed-off-by: Jim Hahn <jrh3@att.com>
models-interactions/model-actors/actor.aai/src/main/java/org/onap/policy/controlloop/actor/aai/AaiCustomQueryOperation.java
models-interactions/model-actors/actor.aai/src/main/java/org/onap/policy/controlloop/actor/aai/AaiGetOperation.java