Hi Chandra,

Referring to the AAI-Common code that processes the data:
https://gerrit.onap.org/r/gitweb?p=aai/aai-common.git;a=blob;f=aai-core/src/main/java/org/onap/aai/rest/db/HttpEntry.java;hb=HEAD

If you search for the lines containing "notification.createNotificationEvent", 
e.g. 
https://gerrit.onap.org/r/gitweb?p=aai/aai-common.git;a=blob;f=aai-core/src/main/java/org/onap/aai/rest/db/HttpEntry.java;hb=HEAD#l515

you can see that the details of the notification event are created after the 
database transaction has been completed and after it is logged as completed.

If you search for the lines containing "notification.triggerEvents", e.g.
https://gerrit.onap.org/r/gitweb?p=aai/aai-common.git;a=blob;f=aai-core/src/main/java/org/onap/aai/rest/db/HttpEntry.java;hb=HEAD#l715

you can see that the list of notification events is sent after all requests 
have been processed (including any retries).

That trigger can be traced through to the method called "sendToDmaapJmsQueue", 
i.e.
https://gerrit.onap.org/r/gitweb?p=aai/aai-common.git;a=blob;f=aai-core/src/main/java/org/onap/aai/util/StoreNotificationEvent.java;hb=HEAD#l305

which then sends it onwards through a JMS queue.

The JMS queue events are then consumed and the data is POST'd to the DMaaP 
endpoint, i.e.
https://gerrit.onap.org/r/gitweb?p=aai/aai-common.git;a=blob;f=aai-core/src/main/java/org/onap/aai/dmaap/AAIDmaapEventJMSConsumer.java;hb=HEAD


Keong

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#18346): https://lists.onap.org/g/onap-discuss/message/18346
Mute This Topic: https://lists.onap.org/mt/32651336/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to