Re: CF environmental variables - org is missing


Nicholas Calugar
 

Hi Vinod,

We are actually intending to deprecate VCAP_APPLICATION in favor of CF_
environment variables in the near future:

https://www.pivotaltracker.com/story/show/126180869


Thanks,

Nick

--
Nicholas Calugar

On October 13, 2016 at 8:20:21 AM, Vinod Singh (vinoddandy(a)gmail.com) wrote:

Friends,

I am working to retrieve org/space/application-name in CF via System
provided environmental variables.
Unfortunately I could not "org" in list. Is it not a good idea to include
"org" also in System Provided list ?

cf env <appname>

System-Provided:


{
"VCAP_APPLICATION": {
"application_id": "74b3e1a6-ba9f-4dcb-9ae3-e68e1dbfa417",
"application_name": "mylogapp",
"application_uris": [
"xxxx.xxxx.xxx"
],
"application_version": "e43c2d12-cd8e-46d3-9298-ce0905651c0e",
"limits": {
"disk": 1024,
"fds": 16384,
"mem": 128
},
"name": "mylogapp",
"space_id": "4d942c57-e41e-43e2-ba3a-0665ceaa976b",
"space_name": "demo2",
"uris": [
"xxxxx.xxxxx.xxxxx"
],
"users": null,
"version": "e43c2d12-cd8e-46d3-9298-ce0905651c0e"
}
}


Regards,
Vinod

Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.