-
Bug
-
Resolution: Done
-
High
-
Dublin Release
-
Currently only https is allowed from SDNC context aggregator to SDNC as the protocol properties value for "sdnc.httpProtocol" is used for both AAI and SDNC communication.
But in the ONAP deployment, AAI must be https, SDNC must be http.
The following log prints continuously if the topic is not found on Context Aggregator starts up. This log is from MRConsumerImpl (a component context aggregator depended on).
org.json.JSONException: JSONObject["result"] not found.
at org.json.JSONObject.get(JSONObject.java:473) ~[json-20140107.jar:na]
at org.json.JSONObject.getJSONArray(JSONObject.java:555) ~[json-20140107.jar:na]
at com.att.nsa.mr.client.impl.MRConsumerImpl.fetch(MRConsumerImpl.java:208) [dmaapClient-1.1.5.jar:na]
at com.att.nsa.mr.client.impl.MRConsumerImpl.fetch(MRConsumerImpl.java:100) [dmaapClient-1.1.5.jar:na]
at org.onap.pomba.contextaggregator.service.ContextAggregatorProcessor.call(ContextAggregatorProcessor.java:121) [classes/:na]
at org.onap.pomba.contextaggregator.service.ContextAggregatorProcessor.call(ContextAggregatorProcessor.java:1) [classes/:na]
at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_151]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_151]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_151]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_151]
It's confirmed that via health check the service is up and as soon as an event is added to this topic, this error goes away. However, this first event doesn't get processed by context aggregator.