Fix bug to allow JSON arrays of events 06/70806/1
authorliamfallon <liam.fallon@ericsson.com>
Fri, 19 Oct 2018 11:03:35 +0000 (12:03 +0100)
committerliamfallon <liam.fallon@ericsson.com>
Fri, 19 Oct 2018 11:08:01 +0000 (12:08 +0100)
commit56858b0b356c62bd6fdea3486343d331bbc9567d
tree99a4c7e9a1f9cfc9d6b26f9735d3f5200f6e9ff4
parentd4e7632aa00b42c544406fe9d83621c50831fe8e
Fix bug to allow JSON arrays of events

Apex should allow JSON arrays of events to be processed, processing
the array of events as they come in. This review changes the Apex
JSON array handling to allow arrays of JSON events to be processed.
Arrays of events are required to perform Apex pewrformance tests.

Change-Id: I08ddc9659414bd076fbaa250182335d6f38473e6
Issue-ID: POLICY-812
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
services/services-engine/src/main/java/org/onap/policy/apex/service/engine/event/impl/jsonprotocolplugin/Apex2JsonEventConverter.java
services/services-engine/src/test/java/org/onap/policy/apex/service/engine/event/TestJsonEventConverter.java