Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Case for Notification Triggering and Bot Conversation in Inbound #80

Open
8 tasks
Tracked by #78
pankajjangid05 opened this issue Jul 5, 2023 · 2 comments
Open
8 tasks
Tracked by #78
Assignees

Comments

@pankajjangid05
Copy link
Contributor

pankajjangid05 commented Jul 5, 2023

Notification Triggering

  • Messages consumed and converted (parser: XMessageParser.parse).
  • Get Bot Node from Id from UCI API (Method: getBotNodeFromId(String botId)).
  • Convert XMessage to Dao to insert in Cassandra.
  • Cassandra XMessageDao insertion.
  • XMessage pushed to Kafka properly.

Bot Conversation

  • Convert Message String to XMessage (Method: convertMessageToXMsg in PwaWebPortalAdapter Class)
  • Fetch Bot Data according to bot startingMessage, from and app (Method : fetchBotData(String text, SenderReceiverInfo from, String botId))
  • Getting Bot Details by botId (Method: getBotNodeFromId)
@pankajjangid05
Copy link
Contributor Author

A test case for the inbound end-to-end flow involves receiving a request at the inbound endpoint (/pwa/web), generating an xmessage, and transmitting it to a Kafka topic. This test case aids in determining the functionality of this flow.

@geeky-abhishek
Copy link

@pankajjangid05 to connect with @chinmoy12c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants