Solved! Go to Solution.
Its v0.10 - we use trireme 0.8.5
There might be an easy way to do it but currently you can include the below code in your node js proxy on edge to get the node js version.
var http = require('http'); console.log('node.js application starting...'); var svr = http.createServer(function(req, resp) { resp.end(process.version); }); svr.listen(9000, function() { console.log('Node HTTP server is listening'); });
The node js version would come in the response.
Sample call tried:
$ curl -v "http://gsc-test.apigee.net/v1/nodeversion" * Hostname was NOT found in DNS cache * Trying 107.21.56.96... * Connected to gsc-test.apigee.net (107.21.56.96) port 80 (#0) > GET /v1/nodeversion HTTP/1.1 > User-Agent: curl/7.37.1 > Host: gsc-test.apigee.net > Accept: */* > < HTTP/1.1 200 OK < Date: Wed, 22 04 2015 09:36:27 GMT < Content-Length: 8 < Connection: keep-alive < * Connection #0 to host gsc-test.apigee.net left intact v0.10.32
Its v0.10 - we use trireme 0.8.5
There might be an easy way to do it but currently you can include the below code in your node js proxy on edge to get the node js version.
var http = require('http'); console.log('node.js application starting...'); var svr = http.createServer(function(req, resp) { resp.end(process.version); }); svr.listen(9000, function() { console.log('Node HTTP server is listening'); });
The node js version would come in the response.
Sample call tried:
$ curl -v "http://gsc-test.apigee.net/v1/nodeversion" * Hostname was NOT found in DNS cache * Trying 107.21.56.96... * Connected to gsc-test.apigee.net (107.21.56.96) port 80 (#0) > GET /v1/nodeversion HTTP/1.1 > User-Agent: curl/7.37.1 > Host: gsc-test.apigee.net > Accept: */* > < HTTP/1.1 200 OK < Date: Wed, 22 04 2015 09:36:27 GMT < Content-Length: 8 < Connection: keep-alive < * Connection #0 to host gsc-test.apigee.net left intact v0.10.32