on 01-07-2020 10:49 PM
Hi Gurus,
Is it possible to deploy NodeJS application created for SAP CAI and run bot. This NodeJS application will connect to backend gateway service through cloud connector.
OR
We must to have Cloud Foundry subscription or Cloud Foundry Add-on package to be able to use NodeJS.
Please guide...
Thanks-
Abhishek
Hi Abhishek,
the Node.js application can be hosted anywhere (as long as it's accessible from the internet). When using the SAP Cloud Connector, it can be either SAP Cloud Platform Cloud Foundry or SAP Cloud Platform Neo.
Please also be aware that you can now directly make API service calls to an on-premise system via the Cloud Connector from SAP Conversational AI (when using the new Web Client) by referencing the destination in the URL field of an API service configuration. This is the recommended approach when aiming for end-user SSO. In this case you do need the subaccount on SAP Cloud Platform Cloud Foundry and the subscription to SAP Conversational AI.
Documentation:
https://help.sap.com/viewer/a4522a393d2b4643812b7caadfe90c18/1911/en-US/31f328484e0f40f98d12a507e6f7...
Regards
Jonas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks jonas.brand for guidance... The current scenario is we have CAI bot created, we also have NodeJS application acting as middleware between CAI and NW Gateway System and calls gateway service. Once we get response from service we convert JSON to CAI readable format and sent to CAI.
This scenario is done using trial Cloud Foundry account. We haven't found any blog or documentation where Neo Environment is used instead of Cloud Foundry...
So my question is can we implement exactly same scenario using Neo environment just by deploying NodeJs to Neo and doing configuration Connectivity, Destination and Trust Management ?
Looking for NodeJS specifically because there we have more control on how to convert JSON data sent to CAI, while using API call not sure if this flexibility is available.
Please guide.
Thanks-
Abhishek
abhi.sharma05 Please have a look at this blog
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sudip.ghosh4
I am getting Error posted on below question.
https://answers.sap.com/questions/12932532/sap-cai-chatbot-timeout.html
I am also seeing other also facing same error related to Proxy.
I am following both questions you may guide us there...
May you please help on this ?
Thanks-
Abhishek
Hello Abhishek,
There are two way, first one use odata provisioning service in NEO environment to expose your odata service in internet, so that it can be called from anywhere like AWS, GCP, Cloudfoundy, even someone else's postman or rest client.. Have a look at the step by step link
Second option you can use cloud connector in cloud foundry and use destination service to call it from node.js application
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudip, thanks so much for your guidance. I am using second option currently but always getting timeout error when node app try to call backend gw service. I have posted question url is below.
https://answers.sap.com/questions/12943371/sap-conversational-ai-chatbot-timeout-when-connect.html
I have tagged you as well when I posted that question... looking for your expert guidance to make it work please help..
thanks-
Abhishek
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.