Hello everyone.
I have found some questions answered but there was so many deprecated stuff. We have on-premise
Apigee and we still have Node.js App as a proxy type. We will be querying the DB using apigee and run stored procedures.
Thank you.
Best regards
Saud
We can make use of Hosted Targets to make calls to SQL server.
I do not have a sample but, I guess you can google and check how to connect with Sql server using Nodejs and the same can be used in Apigee as well.
https://docs.apigee.com/api-platform/hosted-targets/hosted-targets-overview
I have created one and it works in my local machine. How do I wrap it and use it in the proxy? Do I need to download the modules?
Please check this,
Follow the steps shown here and create a Hosted Target proxy in Apigee.
My server doesn't have internet access. How can I tell nodejs to use local modules that I have downloaded.
Wat. No. You cannot use Apigee with a server that has no internet access.
Maybe I’m wrong but I think it has connection to the router and the router. Sends requests to it. So the server itself doesn’t have direct connection to the internet. I mostly work on the development side. So I’m not sure. I saw one proxy on the internet that has modules zipped in the same folder as the nodejs files. Is that ok? Is thier a size limit on the proxy?
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |