I am using Node-RED and want to parse in Bluemix VCAP_SERVICES
but I am getting an error. My code is:
var services = context.global.VCAP_SERVICES;
var env_cloudint = services['CloudIntegration'][0].credentials;
but I get this error :
TypeError: Cannot read property 'CloudIntegration' of undefined
I do have CloudIntegration in my VCAP_SERVICES
. Do I need anything extra in my code to exploit VCAP_SERVICES
?